@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=SUSE+Mono:ital,wght@0,100..800;1,100..800&display=swap');

/* Variables de couleur basées sur le logo */
:root {
  --primary-blue: #0066cc;
  --secondary-blue: #003366;
  --accent-orange: #ff6600;
  --light-blue: #e6f0ff;
  --white: #ffffff;
  --dark-text: #333333;

  --font-roboto: 'Roboto', sans-serif;
  --font-mono: 'SUSE Mono', monospace;
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--dark-text);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  font-family: var(--font-roboto); /* Police générale du site */
}

/* Titres en SUSE Mono */
h1, h2, .hero h1 {
  font-family: var(--font-mono);
}

/* Paragraphes en Roboto */
p {
  font-family: var(--font-roboto);
}

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      font-family: var(--font-roboto);
    }
    
    /* Header amélioré */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 15px 0;
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      backdrop-filter: blur(10px);
      z-index: 1000;
      transition: all 0.3s ease;
    }
    
    .site-header.scrolled {
      padding: 10px 0;
      background-color: rgba(10, 46, 83, 0.95);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .site-header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .brand {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: white;
      font-size: 1.8rem;
      font-weight: 700;
    }
    
    .logo-dot {
      display: inline-block;
      width: 15px;
      height: 15px;
      background-color: var(--secondary);
      border-radius: 50%;
      margin-right: 15px;
      box-shadow: 0 0 10px var(--secondary);
      animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.2); opacity: 0.8; }
      100% { transform: scale(1); opacity: 1; }
    }
    
    .nav {
      display: flex;
      align-items: center;
      gap: 30px;
      font-family: var(--font-roboto);
    }
    
    .nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      position: relative;
      transition: all 0.3s ease;
    }
    
    .nav a:not(.btn):after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--secondary);
      transition: width 0.3s ease;
    }
    
    .nav a:not(.btn):hover:after {
      width: 100%;
    }
    
    .btn {
      display: inline-block;
      padding: 12px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      text-align: center;
      cursor: pointer;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    }
    
    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 102, 204, 0.6);
    }
    
    .btn-secondary {
      background-color: transparent;
      color: white;
      border: 2px solid white;
    }
    
    .btn-secondary:hover {
      background-color: white;
      color: var(--primary);
    }
    
    .btn-outline {
      background-color: transparent;
      color: white;
      border: 2px solid white;
    }
    
    .btn-outline:hover {
      background-color: white;
      color: var(--primary);
    }
    
    .btn-chip {
      padding: 8px 15px;
      font-size: 0.9rem;
      background-color: var(--primary);
      color: white;
    }
    
    .btn-chip:hover {
      background-color: var(--secondary);
    }
    
    .w-full {
      width: 100%;
    }
    
    /* Cercle qui contient le logo */
.logo-circle {
  width: 60px;              /* taille du cercle */
  height: 60px;
  border-radius: 50%;       /* forme ronde */
  background: #fff;         /* fond neutre */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;         /* coupe l'image qui dépasse */
  border: 2px solid var(--primary-blue); /* contour bleu du logo */
  margin-right: 10px;       /* espace entre logo et texte NOSY JET */
}

/* Logo à l'intérieur du cercle */
.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* garde les proportions du logo */
  display: block;
}


    /* Menu mobile */
    #nav-toggle {
      display: none;
    }
    
    .burger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      cursor: pointer;
    }
    
    .burger span {
      width: 100%;
      height: 3px;
      background-color: white;
      border-radius: 5px;
      transition: all 0.3s ease;
    }
    
.hero {
  position: relative;
  height: 100vh;
  background: url("../Follio/Img/JTS9.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  animation: moveHero 96s ease-in-out infinite alternate;
}

/* Animation du déplacement de l’image */
@keyframes moveHero {
  from { background-position: center top; }
  to   { background-position: center bottom; }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 46, 83, 0.7), rgba(10, 46, 83, 0.4));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}



    /* Section styles */
    .section {
      padding: 80px 0;
      font-family: var(--font-roboto);
    }
    
    .section.soft {
      background-color: #f8f9fa;
    }
    
    .section-head {
      text-align: center;
      margin-bottom: 50px;
    }
    
    .section h2 {
      font-size: 2.5rem;
      color: var(--dark);
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    
    .section h2:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      border-radius: 2px;
    }
    
    .dot {
      color: var(--secondary);
    }
    
    /* Cards améliorées */
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }
    
    .card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      position: relative;
      top: 0;
    }
    
    .card:hover {
      top: -10px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
    
    .card-media {
      position: relative;
      height: 200px;
      overflow: hidden;
      cursor: pointer;
    }
    
    .card-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .card:hover .card-media img {
      transform: scale(1.1);
    }
    
    .card-body {
      padding: 20px;
    }
    
    .card-body h3 {
      font-size: 1.5rem;
      color: var(--dark);
      margin-bottom: 15px;
    }
    
    .meta {
      list-style: none;
      margin-bottom: 20px;
    }
    
    .meta li {
      padding: 5px 0;
      position: relative;
      padding-left: 25px;
    }
    
    .meta li:before {
      content: '✓';
      color: var(--success);
      position: absolute;
      left: 0;
      font-weight: bold;
    }
    
    .priceline {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
    }
    
    .price {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
    }
    
    /* Bandeau amélioré */
    .band {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      padding: 60px 0;
      text-align: center;
    }
    
    .band h2 {
      font-size: 2.2rem;
      font-weight: 600;
      max-width: 800px;
      margin: 0 auto;
    }
    
    /* Gallery améliorée */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    
    .gallery figure {
      position: relative;
      height: 250px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .gallery figure:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .gallery figure:hover img {
      transform: scale(1.1);
    }
    
    /* Footer amélioré */
    .site-footer {
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      color: white;
      padding: 60px 0 20px;
      font-family: var(--font-roboto);
    }
    
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }
    
    .site-footer h4 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
    }
    
    .site-footer h4:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background-color: var(--secondary);
    }
    
    .site-footer p {
      margin-bottom: 15px;
      opacity: 0.8;
    }
    
    .copy {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.7;
      font-size: 0.9rem;
    }
    
    /* Water effect */
    .water-effect {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120" preserveAspectRatio="none"><path fill="%23ffffff" d="M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,74.7C1120,75,1280,53,1360,42.7L1440,32L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z"></path></svg>');
      background-size: cover;
      background-position: center;
      z-index: 2;
    }
    
    /* Lightbox Styles */
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      z-index: 2000;
      justify-content: center;
      align-items: center;
    }
    
    .lightbox-content {
      max-width: 90%;
      max-height: 80%;
      margin: auto;
      display: block;
      border-radius: 8px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    }
    
    .lightbox-caption {
      color: white;
      text-align: center;
      padding: 10px;
      font-size: 1.2rem;
    }
    
    .close-lightbox {
      position: absolute;
      top: 20px;
      right: 30px;
      color: white;
      font-size: 40px;
      cursor: pointer;
      transition: color 0.3s;
    }
    
    .close-lightbox:hover {
      color: var(--secondary);
    }
    
    .lightbox-nav {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      padding: 0 20px;
    }
    
    .lightbox-nav button {
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      font-size: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    .lightbox-nav button:hover {
      background: var(--primary);
    }
    
    /* Media Queries */
    @media (max-width: 992px) {
      .hero-content h1 {
        font-size: 2.8rem;
      }
      
      .hero-cta {
        flex-direction: column;
        align-items: center;
      }
      
      .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--dark);
        width: 250px;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      }
      
      #nav-toggle:checked ~ .nav {
        right: 0;
      }
      
      .burger {
        display: flex;
      }
      
      #nav-toggle:checked ~ .burger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      
      #nav-toggle:checked ~ .burger span:nth-child(2) {
        opacity: 0;
      }
      
      #nav-toggle:checked ~ .burger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
      }
    }
    
    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2.2rem;
      }
      
      .hero-content h1 small {
        font-size: 1.2rem;
      }
      
      .section {
        padding: 60px 0;
      }
      
      .section h2 {
        font-size: 2rem;
      }
      
      .band h2 {
        font-size: 1.8rem;
      }
      
      .lightbox-nav {
        padding: 0 10px;
      }
      
      .lightbox-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px;
      }
    }
    
    /* Animation d'entrée */
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Section équipe */
.team-section {
  background: linear-gradient(180deg, #f9fbff, #ffffff);
  padding: 80px 20px;
}

.team-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.team-photo {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.team-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 5px solid #fff;
}

.team-text {
  flex: 2 1 400px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.team-text p {
  margin-bottom: 1rem;
}

.team-text strong {
  color: #1d8fd8;
}

/* Responsive */
@media (max-width: 768px) {
  .team-content {
    flex-direction: column;
    text-align: center;
  }
  
  .team-text {
    font-size: 1rem;
  }
}

    
    /* Overlay de chargement amélioré */
    .loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--dark);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .loader.hidden {
      opacity: 0;
      visibility: hidden;
    }
    
    .wave-loader {
      width: 80px;
      height: 60px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 30px;
    }
    
    .wave-loader div {
      width: 12px;
      background: linear-gradient(to top, var(--primary), var(--secondary));
      animation: wave 1.2s ease infinite;
      border-radius: 5px;
    }
    
    .wave-loader div:nth-child(2) {
      animation-delay: 0.1s;
    }
    
    .wave-loader div:nth-child(3) {
      animation-delay: 0.2s;
    }
    
    .wave-loader div:nth-child(4) {
      animation-delay: 0.3s;
    }
    
    .wave-loader div:nth-child(5) {
      animation-delay: 0.4s;
    }
    
    @keyframes wave {
      0%, 100% { height: 20px; }
      50% { height: 60px; }
    }
    
    .loader-text {
      color: white;
      font-size: 1.2rem;
      font-weight: 500;
      letter-spacing: 2px;
      text-transform: uppercase;
    }
    
    .loader-logo {
      display: flex;
      align-items: center;
      margin-bottom: 40px;
      color: white;
      font-size: 2rem;
      font-weight: 700;
    }
    
    .loader-logo-dot {
      display: inline-block;
      width: 15px;
      height: 15px;
      background-color: var(--secondary);
      border-radius: 50%;
      margin-right: 15px;
      box-shadow: 0 0 15px var(--secondary);
      animation: pulse 2s infinite;
    }