/* Variables globales */
:root {
  --bg-gradient-start: #BF00FF;
  --bg-gradient-end: #40E0D0;
  --text-color: #FFFFFF;
  --accent-color: #FFD700;
  --button-color: #580F41;
  --button-hover: #FFB6C1;
  --transparent-bg: rgba(255, 255, 255, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.2);
  --header-height: 5em;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Arial', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 5em; /* Espace pour header fixe */
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

h3 {
  font-size: 1.5em;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Layout global */
.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}

section {
  padding: 5em 0;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 2em;
}

.section-title::after {
  content: '';
  display: block;
  width: 5em;
  height: 0.2em;
  background-color: var(--accent-color);
  margin: 0.5em auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  height: 2.5em;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5em;
}

.phone {
  color: var(--accent-color);
  font-weight: bold;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5em;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: 5rem; /* Ajustement pour le header fixe */
  position: relative;
  background-image: url('../img/WMMppC.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(191, 0, 255, 0.8), rgba(64, 224, 208, 0.8));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 50em;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 0.5em;
  font-size: 3em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 2em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 2em;
  background-color: var(--button-color);
  color: var(--text-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 5em 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
}

.service-card {
  background: var(--transparent-bg);
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease;
  backdrop-filter: blur(5px);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--accent-color);
}

.price {
  font-size: 1.5em;
  font-weight: bold;
  margin: 1em 0;
}

/* About Section */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Benefits Section */
.benefits-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5em;
  padding: 0.5em 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
  position: relative;
}

.benefit-card {
  background: var(--transparent-bg);
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  min-width: 200px;
  flex: 0 0 auto;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.benefits-grid::-webkit-scrollbar {
  height: 6px;
}

.benefits-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.benefits-grid::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 10px;
}

/* Testimonials Section */
.testimonials {
  position: relative;
  z-index: 1;
  background-image: url('../img/oGCPs8.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
}

.testimonial-card {
  background: var(--transparent-bg);
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 5px 15px var(--shadow-color);
  backdrop-filter: blur(5px);
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1em;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1em;
  object-fit: cover;
}

/* Contact Form */
.form-section {
  background: var(--transparent-bg);
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 5px 15px var(--shadow-color);
  backdrop-filter: blur(5px);
  background-image: url('../img/ObH7d0.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  z-index: 0;
}

.form-section > * {
  position: relative;
  z-index: 1;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: #a05050;
  font-size: 1em;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.form-check input {
  margin-top: 0.3em;
}

.required {
  color: #ff6b6b;
  font-weight: bold;
}

.form-note {
  font-size: 0.85em;
  font-style: italic;
  margin-top: 1em;
  color: rgba(255, 255, 255, 0.7);
}

.field-error {
  border: 1px solid #ff6b6b !important;
  box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

.alert-error {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 3em 0 1em;
  background-image: url('../img/XPjvJ4.jpg');
  background-size: cover;
  background-position: center bottom;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 0;
}

footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  margin-bottom: 2em;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 1em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5em;
}

.copyright {
  text-align: center;
  padding-top: 2em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 1em;
  left: 1em;
  right: 1em;
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-color);
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.cookie-popup.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-popup p {
  margin: 0;
  flex: 1;
}

.cookie-popup .btn {
  white-space: nowrap;
}

/* Media Queries */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 1em 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.5em 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: 2.2em;
  }

  .section-title {
    font-size: 1.8em;
  }
}

/* Helper classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mb-3 {
  margin-bottom: 3em;
}

.highlight {
  color: var(--accent-color);
}

/* Pas d'animations JavaScript */ 