:root {
  --primary-color: #9B8AA5;
  --primary-color-rgb: 155, 138, 165;
  --accent-color: #B5A4BE;
  --accent-color-rgb: 181, 164, 190;
  --text-color: #E0E0E0;
  --text-color-light: #F5F5F5;
  --bg-color: #1A1A1A;
  --bg-darker: #242424;
  --card-bg: #2C2C2C;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --footer-bg: #1A1A1A;
  
  /* Couleurs saisonnières ajustées pour le mode sombre */
  --fete-meres-primary: rgba(255, 105, 180, 0.8);
  --fete-meres-secondary: rgba(255, 182, 193, 0.8);
  --fete-meres-light: rgba(255, 182, 193, 0.15);

  --saint-valentin-primary: rgba(255, 20, 147, 0.8);
  --saint-valentin-secondary: rgba(255, 105, 180, 0.8);
  --saint-valentin-light: rgba(255, 105, 180, 0.15);

  --noel-primary: rgba(34, 139, 34, 0.8);
  --noel-secondary: rgba(50, 205, 50, 0.8);
  --noel-light: rgba(34, 139, 34, 0.15);

  --anniversaire-primary: rgba(65, 105, 225, 0.8);
  --anniversaire-secondary: rgba(30, 144, 255, 0.8);
  --anniversaire-light: rgba(65, 105, 225, 0.15);
}

/* Mode sombre */
body.dark-mode {
  --primary-color: #9B8AA5;
  --accent-color: #B5A4BE;
  --text-color: #E0E0E0;
  --text-color-light: #F5F5F5;
  --bg-color: #1A1A1A;
  --bg-darker: #242424;
  --card-bg: #2C2C2C;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --footer-bg: #1A1A1A;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

.dark-mode body {
  background-color: var(--bg-color);
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px var(--shadow-color);
}

.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6 {
  color: var(--accent-color);
}

p {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 400;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-color);
}

/* Navigation */
.navbar {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.65rem 0;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: none;
  width: 100%;
  min-height: 76px;
  height: auto;
}

.dark-mode .navbar {
  background-color: rgba(26, 26, 26, 0.95);
}

.navbar-brand img {
  height: 50px;
  transition: var(--transition);
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-color-light);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #FFFFFF;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color-light);
  margin-top: 76px;
  padding-top: 0;
}

@media (min-width: 992px) {
  .hero {
    background-attachment: fixed;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.temp-image {
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #666;
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
  border: 1px dashed #ddd;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}

.dark-mode .card {
  background-color: var(--card-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .card:hover {
  box-shadow: 0 8px 16px rgba(216, 191, 216, 0.2);
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.dark-mode .card-title {
  color: var(--accent-color);
}

.card-text {
  color: var(--text-color);
  opacity: 0.9;
}

/* Boutons — fond semi-transparent (effet verre dépoli) */
.btn-primary {
  background-color: rgba(var(--accent-color-rgb), 0.22);
  border-color: rgba(var(--accent-color-rgb), 0.42);
  color: var(--text-color-light);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dark-mode .btn-primary {
  background-color: rgba(var(--accent-color-rgb), 0.22);
  border-color: rgba(var(--accent-color-rgb), 0.42);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: rgba(var(--accent-color-rgb), 0.38);
  border-color: rgba(var(--accent-color-rgb), 0.55);
  color: var(--text-color-light);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--accent-color);
  border-color: rgba(var(--accent-color-rgb), 0.42);
  background-color: rgba(var(--accent-color-rgb), 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: rgba(var(--accent-color-rgb), 0.20);
  border-color: rgba(var(--accent-color-rgb), 0.50);
  color: var(--text-color-light);
}

.btn-outline-light {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.38);
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: visible !important;
  opacity: 1 !important;
  display: block !important;
  background-color: var(--bg-color);
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.dark-mode .services-grid .card {
  background-color: rgba(42, 42, 42, 0.95);
}

/* Styles pour les tarifs */
.tarifs-table {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tarifs-table th {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.tarifs-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--bg-darker);
  font-size: 1rem;
  color: var(--text-color-light);
}

.tarifs-table td:last-child {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  background: rgba(var(--primary-color-rgb), 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.dark-mode .price {
  color: var(--accent-color);
}

.price:hover {
  transform: scale(1.1);
}

.text-muted {
  color: var(--text-color) !important;
  font-size: 1rem;
}

/* Formulaire de contact */
.contact-form {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
}

.form-control {
  background-color: var(--bg-darker);
  border: 1px solid var(--accent-color);
  color: var(--text-color-light);
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: var(--bg-darker);
  border-color: var(--accent-color);
  color: var(--text-color-light);
  box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
  transform: scale(1.02);
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--accent-color-rgb), 0.14), transparent 55%),
    linear-gradient(180deg, #222 0%, var(--footer-bg) 40%);
  color: var(--text-color-light);
  padding: 3.25rem 0 2.25rem;
  border-top: 1px solid rgba(var(--accent-color-rgb), 0.22);
  margin-top: 2rem;
}

.dark-mode .footer {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--accent-color-rgb), 0.14), transparent 55%),
    linear-gradient(180deg, #222 0%, var(--footer-bg) 40%);
}

.footer__inner {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.2fr auto;
    grid-template-areas:
      "brand actions"
      "legal legal";
    justify-items: stretch;
    text-align: left;
    align-items: end;
    gap: 1.75rem 2rem;
  }

  .footer__brand { grid-area: brand; }
  .footer__actions { grid-area: actions; justify-self: end; text-align: right; }
  .footer__legal { grid-area: legal; }
}

.footer__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.footer__tagline {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: rgba(245, 245, 245, 0.62);
  font-weight: 400;
}

.footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(245, 245, 245, 0.48);
}

.footer__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__actions { align-items: flex-end; }
}

.footer .social-icons {
  display: flex;
  gap: 0.65rem;
  margin: 0;
}

.footer .social-icons a {
  color: var(--text-color-light);
  font-size: 1.05rem;
  margin: 0;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.footer .social-icons a:hover {
  color: #fff;
  border-color: rgba(var(--accent-color-rgb), 0.65);
  background: rgba(var(--accent-color-rgb), 0.22);
  transform: translateY(-2px);
}

.footer__itineraire {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(var(--accent-color-rgb), 0.45);
  border-radius: 999px;
  background: rgba(var(--accent-color-rgb), 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer__itineraire:hover {
  background: rgba(var(--accent-color-rgb), 0.24);
  border-color: rgba(var(--accent-color-rgb), 0.75);
  color: #fff !important;
}

.footer__legal,
.footer .legal-links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin: 0;
  padding: 1.15rem 0 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer__legal a,
.footer .legal-links a {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer__legal a:hover,
.footer .legal-links a:hover {
  color: var(--accent-color) !important;
  background: rgba(var(--accent-color-rgb), 0.12);
}

.footer .legal-links__sep {
  color: rgba(255, 255, 255, 0.22);
  margin: 0;
  user-select: none;
}

/* Masquer le compteur de connexions (élément obsolète) */
.footer #connectionsCount,
.footer p:has(#connectionsCount) {
  display: none !important;
}

.social-icons a {
  color: var(--text-color-light);
  font-size: 1.5rem;
  margin-left: 1rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Bouton WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition);
  z-index: 1000;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Animations */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
  visibility: visible !important;
}

.fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* Animation des images */
.img-fluid {
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.img-fluid:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Animation des cartes cadeaux */
.design-card {
  transition: all 0.3s ease;
  transform: scale(1);
}

.design-card:hover {
  transform: scale(1.05);
}

.design-card.selected {
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(22, 160, 133, 0.3);
}

/* Animation des couleurs */
.color-card {
  transition: all 0.3s ease;
  transform: scale(1);
}

.color-card:hover {
  transform: scale(1.1);
}

.color-card.selected {
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(22, 160, 133, 0.3);
}

/* Animation du modal */
.modal-content {
  animation: modalFadeIn 0.3s ease;
  background-color: var(--card-bg);
  color: var(--text-color);
}

.modal-header {
  border-bottom: 1px solid var(--accent-color);
}

.modal-footer {
  border-top: 1px solid var(--accent-color);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation du total */
#totalEstime {
  transition: all 0.3s ease;
  display: inline-block;
  color: var(--accent-color);
}

#totalEstime.updated {
  transform: scale(1.1);
  color: var(--accent-color);
}

/* Animation du scroll */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Styles pour les options de paiement */
.payment-options {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.payment-options .form-check {
  margin-bottom: 1rem;
}

.payment-options .form-check-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-options i {
  font-size: 1.5rem;
}

.payment-options .fa-paypal {
  color: #0070ba;
}

.payment-options .fa-university {
  color: var(--accent-color);
}

#virement-info {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

#virement-info p {
  margin-bottom: 0.5rem;
}

#paypal-button-container {
  margin-top: 1rem;
}

/* Animation pour le changement de mode de paiement */
#paypal-button-container,
#virement-info {
  transition: opacity 0.3s ease;
}

#paypal-button-container.hidden,
#virement-info.hidden {
  opacity: 0;
  display: none;
}

.section.points-forts {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--primary-color) 100%);
  position: relative;
  padding: 6rem 0;
  opacity: 1;
  transform: translateY(0);
}

.section.points-forts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.05) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255, 105, 180, 0.05) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, rgba(255, 105, 180, 0.05) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255, 105, 180, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.1;
  z-index: 0;
}

.section.points-forts .container {
  position: relative;
  z-index: 1;
}

.section.points-forts .card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.section.points-forts .card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section.points-forts .text-accent {
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.section.points-forts .card:hover .text-accent {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Loading Spinner */
.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--text-color-light);
  border-top: 5px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Galerie d'images */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dark-mode .gallery-item img {
  opacity: 0.8;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Modal de la galerie */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Testimonials Slider */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-item {
  text-align: center;
  padding: 2rem;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

/* Scroll to top button — au-dessus du FAB WhatsApp */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 22px;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 1045;
  transition: all 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.dark-mode .scroll-top {
  background-color: var(--accent-color);
}

/* Dark mode toggle */
.dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

/* Accessibilité */
:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

::selection {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Styles pour la carte */
.leaflet-container {
  background-color: #242424 !important;
}

.dark-tiles {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Styles pour les popups de la carte */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background-color: var(--card-bg) !important;
  color: var(--text-color) !important;
}

/* Tables */
table {
  color: var(--text-color);
}

/* Modals */
.modal-content {
  background-color: var(--card-bg);
  color: var(--text-color);
}

.modal-header, .modal-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Styles pour les formulaires */
input, textarea, select {
  background-color: var(--bg-darker) !important;
  color: var(--text-color) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Avis clients specific styles */
.avis-clients {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  background-color: var(--bg-darker) !important;
  border: 3px solid var(--accent-color);
  margin: 2rem 0;
  padding: 3rem 0;
  position: relative;
  z-index: 100 !important;
}

.avis-clients .card {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Fix for IntersectionObserver issues */
.section.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* Empêcher le saut lors de la navigation vers les ancres */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Hauteur de votre navbar + un peu d'espace */
}

/* Styles spécifiques pour la section services */
#services .card-text {
  color: var(--text-color-light) !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  margin-bottom: 1rem !important;
}

#services .card-title {
  color: var(--accent-color) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#services .card {
  background-color: var(--card-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

#services .card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
  border-color: var(--accent-color) !important;
}

#services .btn-outline-primary {
  color: var(--accent-color) !important;
  border-color: rgba(var(--accent-color-rgb), 0.42) !important;
  background-color: rgba(var(--accent-color-rgb), 0.03) !important;
  font-weight: 500 !important;
  margin-top: 1rem !important;
  transition: all 0.3s ease !important;
}

#services .btn-outline-primary:hover {
  background-color: rgba(var(--accent-color-rgb), 0.20) !important;
  border-color: rgba(var(--accent-color-rgb), 0.50) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Styles spécifiques pour les textes des cartes de services */
#services .card-text.small {
  color: var(--text-color-light) !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  margin-bottom: 1rem !important;
  font-weight: 400 !important;
}

#services .card-title {
  color: var(--accent-color) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#services .card {
  background-color: rgba(42, 42, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  padding: 1.5rem !important;
} 