@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%;
      font-family: var(--font-roboto);
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    /* 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%;
    }

    /* Ajoutez ces styles à votre fichier Service.css existant */

/* Logo circulaire dans le header */

/* Logo cercle */
.logo-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: white; /* fond neutre pour bien voir le logo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-circle img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Description de service */
.service-description {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Animation améliorée pour le carrousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 200px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.carousel img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 100%;
}

/* Boutons de navigation du carrousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Ajustement de l'espacement dans les cartes */
.card-body {
  padding: 20px;
}

/* Ajustement pour les écrans plus petits */
@media (max-width: 768px) {
  .logo-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel {
    height: 180px;
  }
}
    
    /* 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 section améliorée */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url(../Follio/Img/JTS8.jpeg);
  background-size: cover;
  background-position: center;
  animation: moveHero 90s ease-in-out infinite alternate;
}

@keyframes moveHero {
  from {
    background-position: center top;
  }
  to {
    background-position: center bottom;
  }
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 46, 83, 0.7), rgba(10, 46, 83, 0.4));
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 small {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 10px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  fill: white;
}

    
    /* 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;
    }
    
    .section-subtitle {
      text-align: center;
      font-size: 1.2rem;
      color: #666;
      margin-bottom: 50px;
    }
    
    .dot {
      color: var(--secondary);
    }

    /* Carrousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Boutons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

    
    /* 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;
    }
    
    /* 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;
    }
    
    /* 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;
      }
    }
    
    /* 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);
    }