@charset "UTF-8";

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --primary-light: #66b3ff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-700: #495057;

  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 50%;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-light: linear-gradient(135deg, var(--light-color) 0%, var(--gray-100) 100%);

  --blur-md: blur(8px);
  --z-fixed: 1030;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-700);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-header img {
  height: 80px;
  width: auto;
  transition: var(--transition-bounce);
}

.logo-header:hover img {
  transform: scale(1.05);
}

/* Navigation Desktop (Large Screens Only) */
@media (min-width: 769px) {
  nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  nav ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
  }
}

nav a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Bouton Téléphone Desktop */
.header-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  margin-left: 1rem;
}

.header-phone-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
}

/* Hamburger (caché sur desktop) */
.hamburger {
  display: none;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
  background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding-top: 100px;
}

.bg-texte {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.trust-badges {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge i {
  color: #ffe082;
}

/* =========================================
   4. SERVICES SECTION
   ========================================= */
.services-section {
  background: var(--light-color);
  padding: 5rem 0;
}

.services-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.btn-service {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-service:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* =========================================
   5. SERVICE PAGES HERO (Optimized)
   ========================================= */
.service-hero {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 8rem 2rem 4rem;
  /* Padding ajusté */
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.service-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.service-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* =========================================
   6. FAQ SECTION
   ========================================= */
.faq-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question:hover {
  background: var(--light-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  background: var(--light-color);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* =========================================
   7. CONTACT FORM
   ========================================= */
.contact-section {
  background-color: var(--light-color);
  padding: 5rem 2rem;
  text-align: center;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}

/* Messages Feedback */
.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
  background: linear-gradient(180deg, var(--dark-color) 0%, #0a0a0a 100%);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footerpro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.copyrightpro {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================================
   10. MODERN SLIDESHOW
   ========================================= */
.service-slideshow {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background-color: #f0f0f0;
  /* Placeholder color */
}

.slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.service-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.service-slideshow img.active {
  opacity: 1;
  z-index: 2;
}

/* Navigation Buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  z-index: 3;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Dots */
.ss-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.ss-dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.ss-dot.active,
.ss-dot:hover {
  background-color: var(--white);
  transform: scale(1.2);
}

/* =========================================
   9. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {

  /* Header Mobile */
  .header-content {
    padding: 0.5rem 1rem;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
  }

  .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s linear;
  }

  /* Animation Hamburger */
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* Navigation Mobile */
  nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    /* Reset desktop flex */
  }

  nav.active {
    display: flex;
  }

  /* Use flex for column layout */
  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }

  /* Bouton téléphone dans le menu mobile */
  .header-phone-cta {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0;
    width: 100%;
  }

  /* Hero Mobile */
  .hero {
    padding-top: 80px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btns {
    flex-direction: column;
    width: 100%;
  }

  .btn,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Footer Mobile */
  .footerpro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* =========================================
   9. SERVICE PAGE CONTENT (NEW)
   ========================================= */

/* Tips / Advantages Section */
.tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.tips-column {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  /* Ensure equal height */
}

.tips-column:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.tips-column h2 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.tips-column h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.tips-column ul {
  list-style: none;
  padding: 0;
}

.tips-column li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.tips-column li i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-right: 1rem;
  margin-top: 4px;
  /* Align with text */
  flex-shrink: 0;
}

.tips-column li b {
  color: var(--dark-color);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.01) 100%);
  margin-top: 2rem;
}

.cta-section .btn-principal {
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-section .btn-principal:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

/* Responsive Adjustments for Service Content */
@media (max-width: 768px) {
  .tips {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem auto;
    padding: 0 1.5rem;
  }

  .tips-column {
    padding: 2rem;
  }

  .tips-column h2 {
    font-size: 1.5rem;
  }
}
/* =========================================
   SCROLL DOWN INDICATOR
   ========================================= */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.8;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* Fond noir pour l'immersion */
    z-index: 9999;
    /* Au-dessus de tout le reste */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Permet de cliquer à travers une fois caché */
}

#splash-video {
    width: 100%;
    /* S'assure que la vidéo prend toute la largeur dispo */
    height: 100%;
    /* S'assure que la vidéo prend toute la hauteur dispo */
    max-width: 100%;
    /* Limite pour ne pas dépasser */
    max-height: 100%;
    /* Limite pour ne pas dépasser */
    object-fit: contain;
    /* Centre la vidéo et garde les proportions (bandes noires si besoin) */
}

/* Utilitaires JS */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}S