@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Playwrite+DE+SAS:wght@100..400&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&display=swap');


* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    button, a { cursor: pointer; }

    :root {
      --primary-deepblue: #0B3B4F;
      --primary-teal: #2C7A6E;
      --primary-sand: #D9B382;
      --light-bg: #F4F6F2;
      --card-bg: #FFFFFF;
      --text-dark: #1F2E2A;
      --text-light: #5A6E66;
      --gold-light: #EFD6AC;
      --shadow-sm: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
      --shadow-md: 0 25px 40px -18px rgba(0, 0, 0, 0.15);
      --shadow-lg: 0 35px 50px -20px rgba(0, 0, 0, 0.3);
    }

    body {
      background-color: var(--light-bg);
      color: var(--text-dark);
      line-height: 1.5;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #D9D2C5; border-radius: 10px; }
    ::-webkit-scrollbar-thumb { background: var(--primary-teal); border-radius: 10px; }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    /* ========== NAVBAR MODERN ========== */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      position: sticky;
      top: 20px;
      z-index: 1000;
      background: rgba(255, 252, 245, 0.96);
      backdrop-filter: blur(18px);
      border-radius: 80px;
      margin: 16px auto 0;
      padding: 8px 36px;
      box-shadow: var(--shadow-sm), 0 0 0 1px rgba(44, 122, 110, 0.2);
      width: calc(100% - 40px);
      max-width: 1300px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .logo img {
      height: 44px;
      width: 44px;
      border-radius: 30px;
      object-fit: cover;
      background: var(--primary-deepblue);
    }
    .logo span {
      font-size: 1.6rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary-deepblue), var(--primary-teal));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: var(--primary-deepblue);
      transition: transform 0.2s;
    }
    .menu-toggle:hover { transform: scale(1.05); }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
    }
    .nav-links li { position: relative; }
    .nav-links a {
      text-decoration: none;
      font-weight: 600;
      color: #2F4238;
      transition: 0.25s;
      font-size: 0.95rem;
      padding: 8px 0;
      display: inline-block;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0px;
      left: 0;
      width: 0;
      height: 2.5px;
      background: var(--primary-teal);
      transition: 0.3s;
    }
    .nav-links a:hover::after { width: 100%; }
    .nav-links a:hover { color: var(--primary-teal); }

    .dropdown {
      position: relative;
    }
    .dropdown > a {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .dropdown > a i {
      font-size: 0.75rem;
      transition: transform 0.3s ease;
    }
    .dropdown:hover > a i {
      transform: rotate(180deg);
    }
    .dropdown-menu {
      position: absolute;
      top: calc(100% + 12px);
      left: 0;
      background: rgba(255, 252, 245, 0.98);
      backdrop-filter: blur(16px);
      min-width: 240px;
      border-radius: 28px;
      padding: 12px 0;
      box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(44, 122, 110, 0.15);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      z-index: 100;
      list-style: none;
    }
    .dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .dropdown-menu a {
      display: block;
      padding: 12px 24px;
      text-decoration: none;
      color: #2F4238;
      font-weight: 500;
      font-size: 0.9rem;
      transition: all 0.2s;
    }
    .dropdown-menu a:hover {
      background: rgba(44, 122, 110, 0.12);
      color: var(--primary-teal);
      padding-left: 30px;
    }
    .dropdown-menu a i {
      width: 24px;
      margin-right: 8px;
      color: var(--primary-teal);
    }

    /* HERO */
    .hero {
      position: relative;
      min-height: 85vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px 24px 140px;
      background: linear-gradient(135deg, rgba(5, 25, 28, 0.75), rgba(0, 20, 25, 0.85)), url('../Follio/Img/Nosybe/MO4.jpg');
      background-size: cover;
      background-position: center 40%;
      margin-bottom: 40px;
      border-radius: 0 0 90px 90px;
    }
    .hero-badge {
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(10px);
      padding: 8px 32px;
      border-radius: 60px;
      color: #FFE8CF;
      letter-spacing: 5px;
      font-size: 0.8rem;
      font-weight: 700;
      margin-bottom: 32px;
      border: 1px solid rgba(217, 179, 130, 0.6);
    }
    .hero h1 {
      font-size: 5rem;
      font-weight: 800;
      color: white;
      text-shadow: 0 20px 30px rgba(0,0,0,0.5);
    }
    .hero h1 span {
      color: var(--primary-sand);
      font-style: italic;
    }
    .hero p {
      max-width: 720px;
      margin-top: 28px;
      font-size: 1.2rem;
      background: rgba(0,0,0,0.45);
      backdrop-filter: blur(8px);
      padding: 14px 32px;
      border-radius: 80px;
      color: #FFF3E2;
    }
    @keyframes fadeUp {
      0% { opacity: 0; transform: translateY(30px);}
      100% { opacity: 1; transform: translateY(0);}
    }
    .hero h1, .hero p, .hero-badge { animation: fadeUp 0.9s ease; }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      text-align: center;
      margin-bottom: 20px;
      color: var(--primary-deepblue);
    }
    .section-title span {
      background: linear-gradient(135deg, var(--primary-teal), var(--primary-sand));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .section-subtitle {
      text-align: center;
      font-size: 1.2rem;
      color: var(--text-light);
      margin-bottom: 56px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    /* CARDS */
    .courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 40px;
      margin-bottom: 70px;
    }
    .course-card {
      background: var(--card-bg);
      border-radius: 48px;
      overflow: hidden;
      box-shadow: var(--shadow-md);
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      border: 1px solid rgba(44,122,110,0.15);
      cursor: pointer;
    }
    .course-card:hover {
      transform: translateY(-12px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-teal);
    }
    .course-img {
      height: 260px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .course-badge {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--primary-teal);
      padding: 6px 18px;
      border-radius: 40px;
      font-size: 0.75rem;
      font-weight: 700;
      color: white;
      backdrop-filter: blur(4px);
    }
    .course-content { padding: 28px 28px 32px; }
    .course-content h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      color: var(--primary-deepblue);
      margin-bottom: 12px;
    }
    .course-description {
      color: #4A5E55;
      margin: 16px 0;
      line-height: 1.5;
    }
    .btn-book {
      background: var(--primary-teal);
      border: none;
      padding: 14px 28px;
      border-radius: 60px;
      font-weight: 700;
      color: white;
      cursor: pointer;
      width: 100%;
      transition: all 0.25s ease;
      font-size: 0.95rem;
    }
    .btn-book:hover { background: #1F5E54; transform: translateY(-2px); }

    /* MODALE */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      backdrop-filter: blur(8px);
      z-index: 2000;
      justify-content: center;
      align-items: center;
    }
    .modal.active { display: flex; }
    .modal-content {
      background: white;
      max-width: 700px;
      width: 90%;
      max-height: 85vh;
      overflow-y: auto;
      border-radius: 48px;
      padding: 40px;
      position: relative;
      animation: fadeUp 0.3s ease;
    }
    .modal-close {
      position: absolute;
      top: 24px;
      right: 28px;
      font-size: 28px;
      cursor: pointer;
      color: var(--primary-teal);
      transition: 0.2s;
    }
    .modal-close:hover { transform: scale(1.1); }
    .modal-content h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      color: var(--primary-deepblue);
      margin-bottom: 20px;
    }
    .modal-content h3 {
      margin: 20px 0 10px;
      color: var(--primary-teal);
    }
    .modal-content ul {
      padding-left: 24px;
      margin: 12px 0;
    }
    .modal-content li { margin: 6px 0; }
    .modal-book-btn {
      background: var(--primary-sand);
      border: none;
      padding: 14px 24px;
      border-radius: 60px;
      font-weight: 800;
      cursor: pointer;
      margin-top: 24px;
      width: 100%;
      font-size: 1rem;
      transition: 0.2s;
    }
    .modal-book-btn:hover { background: #EBC18A; transform: translateY(-2px); }

    /* FORMULAIRE */
    .booking-form-section {
      background: linear-gradient(125deg, #0C3C3A, #06241F);
      border-radius: 64px;
      padding: 56px;
      margin: 50px 0;
      color: white;
      box-shadow: 0 30px 45px -15px rgba(0,0,0,0.3);
    }
    .booking-form-section h2 i { margin-right: 12px; color: var(--gold-light); }
    .booking-form-section h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem;
      color: var(--gold-light);
    }
    .booking-form-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin: 24px 0 20px;
    }
    .form-group { flex: 1; min-width: 200px; }
    .form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.85rem; }
    .form-group input, .form-group select {
      width: 100%;
      padding: 14px 20px;
      border-radius: 60px;
      border: none;
      background: #FEF8F0;
      font-family: inherit;
    }
    .booking-btn {
      background: var(--primary-sand);
      border: none;
      padding: 16px 32px;
      border-radius: 60px;
      font-weight: 800;
      cursor: pointer;
      color: #0A2E28;
      width: 100%;
      transition: 0.3s;
      font-size: 1rem;
    }
    .booking-btn:hover { background: #EBC18A; transform: translateY(-2px); }
    .booking-feedback { margin-top: 20px; text-align: center; font-weight: 500; }

    /* ÉCOSYSTÈMES */
    .ecosystem-section {
      background: linear-gradient(145deg, #F0EEE7, #EAE7DE);
      border-radius: 64px;
      padding: 70px 48px;
      margin: 40px 0;
    }
    .ecosystem-grid {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 30px;
    }
    .eco-card {
      background: white;
      padding: 28px;
      border-radius: 48px;
      display: flex;
      gap: 20px;
      align-items: center;
      transition: all 0.3s;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .eco-card:hover { transform: translateX(8px); background: #fff; box-shadow: 0 15px 30px -12px rgba(0,0,0,0.15); }
    .eco-card i { font-size: 48px; color: var(--primary-teal); }
    .eco-card h3 { color: var(--primary-deepblue); margin-bottom: 8px; }

    /* SLIDER local images */
    .fullscreen-slider {
      width: 100%;
      height: 60vh;
      position: relative;
      overflow: hidden;
      margin: 40px 0;
      border-radius: 60px;
      box-shadow: 0 30px 40px -15px rgba(0,0,0,0.3);
    }
    .slides { width:100%; height:100%; position: relative; }
    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
    }
    .slide.active { opacity: 1; }

    /* TÉMOIGNAGES */
    .testimonials {
      background: #E2DDD0;
      border-radius: 64px;
      padding: 70px 56px;
      margin: 60px 0;
    }
    .testimonial-grid {
      display: flex;
      gap: 35px;
      flex-wrap: wrap;
    }
    .testi-item {
      background: white;
      padding: 38px;
      border-radius: 48px;
      flex:1;
      border-left: 6px solid var(--primary-teal);
    }
    .testi-item i { color: var(--primary-teal); font-size: 1.8rem; margin-bottom: 16px; display: block; }

    /* FAQ */
    .faq-section { padding: 50px 0 70px; }
    .faq-item {
      background: white;
      border-radius: 40px;
      margin-bottom: 20px;
      padding: 24px 32px;
      cursor: pointer;
      border:1px solid #DCD5C5;
    }
    .faq-question {
      font-weight: 800;
      display: flex;
      justify-content: space-between;
      color: var(--primary-deepblue);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: 0.4s ease;
      color: #4a5e55;
    }
    .faq-item.active .faq-answer {
      max-height: 120px;
      margin-top: 20px;
    }
    .faq-item.active .faq-question i { transform: rotate(180deg); }

    /* FOOTER */
    footer {
      background: #0B2D28;
      color: #EDE3D4;
      margin-top: 80px;
      border-radius: 70px 70px 0 0;
      padding: 60px 56px 40px;
    }
    .footer-grid {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 45px;
      border-bottom: 1px solid #2A544A;
      padding-bottom: 50px;
    }
    .footer-brand h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      color: var(--gold-light);
    }
    .contact-details p { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
    .social-icons a {
      color: #F3E5D2;
      font-size: 1.8rem;
      margin-right: 24px;
      display: inline-block;
      transition: 0.2s;
    }
    .social-icons a:hover { color: var(--primary-sand); transform: translateY(-4px); }
    .newsletter-btn {
      background: var(--primary-sand);
      border: none;
      padding: 12px 20px;
      border-radius: 60px;
      font-weight: bold;
      cursor: pointer;
    }
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: var(--primary-teal);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      border: none;
      z-index: 999;
    }
    .back-to-top.show { opacity: 1; visibility: visible; }
    .back-to-top:hover { background: var(--primary-deepblue); transform: translateY(-3px); }

    @media (max-width: 950px) {
      .menu-toggle { display: block; }
      .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(255,252,245,0.98);
        border-radius: 32px;
        padding: 20px;
        margin-top: 16px;
        gap: 1rem;
      }
      .nav-links.active { display: flex; }
      .navbar { flex-direction: column; padding: 16px 24px; }
      .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(240, 240, 235, 0.96);
        display: none;
        width: 100%;
        margin-top: 8px;
        border-radius: 24px;
      }
      .dropdown.active .dropdown-menu { display: block; }
      .hero h1 { font-size: 3rem; }
      .ecosystem-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .hero h1 { font-size: 2.2rem; }
      .section-title { font-size: 2rem; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; }
      .fullscreen-slider { height: 40vh; }
      .container { padding: 0 20px; }
      .booking-form-section { padding: 32px; }
    }