
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    min-height: 100vh;
    padding-top: 88px; /* Hauteur de la navbar fixed */
}

/* ===================================
   NAVBAR - Design from Fichier 1
   =================================== */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.logo a span,
.nav-brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.9375rem;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-links a:hover {
    color: #dc3545;
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #dc3545;
    font-weight: 600;
    border-bottom-color: #dc3545;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===================================
   HERO SECTION - Adapted with Fichier 1 design
   =================================== */
.hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #b0c4f7 0%, #46b3cb 100%);
    color: white;
}

.hero-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.hero .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ===================================
   MAIN CONTENT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===================================
   SECTIONS GRID - Redesigned with Fichier 1 style
   =================================== */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.section {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}


.section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #6b7280;
    font-size: 1rem;
}

.section em {
    font-style: normal;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #374151;
    display: block;
    margin: 1rem 0;
}

.section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.section .btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===================================
   FOOTER - Design from Fichier 1
   =================================== */
.footer {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-column h4 img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.footer-column p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9375rem;
}

.footer-column a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE - Mobile & Tablet
   =================================== */
@media (max-width: 1169px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #fff;
        display: none;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        display: block;
        width: 100%;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-links a:hover {
        background-color: #fff5f5;
        color: #dc3545;
    }

    .nav-links a.active {
        background-color: #fee;
        border-left-color: #dc3545;
        color: #dc3545;
        font-weight: 600;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .sections-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 76px; /* Navbar plus petite sur mobile */
    }

    .navbar {
        padding: 1rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .section {
        padding: 1.5rem;
    }

    .footer {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 68px; /* Navbar encore plus petite sur petit mobile */
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .logo a span {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h4 {
        justify-content: center;
    }
}




   @media (max-width: 1169px) {

    /* Conteneur principal du menu mobile */
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(8px);
      display: none;
      gap: 0;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
      border-top: 1px solid #e5e7eb;
      transform-origin: top center;
      transform: scaleY(0);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
  
    /* Apparition animée */
    .nav-links.active {
      display: flex;
      transform: scaleY(1);
      opacity: 1;
    }
  
    /* Chaque lien du menu */
    .nav-links li {
      border-bottom: 1px solid #e5e7eb;
      width: 100%;
      text-align: center;
    }
  
    .nav-links a {
      display: block;
      padding: 1.1rem 1.5rem;
      color: #1f2937;
      font-size: 1.05rem;
      font-weight: 500;
      position: relative;
      text-transform: capitalize;
      letter-spacing: 0.02em;
      transition: all 0.25s ease;
    }
  
    .nav-links a:hover {
      background-color: #fff4f4;
      color: #dc3545;
      transform: scale(1.05);
    }
  
    .nav-links a.active {
      background: #fff1f2;
      color: #dc3545;
      font-weight: 600;
    }
  
    /* Animation des barres du hamburger */
    .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      transition: all 0.3s ease;
      background: rgba(220, 53, 69, 0.05);
      position: relative;
    }
  
    .hamburger:hover {
      background: rgba(220, 53, 69, 0.1);
    }
  
    .hamburger span {
      width: 26px;
      height: 3px;
      background: #1f2937;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
  
    /* Animation X */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }
  

    .navbar.active {
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }
  
    body.menu-open {
      overflow: hidden;
    }
    body.menu-open::after {
      content: "";
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(2px);
      z-index: 900;
    }
  }
  
.nav-links {
    gap: 1.2rem; 
  }
  
  
  .nav-links a {
    font-size: 0.9rem; 
    padding: 0.4rem 0.6rem; 
  }
  
  .logo img {
    width: 40px;
    height: 40px;
  }
  
  @media (min-width: 1400px) {
    .nav-container {
      max-width: 1100px;
    }
  }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.1rem; 
}
  