@import './variables.css';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-base);
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  height: var(--header-height);
}

.logo {
  cursor: pointer;
  height: 45px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--font-size-base);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav a:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  gap: var(--space-sm);
}

.btn-orange {
  background-color: #eee7d8;
  color: #1f2937;
  box-shadow: 0 4px 12px rgba(238, 231, 216, 0.25);
}

.btn-orange:hover {
  background-color: #ddd5c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(238, 231, 216, 0.35);
}

.btn-reverse {
  background-color: transparent;
  color: #002147;
  border: 2px solid #002050;
}

.btn-reverse:hover {
  background-color: #061b33;
  color: white;
  border-color: #061b33;
}

.btn-tel::before {
  content: '☎';
  font-size: 1.1em;
}

.btn-tel-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--font-size-sm);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  gap: var(--space-xs);
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-tel-small::before {
  content: '☎';
  font-size: 0.9em;
}

.btn-tel-small:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-base);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  background: #092a50;
  color: white;
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: 0;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-bottom: var(--space-3xl);
  flex: 1;
}

.hero-badge {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}

.hero-badge.status-ouvert {
  background-color: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-badge.status-ferme {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.statut-texte.statut-ouvert {
  color: #22c55e;
  font-weight: 700;
}

.statut-texte.statut-ferme {
  color: #ef4444;
  font-weight: 700;
}

.hero h1 {
  color: white;
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-xl);
  line-height: 1.1;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-cta .btn {
  font-size: var(--font-size-lg);
  padding: var(--space-lg) var(--space-2xl);
  width: fit-content;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  margin-top: var(--space-sm);
}

.hero-link {
  color: white;
  font-size: var(--font-size-base);
  margin-top: var(--space-sm);
}

.hero-link a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.hero-link a:hover {
  opacity: 0.8;
}

/* Services Bubbles */
.hero-services-bubbles {
  position: absolute;
  top: 0;
  right: var(--space-lg);
  width: 400px;
  bottom: 0;
  flex-shrink: 0;
  z-index: 1;
  pointer-events: none;
}

.service-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-sm) var(--space-md);
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: default;
  transition: all var(--transition-base);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
  --parallax-offset: 0px;
  transform: translateY(var(--parallax-offset));
  pointer-events: auto;
}

.service-bubble:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05) translateY(var(--parallax-offset));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Positionnement éparpillé des bulles */
.service-bubble[data-index="0"] {
  top: 15%;
  right: 10px;
  animation-delay: 0s;
}

.service-bubble[data-index="1"] {
  top: 8%;
  right: 120px;
  animation-delay: 0.3s;
}

.service-bubble[data-index="2"] {
  top: 35%;
  right: 40px;
  animation-delay: 0.6s;
}

.service-bubble[data-index="3"] {
  top: 50%;
  right: 150px;
  animation-delay: 0.9s;
}

.service-bubble[data-index="4"] {
  top: 65%;
  right: 20px;
  animation-delay: 1.2s;
}

.service-bubble[data-index="5"] {
  top: 80%;
  right: 100px;
  animation-delay: 1.5s;
}

/* Animation de flottement */
@keyframes float {
  0%, 100% {
    transform: translateY(var(--parallax-offset, 0px)) translateX(0px);
  }
  25% {
    transform: translateY(calc(var(--parallax-offset, 0px) - 8px)) translateX(3px);
  }
  50% {
    transform: translateY(calc(var(--parallax-offset, 0px) - 4px)) translateX(-2px);
  }
  75% {
    transform: translateY(calc(var(--parallax-offset, 0px) - 10px)) translateX(2px);
  }
}

/* Responsive - Masquer les bulles sur mobile */
@media (max-width: 1024px) {
  .hero-services-bubbles {
    display: none;
  }
  
  .hero-wrapper {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .hero-services-bubbles {
    width: 300px;
  }
  
  .service-bubble[data-index="1"] {
    right: 80px;
  }
  
  .service-bubble[data-index="3"] {
    right: 100px;
  }
  
  .service-bubble[data-index="5"] {
    right: 60px;
  }
}

/* Stats Section */
.hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2xl) 0;
  background-color: #242424;
  backdrop-filter: blur(10px);
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-item span:first-child {
  color: white;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.stat-item span:last-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  font-weight: 400;
}

/* Sections */
.section {
  padding: var(--space-4xl) 0;
}

.intro-section {
  padding: var(--space-3xl) 0;
}

.intro-title {
  text-align: center;
  font-size: var(--font-size-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

.intro-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.about-section {
  background-color: var(--color-bg-light);
}

.horaires-section {
  background-color: var(--color-bg);
}

.horaires-zones-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.horaires-container {
  max-width: 100%;
}

.horaires-container .section-header {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.horaires-container .section-subtitle {
  text-align: left;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.horaires-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  background-color: white;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.horaire-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color var(--transition-base);
  border-radius: var(--radius-sm);
}

.horaire-item:last-child {
  border-bottom: none;
}

.horaire-item:hover {
  background-color: var(--color-bg-light);
}

.horaire-item.aujourdhui-ouvert {
  background-color: rgba(34, 197, 94, 0.08);
  border-left: 2px solid rgba(34, 197, 94, 0.4);
}

.horaire-item.aujourdhui-ferme {
  background-color: rgba(239, 68, 68, 0.08);
  border-left: 2px solid rgba(239, 68, 68, 0.4);
}

.horaire-item.ferme {
  opacity: 0.5;
}

.horaire-jour {
  font-weight: 500;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

.horaire-heures {
  color: var(--color-text-lighter);
  font-size: var(--font-size-sm);
  font-weight: 400;
}

.horaire-item.ferme .horaire-heures {
  color: var(--color-text-light);
}

.ferme-text {
  color: var(--color-text-light);
  font-style: italic;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: var(--space-2xl);
  text-align: center;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.activite-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.activite-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.activite-card .header {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.activite-card .header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.activite-card:hover .header img {
  transform: scale(1.05);
}

.activite-card .header span {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.activite-card .body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activite-card .title {
  color: var(--color-text);
  font-weight: 700;
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  display: block;
  transition: color var(--transition-fast);
}

.activite-card .title:hover {
  color: var(--color-primary);
}

.priceTag {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
}

.activite-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}

/* Services inline discret */
.services-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
  color: var(--color-text-light);
  font-size: var(--font-size-base);
}

.service-item {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.service-item:hover {
  color: var(--color-primary);
}

.service-separator {
  color: var(--color-text-light);
  opacity: 0.5;
  margin: 0 var(--space-xs);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .services-inline {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .service-separator {
    display: none;
  }
}

/* Réalisations */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.realisation-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.realisation-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.realisation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.realisation-card:hover .realisation-image img {
  transform: scale(1.1);
}

.realisation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-base);
}

.realisation-card:hover .realisation-overlay {
  opacity: 0.95;
}

.realisation-overlay span {
  color: white;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.realisation-info {
  padding: var(--space-xl);
}

.realisation-info h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-xl);
}

.realisation-category {
  display: inline-block;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.realisation-info p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-content {
  text-align: left;
}

.about-content h2 {
  margin-bottom: var(--space-xl);
}

.about-description {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.about-description p {
  margin-bottom: var(--space-lg);
}

/* Contact Section */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color-bg);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.form-group label {
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--font-size-base);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  background-color: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  justify-items: center;
  text-align: center;
}

.footer-logo {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-section h3 {
  color: white;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.footer-bottom p a:hover {
  color: white;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: white;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-sm);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: var(--space-lg);
  z-index: 2000;
  display: none;
  border-top: 1px solid var(--color-border);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
  font-size: var(--font-size-base);
  color: var(--color-text);
}

.cookie-banner-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.lightbox-content {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  height: 90vh;
  max-height: 90vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lightbox-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-images {
  position: relative;
  width: 100%;
  height: calc(100% - 60px);
  overflow: hidden;
}

.lightbox-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox-slide.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-dots {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
  z-index: 5;
}

.lightbox-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.lightbox-dot.active {
  background: white;
  border-color: white;
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

.hidden-mobile {
  display: block;
}

/* Zone d'intervention */
.intervention-zones-section {
  background-color: #f9fafb;
  padding: var(--space-3xl) 0;
}

.intervention-zones-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

/* Zones dans la section horaires */
.zones-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.zones-list-container {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.zones-list-container .section-header {
  text-align: left;
  margin-bottom: var(--space-md);
}

.zones-list-container .section-subtitle {
  text-align: left;
  margin-bottom: var(--space-md);
}

.zones-list {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex: 1;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.cities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cities-list li {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--transition-fast);
}

.cities-list li:last-child {
  border-bottom: none;
}

.cities-list li:hover {
  background-color: #f9fafb;
}

.cities-list li strong {
  color: var(--color-text);
  font-size: var(--font-size-base);
}

.postal-code {
  color: var(--color-grey-600);
  font-size: var(--font-size-sm);
  background-color: #f3f4f6;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.zones-map-container {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.zones-map-container .section-header {
  text-align: left;
  margin-bottom: var(--space-md);
}

.zones-map-container .section-subtitle {
  text-align: left;
  margin-bottom: var(--space-md);
}

.zones-map-container #intervention-map {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  flex: 1;
  min-height: 500px;
  height: 100%;
}

.intervention-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: var(--radius-lg);
}

/* Marqueur personnalisé pour Leaflet */
.zone-marker {
  background: transparent;
  border: none;
}

.marker-pin {
  width: 20px;
  height: 20px;
  background-color: #4f46e5;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }

  html {
    font-size: 15px;
  }

  .header-container {
    height: 70px;
    padding: var(--space-sm) var(--space-md);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    border-top: 1px solid var(--color-border);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav a {
    width: 100%;
    text-align: left;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
  }

  .header-actions {
    gap: var(--space-sm);
  }

  .btn {
    font-size: var(--font-size-sm);
    padding: var(--space-sm) var(--space-lg);
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: 0;
  }

  .hero-content {
    padding-bottom: var(--space-2xl);
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .stat-item {
    text-align: center;
  }

  .services-grid,
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .horaires-container {
    max-width: 100%;
  }

  .horaires-grid {
    padding: var(--space-sm);
  }

  .horaire-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .contact-form {
    padding: var(--space-xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-content {
    text-align: center;
  }

  .horaires-zones-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .intervention-zones-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .intervention-map {
    height: 400px;
  }

  .zones-list {
    min-height: 400px;
  }

  .zones-list-container,
  .zones-map-container {
    max-width: 100%;
  }

  .zones-map-container .section-header {
    margin-bottom: var(--space-md);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
