/* Import optimisé pour LKI Punaise */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');

/* RÈGLE PRIORITAIRE POUR HEADER NOIR - SURCHARGE TOUT */
header.header-simple,
.header-simple,
header.header-with-stars,
.header-with-stars {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* Custom Font - CAYENTO */
@font-face {
  font-family: 'CAYENTO';
  src: url('fonts/Cayento_PERSONAL_USE_ONLY.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;


  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;

  /* Variables CSS personnalisées - Couleurs EXACTES d'après l'image */
  --primary-black: #3a3a3a; /* Fond gris foncé comme sur l'image */
  --luxury-black: #2c2c2c; /* Remis à la couleur originale */
  --luxury-matte-black: #6a6a6a;
  --luxury-gold: #e8e8e8;
  --dark-gold: #d0d0d0;
  --luxury-bright-gold: #f0f0f0;
  --luxury-green: #00ff00; /* Vert lime exact de l'image */
  --luxury-ivory: #e8e8e8;
  --luxury-grey-matte: #6a6a6a;
  --stars-color: #c0c0c0;
  --shadow-cards: #808080;
  --title-color: #333333;
  --text-light: #333333;
  --text-secondary: #666666;
  --border-color: #cccccc;
  
  /* Couleurs drapeau français pour les lettres LKI */
  --france-blue: #1E90FF;
  --france-white: #ffffff;
  --france-red: #EF4135;

  /* Variables système pour interactions */
  --color-primary: var(--luxury-green);
  --color-primary-hover: var(--luxury-gold);
  --color-primary-active: #2a4024;
  --color-focus-ring: var(--luxury-bright-gold);

  /* Variables manquantes pour le système de base */
  --color-text: var(--text-light);
  --color-background: var(--primary-black);
  --color-surface: var(--luxury-matte-black);
  --color-border: var(--border-color);
  --color-card-border: var(--luxury-ivory);
  --color-card-border-inner: var(--border-color);
  --color-secondary: var(--luxury-matte-black);
  --color-secondary-hover: var(--luxury-green);
  --color-secondary-active: var(--color-primary-active);
  --color-btn-primary-text: var(--luxury-black);
  --color-border-secondary: var(--luxury-ivory);

  /* Variables pour les sélecteurs */
  --select-caret-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23dfd4be' viewBox='0 0 16 16'><path d='M8 12L3 7h10l-5 5z'/></svg>");
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}

p {
  margin: 0.5rem 0 var(--space-16) 0;
}

a:hover {
  color: var(--color-primary-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Contrôles de formulaire */
.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid #555555;
  border-radius: 8px;
  background-color: #1a1a1a !important;
  color: #ffffff !important; /* Texte blanc pour lisibilité */
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.form-control::placeholder {
  color: #cccccc !important; /* Placeholder plus lisible */
}
textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}




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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Pages et navigation */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* Animation des étoiles vertes */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.stars {
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, var(--stars-color), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--stars-color), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--stars-color), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--stars-color), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--stars-color), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: starsMove 20s linear infinite;
  opacity: 0.8;
}

@keyframes starsMove {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-100px);
  }
}

/* Header simple sans étoiles pour LKI Punaise */
.header-simple {
  position: relative;
  height: 110px;
  background-color: #000000 !important; /* Noir pur avec !important */
  background: #000000 !important; /* Également en propriété raccourcie */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Changé pour permettre au menu burger de déborder */
}

.header-simple .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.header{
  position: relative;
  height: 110px;
  background-color: #000000 !important; /* Noir pur avec !important */
  background: #000000 !important; /* Également en propriété raccourcie */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.main-title,
h1.main-title,
.header-content .main-title {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 4.1rem;
  font-weight: 700; /* Police plus épaisse et moderne */
  color: #cccccc;
  letter-spacing: 0.5px; /* Espacement légèrement augmenté pour la lisibilité */
  display: inline-block;
  padding-bottom: 0.2em;
  line-height: 1.1;
  text-rendering: optimizeLegibility; /* Améliore le rendu du texte */
}

.hero-banner {
  position: relative;
  height: 350px;
  background-color: var(--luxury-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: -7px;
}

/* Ligne inférieure fixe */
.hero-banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px; /* épaisseur de la bordure comme les service-cards */
  background-color: var(--luxury-ivory);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Dégradé qui se développe sous la ligne */
.hero-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px; /* commence sous la ligne et s'étend vers le bas */
  height: 20px;   /* hauteur réduite du dégradé */
  background: linear-gradient(
    to bottom,
    rgba(201, 169, 110, 0.4) 0%,
    rgba(201, 169, 110, 0.2) 40%,
    rgba(201, 169, 110, 0.1) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-banner:hover::before,
.hero-banner:hover::after {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 1000px;
  padding: 0 20px;
}

.hero-headline {
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
  font-size: 2.7rem;
  font-weight: 400;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  letter-spacing: 0.2px;
}

.hero-subtext {
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.95;
  font-weight: 500;
  color: #d0d0d0;
  line-height: 1.55;
}

.hero-button {
  font-family: 'Arial', 'Helvetica', sans-serif;
  background-color: #000000;
  color: white;
  border: 2px solid #000000;
  padding: 18px 45px;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero banner optimisé pour page de confirmation */
.hero-banner--confirmation {
  height: auto !important;
  min-height: 400px !important;
  padding: 60px 20px !important;
}

.hero-button:hover {
  background-color: #00ff00;
  color: black;
  border-color: #00ff00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.4);
}

/* Services Section */
.services-section {
  padding: 80px 20px 40px 20px;
  background-color: #e8e8e8;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* iPad Air Portrait 820x1180 - Icônes 20% plus grandes et cartes plus basses */
@media (min-width: 800px) and (max-width: 850px) and (min-height: 1100px) {
  .service-card {
    min-height: 280px !important; /* Plus bas que les 350px actuels */
    max-height: 300px !important; /* Limite la hauteur */
    padding: 15px !important; /* Réduit le padding */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  
  .pest-icon-img {
    width: 120px !important; /* 20% plus grand que ~100px actuel */
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    margin: 10px auto !important; /* Centre et réduit la marge */
  }
  
  .service-card h3 {
    font-size: 1.1em !important; /* Légèrement plus petit */
    margin: 8px 0 !important;
  }
  
  .service-card p {
    font-size: 0.9em !important; /* Plus petit pour gagner de l'espace */
    line-height: 1.3 !important;
    margin: 0 !important;
  }
}

/* Règle spéciale pour écrans moyens/larges - Force 3 colonnes */
@media (min-width: 900px) {
  .services-container {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 20px !important;
    max-width: 1500px !important;
  }
  
  .service-card {
    padding: 20px !important;
    font-size: 0.9rem !important;
  }
  
  .service-title {
    font-size: 1.3rem !important;
  }
  
  .pest-icon-img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
  }
}

.service-card {
  background: linear-gradient(135deg, var(--luxury-matte-black), #2a2a2a);
  border: 2px solid var(--luxury-ivory);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--shadow-cards), transparent);
  transition: left 0.5s ease;
  opacity: 0;
}

.service-card:hover::before {
  left: 100%;
  opacity: 0.3;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--luxury-gold);
}

.service-image {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.service-img {
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  filter: brightness(1.1) contrast(1.1);
  transition: transform 0.3s ease;
}

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

.service-title {
  font-family: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
  font-size: 1.6rem;
  color: var(--luxury-ivory);
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

.service-card p {
  font-family: 'Source Sans 3', 'Arial', sans-serif;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* ========================================
   FAQ WIDGET STATIQUE
======================================== */
.faq-widget {
  position: static;
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  background-color: transparent;
  z-index: 100;
  font-family: inherit;
  margin-bottom: 20px;
}

.faq-widget-toggle {
  display: none;
}

.faq-widget-content {
  position: static;
  width: 400px;
  max-height: none;
  background: var(--luxury-black);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  opacity: 1;
  transform: none;
  pointer-events: all;
  transition: all 0.4s ease;
  overflow: hidden;
  margin-top: 0;
  border: 2px solid var(--luxury-black);
}

/* État rétracté - plus compact ET plus court */
.faq-widget-content:not(.expanded) {
  width: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.faq-widget-content:not(.expanded) .faq-widget-header {
  border-bottom: none;
  border-radius: 6px;
}

.faq-widget-header {
  background: var(--luxury-black);
  color: var(--luxury-ivory);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 10px 10px 0 0;
}

/* Header plus compact quand rétracté */
.faq-widget-content:not(.expanded) .faq-widget-header {
  padding: 12px 10px;
  border-radius: 6px;
}

.faq-widget-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--luxury-ivory);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: font-size 0.4s ease;
}

/* Titre plus petit quand rétracté */
.faq-widget-content:not(.expanded) .faq-widget-header h3 {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.faq-widget-header:hover {
  background-color: #333;
}

/* Bouton principal de toggle pour la FAQ */
.faq-main-toggle {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

/* Bouton plus petit quand rétracté */
.faq-widget-content:not(.expanded) .faq-main-toggle {
  width: 24px;
  height: 24px;
}

/* Créer un + personnalisé pour le toggle principal */
.faq-main-toggle::before,
.faq-main-toggle::after {
  content: '';
  position: absolute;
  background: var(--luxury-ivory);
  transition: all 0.4s ease;
}

.faq-main-toggle::before {
  width: 18px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-main-toggle::after {
  width: 1px;
  height: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

/* Traits plus petits quand rétracté */
.faq-widget-content:not(.expanded) .faq-main-toggle::before {
  width: 14px;
}

.faq-widget-content:not(.expanded) .faq-main-toggle::after {
  height: 14px;
}

/* Animation pour transformer + en - quand la FAQ est ouverte */
.faq-widget-content.expanded .faq-main-toggle::after {
  height: 0;
}

.faq-main-toggle:hover {
  background-color: rgba(30, 144, 255, 0.1);
}

.faq-main-toggle:hover::before,
.faq-main-toggle:hover::after {
  background: var(--france-blue);
}

.faq-widget-close {
  display: none;
}

.faq-widget-body {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  background: var(--luxury-black);
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-widget-content.expanded .faq-widget-body {
  max-height: 800px;
  padding: 0;
  overflow: visible;
}

/* Styles des FAQ items dans le widget */
.faq-widget .faq-item {
  background: var(--luxury-black);
  border-bottom: 1px solid #444;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

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

.faq-widget .faq-question {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px 20px;
  background: var(--luxury-black);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  gap: 15px;
}

.faq-widget .faq-question:hover {
  background-color: #333;
}

.faq-widget .faq-question span {
  flex: 1;
  margin-top: 2px;
  color: var(--luxury-ivory);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
}

.faq-widget .faq-toggle {
  background: none;
  color: var(--luxury-ivory);
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 200;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
  position: relative;
}

/* Créer un + personnalisé avec des traits fins */
.faq-widget .faq-toggle::before,
.faq-widget .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--luxury-ivory);
  transition: all 0.3s ease;
}

.faq-widget .faq-toggle::before {
  width: 18px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-widget .faq-toggle::after {
  width: 1px;
  height: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

/* Animation pour transformer + en - */
.faq-widget .faq-item.active .faq-toggle::after {
  height: 0;
}

.faq-widget .faq-toggle:hover {
  background-color: rgba(30, 144, 255, 0.1);
}

.faq-widget .faq-toggle:hover::before,
.faq-widget .faq-toggle:hover::after {
  background: var(--france-blue);
}

.faq-widget .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--luxury-black);
  padding: 0 20px;
}

.faq-widget .faq-answer.active {
  max-height: 300px;
  padding: 0 20px 20px 20px;
}

.faq-widget .faq-answer p {
  padding: 10px 20px 10px 45px;
  margin: 0;
  color: var(--luxury-ivory);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-widget .faq-answer p:last-child {
  padding-bottom: 15px;
}

.faq-widget .faq-answer p strong {
  color: var(--france-blue);
  font-weight: 600;
}

/* Responsive Widget */
@media (max-width: 768px) {
  .faq-widget {
    padding: 15px;
    justify-content: center;
  }
  
  .faq-widget-content {
    width: 100%;
    max-width: 400px;
  }
}

/* Footer de contact pour LKI Punaise */
.contact-footer {
  background-color: var(--luxury-black);
  padding: 25px 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 0;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  color: var(--text-light);
}

.contact-info h4 {
  font-size: 1.5rem;
  color: var(--luxury-ivory);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 4px 0;
  line-height: 1.2;
}

.contact-info a {
  color: var(--luxury-gold);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--luxury-bright-gold);
  text-decoration: underline;
}
.social-footer {
  background-color: var(--luxury-black);
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
}

.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.social-link {
  display: block;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-img {
  width: 95px;
  height: 95px;
  filter: brightness(1.1);
}

/* Formulaire */
.form-container {
  max-width: 800px;
  margin: 70px auto 0 auto !important;
  padding: 40px 20px;
  background-color: #4a4a4a !important;
  position: relative;
}

.form-header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 70px;
  min-height: 200px;
}

.form-title {
  font-size: 2.5rem;
  color: #ffffff;
  padding-top: 40px;
  font-weight: 400;
}

.progress-bar {
  background-color: #333;
  border-radius: 10px;
  height: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background: var(--luxury-green); /* Vert lime pour la barre de progression */
  border-radius: 10px;
  transition: width 0.3s ease;
  width: 7.69%;
}

.progress-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

#current-step {
  color: var(--luxury-gold);
  font-weight: bold;
}

/* Étapes du formulaire */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

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

.form-step h3 {
  font-size: 1.8rem;
  color: #ffffff !important;
  margin-bottom: 30px;
  font-weight: 400;
  text-shadow: none;
}

.form-step h4 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 20px 0 15px;
}



/* Bouton géolocalisation */
.geo-button {
  background-color: var(--luxury-green);
  color: var(--luxury-black);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Source Sans 3', 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.geo-button:hover {
  background-color: var(--dark-gold);
  color: var(--luxury-black);
}

/* Groupes de dates */
.date-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.date-group label {
  display: block;
  color: #ffffff !important;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Icône du sélecteur de date - icône SVG moderne */
input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39f8e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='16' rx='3' ry='3'/%3e%3cpath d='M16 2v4M8 2v4M3 10h18'/%3e%3c/svg%3e");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  color: transparent;
  cursor: pointer;
  width: 24px;
  height: 24px;
  opacity: 1;
}

input[type="date"]::-moz-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39f8e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='16' rx='3' ry='3'/%3e%3cpath d='M16 2v4M8 2v4M3 10h18'/%3e%3c/svg%3e");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  color: transparent;
  cursor: pointer;
  width: 24px;
  height: 24px;
  opacity: 1;
}

/* Personnalisation du calendrier popup */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
  display: none;
}

input[type="date"]::-webkit-datetime-edit {
  color: #a39f8e;
  background: transparent;
}

/* Focus sur l'icône calendrier */
input[type="date"]:focus::-webkit-calendar-picker-indicator {
  background-color: rgba(163, 159, 142, 0.1);
  border-radius: 50%;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* Variables CSS pour le calendrier */
:root {
  --calendar-bg: #2a2a2a;
  --calendar-text: #a39f8e;
  --calendar-hover: rgba(163, 159, 142, 0.2);
  --calendar-selected: #a39f8e;
  --calendar-border: rgba(163, 159, 142, 0.3);
}

/* Tentative de style du calendrier popup (limité par le navigateur) */
input[type="date"] {
  color-scheme: dark;
}

/* Calendrier personnalisé moderne */
.custom-calendar {
  position: absolute;
  background: #2a2a2a;
  border: 1px solid rgba(163, 159, 142, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 20px;
  width: 320px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.custom-calendar.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.calendar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.calendar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-nav {
  background: none;
  border: none;
  color: #a39f8e;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.calendar-nav:hover {
  background: rgba(163, 159, 142, 0.2);
  transform: scale(1.1);
}

.calendar-title {
  color: #a39f8e;
  font-family: 'Lora', serif;
  font-size: 18px;
  margin: 0;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.weekday {
  text-align: center;
  color: rgba(163, 159, 142, 0.7);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a39f8e;
  cursor: pointer;
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.calendar-day:hover {
  background: rgba(163, 159, 142, 0.2);
  transform: scale(1.05);
}

.calendar-day.selected {
  background: #a39f8e;
  color: #1a1a1a;
  font-weight: bold;
  box-shadow: 0 0 0 2px rgba(163, 159, 142, 0.3);
}

.calendar-day.today {
  border: 2px solid #a39f8e;
}

.calendar-day.other-month {
  color: rgba(163, 159, 142, 0.3);
}

.calendar-day.disabled {
  color: rgba(163, 159, 142, 0.2);
  cursor: not-allowed;
}

.calendar-day.disabled:hover {
  background: none;
  transform: none;
}

/* Animation d'onde pour la sélection */
.calendar-day::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(163, 159, 142, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.calendar-day:active::before {
  width: 100%;
  height: 100%;
}

/* Styles pour les véhicules multiples */
.vehicle-item {
  border: 1px solid rgba(163, 159, 142, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(163, 159, 142, 0.05);
  position: relative;
}

.vehicle-item h4 {
  color: #a39f8e;
  font-family: 'Lora', serif;
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vehicle-number {
  background: #a39f8e;
  color: #1a1a1a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.vehicle-remove {
  background: none;
  border: none;
  color: rgba(163, 159, 142, 0.6);
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.vehicle-remove:hover {
  background: rgba(163, 159, 142, 0.1);
  color: #a39f8e;
}

.vehicle-type-select {
  width: 100%;
  margin-top: 10px;
}

/* Animation pour l'ajout de véhicules */
.vehicle-item {
  opacity: 0;
  transform: translateY(-10px);
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bouton Menu principal */
.home-menu-button {
  position: absolute;
  top: 10px; /* 10px du haut de la box noire */
  left: 10px; /* 10px du bord gauche de la box noire */
  background: var(--luxury-ivory);
  border: 2px solid var(--luxury-black);
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 3px 12px rgba(74, 74, 74, 0.2);
  font-size: 14px;
  font-weight: 600;
}

/* Le bouton est maintenant positionné relativement à .form-header, donc plus besoin de règles complexes */

.home-menu-button:hover {
  background: var(--luxury-black);
  border-color: var(--luxury-black);
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 18px rgba(74, 74, 74, 0.3);
}

.home-menu-button:hover .home-text {
  color: var(--luxury-ivory);
}

.home-menu-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(74, 74, 74, 0.2);
}

.home-icon {
  font-size: 18px;
  line-height: 1;
  display: none; /* Masqué par défaut sur desktop */
}

.home-text {
  font-size: 14px;
  font-weight: 600;
  display: block; /* Affiché par défaut sur desktop */
}

.home-icon {
  font-size: 18px;
  line-height: 1;
  display: none; /* Masqué par défaut sur desktop */
  color: var(--luxury-black);
}

.home-menu-button:hover .home-icon {
  color: var(--luxury-ivory);
}

.home-text {
  color: var(--luxury-black);
  font-size: 14px;
  font-weight: 600;
  display: block; /* Affiché par défaut sur desktop */
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* Adaptation responsive */
@media (max-width: 768px) {
  .form-container {
    margin: 70px 20px 0 20px; /* Marges latérales pour tablette */
  }
  
  /* Le bouton reste à 10px de distance sur tablette aussi */
  .home-menu-button {
    padding: 12px 16px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .home-text {
    font-size: 13px;
    font-weight: 600;
    display: block; /* Encore visible sur tablette */
  }
  
  .home-icon {
    font-size: 16px;
    display: none; /* Pas encore affiché sur tablette */
  }
}

@media (max-width: 480px) {
  .form-container {
    margin: 60px 15px 0 15px; /* Marges latérales pour mobile */
  }
  
  /* Le bouton reste à 10px de distance sur mobile aussi */
  .home-menu-button {
    padding: 12px;
    min-width: 44px; /* Taille minimale tactile */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  
  .home-text {
    display: none; /* Masquer le texte sur mobile */
  }
  
  .home-icon {
    display: block; /* Afficher la flèche sur mobile */
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
  }
}

/* Pour les écrans très petits en mode paysage */
@media (max-width: 640px) and (max-height: 480px) {
  .form-container {
    margin: 60px 10px 0 10px; /* Marges réduites en mode paysage */
  }
  
  /* Le bouton reste à 10px de distance en mode paysage aussi */
  .home-menu-button {
    padding: 10px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .home-text {
    display: none;
  }
  
  .home-icon {
    display: block;
    font-size: 18px;
    font-weight: bold;
  }
}

/* Sélecteur de code pays */
.phone-input-container {
  display: flex;
  gap: 0;
  position: relative;
}

.country-selector {
  position: relative;
  min-width: 120px;
}

.selected-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 12px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(163, 159, 142, 0.3);
  border-right: none;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 54px;
  box-sizing: border-box;
}

.selected-country:hover {
  border-color: rgba(163, 159, 142, 0.5);
  background: rgba(163, 159, 142, 0.1);
}

.selected-country .flag {
  font-size: 18px;
}

.selected-country .code {
  color: #a39f8e;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.selected-country .arrow {
  color: rgba(163, 159, 142, 0.6);
  font-size: 12px;
  transition: transform 0.2s ease;
}

.country-selector.open .selected-country .arrow {
  transform: rotate(180deg);
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #2a2a2a;
  border: 1px solid rgba(163, 159, 142, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  max-height: 300px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.country-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-search {
  width: 100%;
  padding: 12px;
  background: rgba(26, 26, 26, 0.9);
  border: none;
  border-bottom: 1px solid rgba(163, 159, 142, 0.2);
  color: #a39f8e;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  outline: none;
}

.country-search::placeholder {
  color: rgba(163, 159, 142, 0.6);
}

.country-list {
  max-height: 240px;
  overflow-y: auto;
}

.country-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(163, 159, 142, 0.1);
}

.country-item:hover {
  background: rgba(163, 159, 142, 0.1);
}

.country-item.highlighted {
  background: rgba(163, 159, 142, 0.2);
}

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

.country-item .flag {
  font-size: 16px;
  width: 20px;
}

.country-item .name {
  color: #a39f8e;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  flex-grow: 1;
}

.country-item .code {
  color: rgba(163, 159, 142, 0.8);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.phone-number {
  border-radius: 0 8px 8px 0 !important;
  border-left: none !important;
  flex-grow: 1;
}

/* Scrollbar personnalisée pour la liste des pays */
.country-list::-webkit-scrollbar {
  width: 6px;
}

.country-list::-webkit-scrollbar-track {
  background: rgba(163, 159, 142, 0.1);
}

.country-list::-webkit-scrollbar-thumb {
  background: rgba(163, 159, 142, 0.3);
  border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 159, 142, 0.5);
}

/* Styles pour les embarcations multiples */
.boat-item {
  border: 1px solid rgba(163, 159, 142, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(163, 159, 142, 0.05);
  position: relative;
}

.boat-item h4 {
  color: #a39f8e;
  font-family: 'Lora', serif;
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.boat-number {
  background: #a39f8e;
  color: #1a1a1a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.boat-remove {
  background: none;
  border: none;
  color: rgba(163, 159, 142, 0.6);
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.boat-remove:hover {
  background: rgba(163, 159, 142, 0.1);
  color: #a39f8e;
}

.boat-type-select, .boat-size-slider {
  width: 100%;
  margin-top: 10px;
}

.boat-other-details {
  margin-top: 15px;
  padding: 15px;
  background: rgba(163, 159, 142, 0.08);
  border-radius: 6px;
}

.boat-other-details textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid rgba(163, 159, 142, 0.3);
  border-radius: 6px;
  background: rgba(26, 26, 26, 0.8);
  color: #a39f8e;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  resize: vertical;
}

.boat-other-details textarea::placeholder {
  color: rgba(163, 159, 142, 0.6);
}

.boat-size-container {
  margin-top: 15px;
}

.boat-size-container h5 {
  color: #a39f8e;
  font-family: 'Lora', serif;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Animation pour l'ajout d'embarcations */
.boat-item {
  opacity: 0;
  transform: translateY(-10px);
  animation: slideInBoat 0.3s ease forwards;
}

@keyframes slideInBoat {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Styles pour les icônes de nuisibles */
.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  margin-bottom: 20px;
}

.pest-icon-img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-card:hover .pest-icon-img {
  transform: scale(1.1);
}

/* Styles pour les différentes descriptions de services */
.service-description-blue,
.service-description-white,
.service-description-red {
  font-family: 'Source Sans 3', 'Arial', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  padding: 0 10px;
}

.service-description-blue {
  color: #87CEEB; /* Bleu clair */
}

.service-description-white {
  color: #f0f0f0; /* Blanc cassé */
}

.service-description-red {
  color: #FFB6C1; /* Rose/rouge clair */
}
.pest-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pest-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #000000; /* Noir pur exactement comme sur l'image */
  border: 1px solid #1a1a1a; /* Bordure très sombre pour se fondre */
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff; /* Texte blanc pur */
  margin-bottom: 10px;
}

.pest-option:hover {
  border-color: #555555;
  background-color: #111111;
}

.pest-option input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  margin-right: 15px;
  position: relative;
  transition: all 0.3s ease;
  background-color: transparent;
}

.pest-option input[type="checkbox"]:checked + .checkbox-custom {
  border-color: var(--luxury-green);
  background-color: var(--luxury-green);
}

.pest-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  color: #000000; /* Coche noire sur fond vert */
  font-size: 14px;
  font-weight: bold;
  transform: translate(-50%, -50%);
}

.pest-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff !important;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important; /* Texte blanc pour lisibilité */
  margin-bottom: 10px;
}

.radio-option:hover {
  border-color: #ffffff !important;
  background-color: #2a2a2a !important;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff !important;
  border-radius: 50%;
  margin-right: 15px;
  position: relative;
  transition: all 0.3s ease;
  background-color: transparent;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #00ff00 !important; /* Vert vif pour la sélection */
  background-color: rgba(0, 255, 0, 0.1);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #00ff00 !important; /* Vert vif */
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Sections conditionnelles */
.conditional-section {
  margin-top: 20px;
  padding: 20px;
  background-color: var(--luxury-matte-black);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.conditional-section.hidden {
  display: none;
}

/* Slider pour yacht */
.slider-container {
  margin: 20px 0;
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #8a8a8a;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--luxury-green);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--luxury-green);
  cursor: pointer;
  border: none;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

#yacht-size-value {
  color: var(--luxury-green);
  font-weight: bold;
}

/* Formulaire de contact */
.contact-form {
  display: grid;
  gap: 20px;
}

/* Navigation du formulaire */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 20px;
}

.nav-button {
  padding: 15px 30px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background-color: transparent;
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.nav-button:hover {
  border-color: var(--luxury-gold);
  background-color: var(--luxury-gold);
  color: var(--luxury-black);
}

.nav-button--primary {
  background-color: var(--luxury-grey-matte);
  border-color: var(--luxury-grey-matte);
  color: var(--luxury-black);
}

.nav-button--primary:hover {
  background-color: var(--luxury-gold);
  border-color: var(--luxury-gold);
  color: var(--luxury-black);
}

.nav-button.hidden {
  display: none;
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #666666;
  border-color: #666666;
}

/* Page récapitulatif */
.summary-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.summary-container h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 300;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.summary-section {
  background-color: var(--luxury-matte-black);
  border: 2px solid var(--luxury-gold);
  border-radius: 12px;
  padding: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.summary-section:hover {
  border-color: var(--luxury-ivory);
  box-shadow: 0 5px 15px rgba(201, 169, 110, 0.2);
}

.summary-section h4 {
  color: var(--luxury-gold);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--luxury-grey-matte);
  padding-bottom: 8px;
}

.summary-section p {
  color: var(--text-secondary);
  margin: 8px 0;
  line-height: 1.5;
}

.summary-section .modify-btn {
  position: absolute;
  bottom: 15px;
  right: 20px;
  background-color: transparent;
  border: 1px solid var(--luxury-gold);
  color: var(--luxury-gold);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.summary-section .modify-btn:hover {
  background-color: var(--luxury-gold);
  color: var(--luxury-black);
}

.summary-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

/* Page de confirmation */
.confirmation-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

/* Styles pour les nouvelles étapes */
.custom-input {
  margin-top: 20px;
  padding: 20px;
  background-color: var(--luxury-matte-black);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.custom-input.hidden {
  display: none;
}

.custom-input label {
  color: var(--luxury-gold);
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
}

.accommodation-details {
  margin-top: 30px;
}

.accommodation-details label {
  color: var(--luxury-gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

.accommodation-details textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--luxury-matte-black);
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: all 0.3s ease;
}

.accommodation-details textarea:focus {
  border-color: var(--luxury-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.accommodation-details textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.8;
}

.accommodation-details.required-field label::after {
  content: " *";
  color: var(--luxury-gold);
  font-weight: bold;
}

.accommodation-details.required-field {
  border-left: 3px solid var(--luxury-gold);
  padding-left: 15px;
}

.confirmation-container h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 300;
}

.confirmation-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Classes utilitaires */
.hidden {
  display: none !important;
}

/* Autocomplétion des adresses */
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--luxury-matte-black);
  border: 2px solid var(--luxury-green);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

/* Masquer les suggestions quand elles ne doivent pas être visibles */
.address-suggestions:not([style*="display: block"]) {
  pointer-events: none;
  visibility: hidden;
}

.suggestion-item {
  padding: 12px 15px;
  cursor: pointer;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

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

.suggestion-item:hover,
.suggestion-item.selected {
  background-color: var(--luxury-green);
  color: var(--luxury-black);
}

.suggestion-main {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Position relative pour les conteneurs d'input */
.form-step {
  position: relative;
}

.form-step input[type="text"] {
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-subtext {
    font-size: 1rem;
    white-space: normal;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .date-inputs {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    flex-direction: column;
  }

  .summary-actions {
    flex-direction: column;
  }

  .social-container {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .header-with-stars {
    height: 80px;
    background-color: #000000 !important;
    background: #000000 !important;
  }

  .hero-banner {
    height: 120px;
  }

  .main-title {
    font-size: 1.5rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .form-container {
    padding: 20px 10px;
  }

  .service-card {
    padding: 20px;
  }

  .social-img {
    width: 35px;
    height: 35px;
  }
}

/* Styles pour les lettres du drapeau français dans LKI - PRIORITÉ ABSOLUE */
.header-simple .main-title .letter-l {
  color: var(--france-blue) !important;
  font-weight: 900 !important;
  text-shadow: 2px 2px 4px rgba(30, 144, 255, 0.5) !important;
  font-size: 1.1em !important;
  -webkit-text-fill-color: var(--france-blue) !important;
}

.header-simple .main-title .letter-k {
  color: var(--france-white) !important;
  font-weight: 900 !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1), 0 0 12px rgba(255, 255, 255, 0.8) !important;
  font-size: 1.1em !important;
  -webkit-text-fill-color: var(--france-white) !important;
}

.header-simple .main-title .letter-i {
  color: var(--france-red) !important;
  font-weight: 900 !important;
  text-shadow: 2px 2px 4px rgba(239, 65, 53, 0.5) !important;
  font-size: 1.1em !important;
  -webkit-text-fill-color: var(--france-red) !important;
}

/* Styles pour les descriptions de services - Couleurs drapeau français */
.service-card .service-description-blue {
  color: var(--france-blue) !important;
  font-weight: 600 !important;
}

.service-card .service-description-white {
  color: var(--france-white) !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}

.service-card .service-description-red {
  color: var(--france-red) !important;
  font-weight: 600 !important;
}

/* Styles pour les services de lutte contre les nuisibles */
.pest-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.pest-icon-img {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin-bottom: 1rem;
  background: transparent;
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

/* Header simplifié sans étoiles */
.header-simple {
  background: #000000 !important; /* Noir pur avec !important */
  background-color: #000000 !important; /* Également en propriété étendue */
  padding: 2rem 0;
  text-align: center;
}

.header-simple .main-title {
  font-family: 'Oswald', 'Impact', 'Franklin Gothic Medium', 'Arial Black', sans-serif !important;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* Couleur par défaut pour "Punaise" dans le titre */
.header-simple .main-title {
  color: #ffffff;
}

/* Footer de contact */
.contact-footer {
  background: var(--luxury-matte-black);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-light);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info h4 {
  color: var(--luxury-ivory);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--luxury-ivory);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--text-light);
}

/* ===========================================
   STYLES SPÉCIFIQUES LKI PUNAISE FORMULAIRE
   =========================================== */

/* Options de nuisibles */
.pest-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pest-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.pest-option:hover {
  border-color: #ffffff !important;
  background-color: #2a2a2a !important;
}

.pest-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff !important;
}

/* Niveaux d'infestation */
.infestation-levels {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.level-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.level-option:hover {
  border-color: #ffffff !important;
  background-color: #2a2a2a !important;
}

.level-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff !important;
}

/* Groupes de champs */
.field-group {
  margin-bottom: 20px;
}

.field-group label {
  display: block;
  color: #ffffff !important;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Champs de contact */
.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Boutons de navigation du formulaire */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.btn-secondary {
  background-color: #555555 !important;
  color: #ffffff !important;
  border: 2px solid #555555;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #777777 !important;
  border-color: #777777;
}

.btn-primary {
  background-color: #00ff00 !important; /* Vert lime exactement comme sur l'image */
  color: #000000 !important; /* Texte noir sur fond vert */
  border: none; /* Pas de bordure pour correspondre à l'image */
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #00cc00 !important;
  border-color: #00cc00;
  transform: translateY(-2px);
}

/* Indicateurs de progression */
.step-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.step-indicator {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333333;
  color: #ffffff;
  font-weight: bold;
  border: 2px solid #555555;
  transition: all 0.3s ease;
}

.step-indicator.active {
  background-color: #00ff00 !important;
  color: #000000 !important;
  border-color: #00ff00;
}

.step-indicator.completed {
  background-color: #008800 !important;
  color: #ffffff !important;
  border-color: #008800;
}

/* Styles pour les checkboxes (sélection multiple) */
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff !important;
  border-radius: 4px;
  margin-right: 15px;
  position: relative;
  transition: all 0.3s ease;
  background-color: transparent;
  flex-shrink: 0;
}

.pest-option input[type="checkbox"]:checked + .checkbox-custom {
  border-color: #00ff00 !important;
  background-color: #00ff00 !important;
}

.pest-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  color: #000000;
  font-size: 14px;
  font-weight: bold;
  transform: translate(-50%, -50%);
}

.pest-option input[type="checkbox"] {
  display: none;
}

/* Style pour le champ "Autre nuisible" */
.autre-details {
  margin-top: 20px;
  padding: 20px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.autre-details label {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

/* Réduire la ligne blanche sous les boutons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px !important; /* Réduit de 30px à 20px */
  margin-bottom: 10px !important; /* Réduit l'espace en bas */
  gap: 20px;
}

/* =========================================
   STYLES SPÉCIFIQUES LKI PUNAISE - OPTIMISÉS
   ========================================= */

/* Sélection des nuisibles */
.pest-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Sélection de la gravité */
.severity-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.severity-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.severity-option:hover {
  border-color: #ffffff !important;
  background-color: #2a2a2a !important;
}

.severity-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff !important;
}

/* Options de surface */
.surface-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.surface-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.surface-option:hover {
  border-color: #ffffff !important;
  background-color: #2a2a2a !important;
}

.surface-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff !important;
}

/* Options d'urgence */
.urgency-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.urgency-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  background-color: #1a1a1a !important;
  border: 2px solid #555555;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.urgency-option:hover {
  border-color: #ffffff !important;
  background-color: #2a2a2a !important;
}

.urgency-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff !important;
}

/* Section détails */
.details-section {
  margin-top: 20px;
}

.details-section label {
  display: block;
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Informations de contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Entrée de localisation */
.location-input {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Optimisation des boutons */
.geo-button {
  background-color: #00ff00 !important;
  color: #000000 !important;
  border: 2px solid #00ff00;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.geo-button:hover {
  background-color: #00cc00 !important;
  border-color: #00cc00;
  transform: translateY(-2px);
}

/* Indicateur de progression optimisé */
.progress-indicator {
  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #333333;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff00, #00cc00);
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 12.5%; /* 1/8 = 12.5% */
}

.progress-text {
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  display: block;
}

/* Media queries pour responsive */
@media (max-width: 768px) {
  /* Correction de la superposition header/hero-banner sur mobile */
  .header-simple {
    height: 90px; /* Hauteur réduite sur mobile */
  }
  
  .main-title,
  h1.main-title,
  .header-content .main-title {
    font-size: 3rem; /* Taille de police réduite sur mobile */
  }
  
  .hero-banner {
    margin-top: 0; /* Supprime la marge négative sur mobile */
    height: 300px; /* Hauteur légèrement réduite */
  }
  
  .form-container {
    padding: 20px 15px;
  }
  
  .pest-selection,
  .severity-levels,
  .surface-options,
  .urgency-options {
    gap: 10px;
  }
  
  .pest-option,
  .severity-option,
  .surface-option,
  .urgency-option {
    padding: 12px;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Media queries spécifiques pour iPhone et petits écrans */
@media (max-width: 480px) {
  .header-simple {
    height: 80px; /* Encore plus compact sur très petits écrans */
  }
  
  .main-title,
  h1.main-title,
  .header-content .main-title {
    font-size: 2.5rem; /* Taille encore plus petite sur iPhone */
  }
  
  .hero-banner {
    margin-top: 0; /* Confirme l'absence de marge négative */
    height: 280px; /* Hauteur optimisée pour iPhone */
    padding: 20px 15px; /* Ajoute du padding interne */
  }
  
  .hero-content {
    padding: 0 15px; /* Espace interne pour le contenu */
  }
  
  .hero-headline {
    font-size: 1.8rem; /* Taille réduite pour iPhone */
    line-height: 1.3;
  }
  
  .hero-subtext {
    font-size: 1rem; /* Texte plus petit */
    line-height: 1.5;
  }
}

/* Media query spécifique pour iPhone 12 Pro (390x844) */
@media (min-width: 376px) and (max-width: 390px) {
  .hero-headline {
    font-size: 1.6rem; /* Taille optimisée pour iPhone 12 Pro */
    line-height: 1.3;
    margin-bottom: 22px;
    padding: 0 12px; /* Padding adapté à la largeur de 390px */
  }
  
  .hero-subtext {
    font-size: 0.95rem; /* Légèrement plus grand que iPhone SE */
    line-height: 1.45;
    padding: 0 12px;
  }
  
  .hero-content {
    padding: 0 12px; /* Padding intermédiaire */
  }
}

/* Media query spécifique pour iPhone SE (375x667) et écrans très petits */
@media (max-width: 375px) {
  .hero-headline {
    font-size: 1.5rem; /* Encore plus petit pour iPhone SE */
    line-height: 1.25;
    margin-bottom: 20px;
    padding: 0 10px; /* Ajoute un peu de padding pour éviter les débordements */
  }
  
  .hero-subtext {
    font-size: 0.9rem; /* Texte encore plus compact */
    line-height: 1.4;
    padding: 0 10px;
  }
  
  .hero-content {
    padding: 0 10px; /* Réduit encore le padding */
  }
}

/* Media query spécifique pour iPad portrait (820x1180) et écrans similaires */
@media (min-width: 769px) and (max-width: 820px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr); /* Force 3 colonnes */
    gap: 25px; /* Réduit l'espace entre les cartes */
    max-width: 800px; /* Limite la largeur pour bien s'adapter */
    padding: 0 15px; /* Ajoute un peu d'espace sur les côtés */
  }
  
  .service-card {
    padding: 20px; /* Réduit le padding interne pour optimiser l'espace */
    min-height: 280px; /* Assure une hauteur uniforme */
  }
  
  .service-title {
    font-size: 1.3rem; /* Ajuste la taille du titre */
  }
  
  .pest-icon-img {
    width: 50px; /* Réduit légèrement la taille de l'icône */
    height: 50px;
  }
}

/* Media query FORCÉE pour iPad Air avec !important */
@media screen and (min-width: 1180px) and (max-width: 1200px) {
  .services-container .service-card .pest-icon-img {
    max-width: 250px !important; /* FORCE des icônes très grandes */
    max-height: 250px !important;
    width: 250px !important;
    height: 250px !important;
  }
  
  .services-container .service-card {
    padding: 20px !important; /* FORCE padding très réduit */
    min-height: 280px !important; /* FORCE hauteur très réduite */
    max-height: 280px !important; /* Limite maximale */
  }
  
  .services-container .service-card .service-title {
    margin-bottom: 10px !important; /* FORCE marge réduite */
    font-size: 1.3rem !important;
  }
  
  .services-container .service-card .service-description-blue,
  .services-container .service-card .service-description-white,
  .services-container .service-card .service-description-red {
    font-size: 0.9rem !important; /* FORCE texte plus petit */
    line-height: 1.3 !important;
    padding: 0 5px !important;
    margin: 0 !important;
  }
  
  .services-container .service-card .service-icon {
    margin-bottom: 15px !important; /* FORCE marge réduite */
  }
}

/* Règle alternative pour iPad Air en mode paysage */
@media screen and (width: 1180px) {
  .pest-icon-img {
    width: 250px !important;
    height: 250px !important;
    max-width: 250px !important;
    max-height: 250px !important;
  }
  
  .service-card {
    min-height: 280px !important;
    max-height: 280px !important;
    padding: 20px !important;
  }
}

/* Media query spécifique pour Microsoft Surface Pro 7 et écrans similaires - FORCE 1 ligne */
@media (min-width: 1024px) {
  .services-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important; /* 3 colonnes égales sans minmax */
    gap: 25px !important;
    max-width: 1400px !important; /* Largeur élargie */
    margin: 0 auto !important;
    padding: 0 30px !important;
    width: 100% !important;
  }
  
  .service-card {
    padding: 25px !important; /* Padding réduit pour tenir sur 1 ligne */
    min-height: 320px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  
  .service-title {
    font-size: 1.4rem !important; /* Taille réduite */
    margin-bottom: 15px !important;
  }
  
  .service-description-blue,
  .service-description-white,
  .service-description-red {
    font-size: 1rem !important; /* Taille réduite pour tenir */
    line-height: 1.5 !important;
    padding: 0 8px !important;
  }
  
  .pest-icon-img {
    max-width: 80px !important; /* Icônes plus petites */
    max-height: 80px !important;
    width: 80px !important;
    height: 80px !important;
  }
}

/* Media query spécifique pour iPad Mini (768x1024) */
@media (min-width: 768px) and (max-width: 768px) and (min-height: 1000px) {
  /* Footer */
  .contact-info h4 {
    font-size: 1.8rem; /* Augmente le titre principal */
    margin-bottom: 15px;
  }
  
  .contact-info p {
    font-size: 1.3rem; /* Augmente le texte des paragraphes */
    margin: 6px 0;
    line-height: 1.3;
  }
  
  .contact-info a {
    font-size: 1.3rem; /* Assure que les liens ont la même taille */
    font-weight: 700;
  }
  
  .contact-footer {
    padding: 35px 25px; /* Augmente légèrement le padding */
  }
  
  /* Service Cards */
  .service-title {
    font-size: 1.8rem; /* Augmente les titres des services */
    margin-bottom: 18px;
  }
  
  .service-card p,
  .service-description-blue,
  .service-description-white,
  .service-description-red {
    font-size: 1.3rem; /* Augmente le texte de description */
    line-height: 1.7;
    padding: 0 15px;
  }
  
  .service-card {
    padding: 35px; /* Augmente le padding des cartes */
    min-height: 320px; /* Assure une hauteur uniforme plus grande */
  }
}

/* Media query alternative pour iPad Mini (approche par largeur) */
@media (width: 768px) {
  /* Footer */
  .contact-info h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .contact-info p {
    font-size: 1.3rem;
    margin: 6px 0;
    line-height: 1.3;
  }
  
  .contact-info a {
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .contact-footer {
    padding: 35px 25px;
  }
  
  /* Service Cards */
  .service-title {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
  
  .service-card p,
  .service-description-blue,
  .service-description-white,
  .service-description-red {
    font-size: 1.3rem;
    line-height: 1.7;
    padding: 0 15px;
  }
  
  .service-card {
    padding: 35px;
    min-height: 320px;
  }
}

/* Règle alternative pour forcer 3 colonnes sur écrans larges (Surface Pro, desktop) */
@media screen and (min-width: 1024px) {
  .services-section .services-container {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-flow: column !important;
    overflow-x: visible !important;
  }
  
  .services-section .service-card {
    grid-column: auto !important;
    width: auto !important;
    min-width: 280px !important;
  }
}

/* Règles spécifiques pour iOS Safari (gestion des problèmes de viewport) */
@supports (-webkit-touch-callout: none) {
  .header-simple {
    position: relative; /* Force le positionnement relatif sur iOS */
    z-index: 1;
  }
  
  .hero-banner {
    position: relative; /* Force le positionnement relatif sur iOS */
    z-index: 0;
    margin-top: 0 !important; /* Force la suppression de la marge négative */
  }
}

/* Style pour le bouton retour au site (page merci) */
.return-home-button {
  font-family: 'Segoe UI', 'Tahoma', sans-serif;
  background-color: transparent;
  color: var(--luxury-ivory);
  border: 1.5px solid var(--luxury-ivory);
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
  margin-top: 25px;
}

.return-home-button:hover {
  background-color: var(--luxury-ivory);
  color: var(--luxury-black);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 232, 232, 0.3);
}

/* === CLASSES OPTIMISÉES POUR PAGE MERCI.HTML === */

/* Icône de confirmation */
.confirmation-icon {
  font-size: 64px;
  margin-bottom: 20px;
  color: var(--luxury-ivory);
}

/* Service card pour page de confirmation */
.service-card--confirmation {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 30px;
}

/* Titre d'urgence */
.emergency-title {
  color: var(--france-red);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

/* Container de marge */
.margin-container {
  margin: 25px 0;
}

/* Numéro de téléphone d'urgence */
.emergency-phone {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--france-blue);
  margin: 0;
  letter-spacing: 1px;
}

/* Container pour les badges d'intervention */
.intervention-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

/* Badge individuel */
.intervention-badge {
  background: var(--luxury-grey-matte);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 200px;
}

/* Texte dans les badges */
.badge-text {
  margin: 0;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}

/* Texte de localisation */
.location-text {
  margin: 8px 0;
  color: var(--france-blue);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Container de ligne */
.line-container {
  margin: 25px 0;
  line-height: 1.8;
}

/* Titre footer confirmation */
.footer-title--confirmation {
  color: #000000;
}

/* Description services footer */
.services-description {
  font-size: 0.9rem;
  color: #f8f8f8;
  margin: 10px 0;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Info contact footer */
.footer-contact-info {
  color: #f8f8f8;
}

/* Texte en rouge et gras pour les badges */
.text-red-bold {
  color: var(--france-red);
  font-weight: bold;
}

/* FORCE LE HEADER EN NOIR PUR - RÈGLE FINALE */
header.header-simple,
.header-simple {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* FORMULAIRE DE RÉSERVATION - COULEURS EXACTES DE L'IMAGE */
#booking-form {
  background-color: #4a4a4a !important; /* Fond gris foncé exact de l'image */
  min-height: 100vh !important;
}

#booking-form .form-container {
  background-color: #4a4a4a !important; /* Fond gris foncé exact de l'image */
  margin: 70px auto 0 auto !important; /* Espacement pour la page */
}

/* Le bouton est maintenant dans form-header, plus besoin de règles spécifiques */

/* Forcer le fond pour toute la page du formulaire */
body:has(#booking-form.active), 
#booking-form.active {
  background-color: #4a4a4a !important;
}

/* Support pour les navigateurs qui ne supportent pas :has() */
.page#booking-form.active {
  background-color: #4a4a4a !important;
  min-height: 100vh !important;
}

/* SERVICE CARDS CLIQUABLES */
.clickable-card {
  cursor: pointer !important;
}

/* MENU BURGER */
.burger-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.burger-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  padding: 0;
  transition: all 0.3s ease;
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-button.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-button.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-button.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.burger-nav {
  position: absolute;
  top: 35px;
  right: 0;
  background-color: #000000;
  border: 1px solid #333333;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 120px;
}

.burger-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.burger-menu-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.burger-menu-item {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.burger-menu-item:hover {
  background-color: #333333;
  color: #ffffff;
}

/* FORMULAIRE DE CONTACT */
#contact-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

#contact-form.active {
  display: flex;
}

.form-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-header {
  background: linear-gradient(135deg, #000000, #333333);
  color: white;
  padding: 30px;
  border-radius: 15px 15px 0 0;
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.form-header h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 700;
}

.form-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
}

.contact-form-grid {
  padding: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.contact-form-grid .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form-grid .form-control:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-form-grid textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.form-actions .btn-secondary {
  background: #f5f5f5;
  color: #666;
  border: 2px solid #e0e0e0;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-actions .btn-secondary:hover {
  background: #e0e0e0;
  color: #333;
}

.form-actions .btn-primary {
  background: linear-gradient(135deg, #000000, #333333);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-actions .btn-primary:hover {
  background: linear-gradient(135deg, #333333, #555555);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ========================================
   COOKIE CONSENT BANNER - RGPD COMPLIANT
   ======================================== */

/* Bandeau principal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  border-top: 3px solid #00ff00;
  box-shadow: 0 -5px 30px rgba(0, 255, 0, 0.15);
  padding: 20px;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-banner-visible {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cookie-banner-icon {
  font-size: 48px;
  animation: cookieRotate 3s ease-in-out infinite;
}

@keyframes cookieRotate {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-title {
  font-family: 'CAYENTO', 'Oswald', sans-serif;
  font-size: 22px;
  color: #00ff00;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookie-banner-description {
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cookie-learn-more {
  color: #00ff00;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cookie-learn-more:hover {
  color: #00cc00;
}

.cookie-banner-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.cookie-btn-primary {
  background: #00ff00;
  color: #2c2c2c;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.cookie-btn-primary:hover {
  background: #00cc00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
}

.cookie-btn-secondary {
  background: transparent;
  color: #e8e8e8;
  border: 2px solid #e8e8e8;
}

.cookie-btn-secondary:hover {
  background: #e8e8e8;
  color: #2c2c2c;
  transform: translateY(-2px);
}

/* Modal de politique de cookies */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.cookie-modal-visible {
  opacity: 1;
}

.cookie-modal-content {
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  border: 3px solid #00ff00;
  border-radius: 15px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 50px rgba(0, 255, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

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

.cookie-modal-header {
  background: #2c2c2c;
  border-bottom: 2px solid #00ff00;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  font-family: 'CAYENTO', 'Oswald', sans-serif;
  font-size: 24px;
  color: #00ff00;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #e8e8e8;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.cookie-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #00ff00;
  transform: rotate(90deg);
}

.cookie-modal-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
  color: #e8e8e8;
}

.cookie-modal-body h3 {
  font-family: 'Oswald', sans-serif;
  color: #00ff00;
  font-size: 20px;
  margin: 20px 0 10px 0;
  text-transform: uppercase;
}

.cookie-modal-body h3:first-child {
  margin-top: 0;
}

.cookie-modal-body h4 {
  color: #e8e8e8;
  font-size: 16px;
  margin: 15px 0 8px 0;
}

.cookie-modal-body p {
  line-height: 1.7;
  margin: 10px 0;
  color: #d0d0d0;
}

.cookie-modal-body ul {
  margin: 10px 0;
  padding-left: 25px;
}

.cookie-modal-body li {
  margin: 8px 0;
  color: #d0d0d0;
}

.cookie-category {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.cookie-preference {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.cookie-preference h4 {
  margin: 0 0 5px 0;
}

.cookie-preference p {
  margin: 0;
  font-size: 13px;
  color: #c0c0c0;
}

/* Toggle switch pour cookies */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #6a6a6a;
  transition: 0.3s;
  border-radius: 30px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: #00ff00;
}

input:checked + .cookie-slider:before {
  transform: translateX(30px);
}

input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-footer {
  background: #2c2c2c;
  border-top: 2px solid #00ff00;
  padding: 20px 25px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* Bouton de gestion dans le footer */
.manage-cookies-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  border: 2px solid #00ff00;
  color: #00ff00;
  padding: 12px 20px;
  border-radius: 30px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
}

.manage-cookies-btn:hover {
  background: #00ff00;
  color: #2c2c2c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
}

/* Notification toast */
.cookie-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  border: 2px solid #00ff00;
  border-radius: 10px;
  padding: 15px 25px;
  color: #e8e8e8;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
  z-index: 100001;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
}

.cookie-notification-visible {
  transform: translateX(0);
  opacity: 1;
}

.cookie-notification-success {
  border-color: #00ff00;
  box-shadow: 0 5px 20px rgba(0, 255, 0, 0.4);
}

.cookie-notification-info {
  border-color: #e8e8e8;
  box-shadow: 0 5px 20px rgba(232, 232, 232, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-banner-icon {
    font-size: 36px;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }

  .cookie-modal-content {
    max-width: 95%;
    margin: 10px;
  }

  .cookie-preference {
    flex-direction: column;
    align-items: flex-start;
  }

  .manage-cookies-btn {
    bottom: 10px;
    right: 10px;
    padding: 10px 15px;
    font-size: 12px;
  }

  .cookie-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 14px;
  }
}

/* Animation pour le scrollbar dans le modal */
.cookie-modal-body::-webkit-scrollbar {
  width: 8px;
}

.cookie-modal-body::-webkit-scrollbar-track {
  background: #2c2c2c;
}

.cookie-modal-body::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 4px;
}

.cookie-modal-body::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Responsive */
@media (max-width: 768px) {
  .form-container {
    width: 95%;
    margin: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .form-header {
    padding: 20px;
  }
  
  .contact-form-grid {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
  }
}