/* ===== SYSTÈME DE DESIGN AMÉLIORÉ ===== */
:root {
  /* Couleurs */
  --primary-orange: #f97300;
  --deep-orange: #e85d00;
  --accent-red: #c80403;
  --elegant-black: #1a1a1a;
  --charcoal: #2d2d2d;
  --pure-white: hsl(0, 0%, 96%);
  --soft-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --border-light: hsla(28, 100%, 49%, 0.322);
  
  /* Typographie */
  --font-elegant: 'Playfair Display', serif;
  --font-modern: 'Inter', sans-serif;
  
  /* Ombres */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 16px 40px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px rgba(249, 115, 0, 0.3);
  
  /* Bordures */
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
  
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
}

/* ===== RÉINITIALISATION ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-modern);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--pure-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== UTILITAIRES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

/* ===== HEADER OPTIMISÉ ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 4vw, 2rem);
  gap: 1rem;
}

/* Logo optimisé */
.logo {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  text-decoration: none;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-container {
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d6b522;
  background: white;
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.2);
  transition: var(--transition);
  flex-shrink: 0;
}

.logo:hover .logo-container {
  border-color: #4a7c59;
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.3);
  transform: scale(1.05);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo-text {
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1.125rem);
  color: #db9807;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-family: var(--font-modern);
}

/* Navigation Desktop */
.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.nav-desktop a {
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  letter-spacing: 0.2px;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-desktop a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-orange), var(--accent-red));
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-desktop a:hover {
  color: var(--primary-orange);
}

.nav-desktop a:hover::before {
  width: 100%;
}

/* Bouton réservation dans nav */
.nav-desktop .btn-reservation {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  color: var(--pure-white);
  font-weight: 600;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.nav-desktop .btn-reservation::before {
  display: none;
}

.nav-desktop .btn-reservation:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #63ff33;
}

/* Menu Mobile Optimisé */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: var(--pure-white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile ul {
  list-style: none;
  padding: 100px 20px 40px;
  margin: 0;
}

.nav-mobile li {
  margin-bottom: 0;
}

.nav-mobile a {
  color: var(--pure-white);
  text-decoration: none;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  transition: var(--transition);
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.nav-mobile a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  transform: scaleY(0);
  transition: var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a:active {
  background: rgba(249, 115, 0, 0.15);
  color: var(--primary-orange);
  transform: translateX(8px);
}

.nav-mobile a:hover::before {
  transform: scaleY(1);
}

/* ===== HERO  ===== */
.hero {
  min-height: 100vh;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
      rgba(26, 26, 26, 0.7) 0%, 
      rgba(238, 235, 232, 0.3) 50%, 
      rgba(200, 4, 3, 0.4) 100%);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/frontend/Résidence\ Meublé\ de\ luxe\ à\ Saint-Louis.svg') no-repeat center center/cover;
  z-index: 1;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: clamp(1rem, 4vw, 2rem);
  animation: fadeInUp 1s ease-out;
  margin-top: clamp(60px, 15vh, 100px);
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(40px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-elegant);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 700;
  margin-bottom: clamp(1rem, 3vh, 2rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #FF8C00 0%, #FFD700 25%, #D4AF37 50%, #FF8C00 75%, #FF4500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BOUTONS OPTIMISÉS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  padding: clamp(0.875rem, 2vw, 1.25rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  min-height: 52px;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn:active {
  transform: translateY(-1px);
}

/* ===== SECTIONS OPTIMISÉES ===== */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-elegant);
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: var(--elegant-black);
  position: relative;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: clamp(-0.75rem, -2vw, -1.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 10vw, 80px);
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--accent-red));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--medium-gray);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  padding: 0 1rem;
}

/* ===== CARTES OPTIMISÉES ===== */
.card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

/* ===== ABOUT OPTIMISÉ ===== */
.about-section {
  background: linear-gradient(135deg, #fafafa 0%, #f0f2f5 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-elegant);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--elegant-black);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.about-subtitle {
  color: var(--primary-orange);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
}

.about-content p {
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin: clamp(1.5rem, 4vw, 3rem) 0;
}

.feature {
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.feature-number {
  display: block;
  font-family: var(--font-elegant);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--charcoal);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.about-image {
  position: relative;
  height: clamp(300px, 50vw, 600px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: url('../images/frontend/Apropos_Résidence à Saint-Louis-Résidence Mbeublé Merveilleuse.svg') no-repeat center center/cover;
}

/* ===== CHAMBRES OPTIMISÉES ===== */
.rooms-section {
  background: var(--pure-white);
}

.rooms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.room-card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.room-image {
  height: clamp(220px, 35vw, 280px);
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--accent-red) 100%);
  position: relative;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.room-card:hover .room-image img {
  transform: scale(1.1);
}

.room-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: clamp(0.75rem, 2vw, 1rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.room-price {
  color: var(--pure-white);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  background: rgba(249, 115, 0, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.room-status {
  background: rgba(220, 53, 69, 0.95);
  color: var(--pure-white);
  padding: 0.4rem 0.9rem;
  border-radius: 15px;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 600;
  white-space: nowrap;
}

.room-size {
  background: rgba(0, 0, 0, 0.8);
  color: var(--pure-white);
  padding: 0.4rem 0.9rem;
  border-radius: 15px;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  white-space: nowrap;
}

.room-type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-medium);
}

.room-details {
  padding: clamp(1rem, 3vw, 1.5rem);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.room-name {
  font-family: var(--font-elegant);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--elegant-black);
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.room-description {
  color: var(--medium-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: clamp(0.9rem, 2vw, 1rem);
  flex-grow: 1;
}

.room-basic-info {
  margin-bottom: 1rem;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.room-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--soft-gray);
  border-radius: 20px;
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  font-weight: 500;
  color: var(--medium-gray);
  white-space: nowrap;
}

.room-price-badge {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red)) !important;
  color: white !important;
  font-weight: 700 !important;
}

.room-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-details {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  background: var(--elegant-black);
  color: var(--pure-white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  flex: 1;
  min-height: 48px;
  white-space: nowrap;
}

.btn-details:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
}

.btn-details i {
  transition: var(--transition-fast);
}

.btn-details.active i {
  transform: rotate(180deg);
}

.room-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  flex: 1;
  min-height: 48px;
  white-space: nowrap;
}

.room-link:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.room-link.disabled {
  background: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

.room-full-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-10px);
}

.room-full-details.active {
  opacity: 1;
  max-height: 2000px;
  transform: translateY(0);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(249, 115, 0, 0.2);
}

.room-amenities-preview h4,
.room-features h4 {
  color: var(--elegant-black);
  margin-bottom: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-amenities-preview ul,
.room-features ul {
  list-style: none;
  margin-bottom: 1rem;
}

.room-amenities-preview li,
.room-features li {
  color: var(--medium-gray);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.room-amenities-preview i.fa-check {
  color: var(--primary-orange);
  font-size: 0.9rem;
}

/* ===== SERVICES OPTIMISÉS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: var(--pure-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.25rem);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.service-icon {
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--primary-orange);
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-elegant);
    color: var(--elegant-black);
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    flex-shrink: 0;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.service-divider {
    margin: clamp(0.5rem, 1vw, 0.75rem) 0;
    height: 1px;
    background: var(--border-light);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ===== GALERIE ===== */
.gallery-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding: 0 1rem;
}

.filter-btn {
  padding: clamp(0.7rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  border: 2px solid var(--primary-orange);
  background: transparent;
  color: var(--primary-orange);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  min-height: 48px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.filter-btn:not(.active):hover {
  background: rgba(249, 115, 0, 0.1);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-orange);
  color: var(--pure-white);
  border: 2px solid var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.filter-btn.active:hover {
  background: var(--deep-orange);
  border-color: var(--deep-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.gallery-card {
    position: relative;
    height: clamp(220px, 35vw, 260px);
    overflow: hidden;
}

.gallery-slider {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover .slide.active img {
  transform: scale(1.1);
}

.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.slide-prev { left: 10px; }
.slide-next { right: 10px; }

.gallery-card:hover .slide-prev,
.gallery-card:hover .slide-next {
  opacity: 1;
}

.slide-prev:hover,
.slide-next:hover {
  background: var(--primary-orange);
}

.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--pure-white);
  transform: scale(1.3);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: clamp(1rem, 3vw, 1.5rem);
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  padding: clamp(0.75rem, 2vw, 1rem);
}

.gallery-content {
  color: var(--pure-white);
  transform: translateY(20px);
  transition: var(--transition);
  width: 100%;
}

.gallery-card:hover .gallery-content {
  transform: translateY(0);
}

.gallery-content h3 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 0.25rem;
}

.gallery-content p {
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.gallery-view-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--pure-white);
  background: transparent;
  color: var(--pure-white);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-view-btn:hover {
  background: var(--pure-white);
  color: var(--primary-orange);
  transform: scale(1.1);
}

.gallery-actions {
  text-align: center;
}

.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  padding: clamp(1rem, 2vw, 1.25rem) clamp(2rem, 4vw, 3rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 52px;
}

.btn-gallery:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ===== CORRECTIONS SPÉCIFIQUES MODALE GALERIE ===== */
#galleryModal.modal {
    z-index: 9999;
    display: none;
}

#galleryModal.modal.active {
    display: flex;
}

#galleryModal .modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#galleryModal .modal-close:hover {
    background: var(--accent-red);
    transform: rotate(90deg) scale(1.1);
}

#galleryModal .modal-prev,
#galleryModal .modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid white;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#galleryModal .modal-prev {
    left: 20px;
}

#galleryModal .modal-next {
    right: 20px;
}

#galleryModal .modal-prev:hover,
#galleryModal .modal-next:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

#galleryModal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
    z-index: 9998;
}

#galleryModal .modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    z-index: 10000;
    margin: auto;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

/* ===== TÉMOIGNAGES STYLES DESKTOP ===== */
.testimonials-section {
  background: linear-gradient(135deg, var(--elegant-black) 0%, #2d2d2d 100%);
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
}

.testimonials-section .section-title {
  color: var(--pure-white);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin: clamp(2rem, 5vw, 3rem) auto;
  border-radius: var(--border-radius-lg);
  max-width: 1200px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 0.5rem;
  align-items: stretch;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  padding: 0 clamp(0.5rem, 2vw, 0.75rem);
  max-width: 380px;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
  word-wrap: break-word; 
  overflow-wrap: break-word;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: clamp(0.25rem, 1.5vw, 0.5rem);
  left: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--primary-orange);
  opacity: 0.3;
  font-family: var(--font-elegant);
  line-height: 1;
}

.testimonial-card:hover .testimonial-content {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.12);
}

.rating {
  color: var(--primary-orange);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.testimonial-content p {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.client-info strong {
  color: var(--pure-white);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
}

.client-info span {
  color: var(--primary-orange);
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}

.carousel-prev,
.carousel-next {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  border: none;
  border-radius: 50%;
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.carousel-dots {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.carousel-dot {
  width: clamp(12px, 3vw, 14px);
  height: clamp(12px, 3vw, 14px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary-orange);
  box-shadow: 0 0 20px rgba(249, 115, 0, 0.5);
}

/* ===== CONTACT  ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.contact-info {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.info-card {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--soft-gray);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-orange);
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.info-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-medium);
}

.info-card h3 {
  color: var(--elegant-black);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
}

.info-card i {
  color: var(--primary-orange);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.info-card p {
  color: var(--medium-gray);
  line-height: 1.7;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.info-card a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.info-card a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

.contact-form {
  background: var(--soft-gray);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: clamp(0.875rem, 2vw, 1.25rem);
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--pure-white);
  font-family: var(--font-modern);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 0, 0.1);
}

.form-group textarea {
  min-height: clamp(120px, 20vw, 150px);
  resize: vertical;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  min-height: 52px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.message {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: none;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ===== NEWSLETTER & MAP ===== */
.newsletter-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.newsletter-container,
.map-container {
  background: var(--soft-gray);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
}

.newsletter-container h3,
.map-container h3 {
  color: var(--elegant-black);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 600;
}

.newsletter-container p {
  color: var(--medium-gray);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.7;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #000000 0%, #1a0101 100%);
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
}

.footer-top {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  padding: 0.5rem 0;
  position: relative;
}

.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C150,100 350,0 600,60 C850,120 1050,20 1200,60 V120 H0 V60 Z' fill='%23000000'/%3E%3C/svg%3E") repeat-x;
  background-size: 1200px 60px;
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 1200px; }
}

.footer-main {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2rem);
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.footer-logo {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-description {
  color: #cccccc;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item,
.contact-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cccccc;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-orange);
}

.contact-item i {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary-orange);
  transform: translateX(5px);
}

.footer-links i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1rem);
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--primary-orange);
  transition: var(--transition);
}

.schedule-item:hover {
  background: rgba(249, 115, 0, 0.1);
  transform: translateX(3px);
}

.schedule-day {
  font-weight: 600;
  color: var(--pure-white);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.schedule-time {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  margin-top: 1rem;
}

.social-link {
  width: clamp(45px, 10vw, 50px);
  height: clamp(45px, 10vw, 50px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-facebook {
  background: rgba(24, 119, 242, 0.2);
  color: #1877f2;
  border: 2px solid rgba(24, 119, 242, 0.3);
}

.social-facebook:hover {
  background: #1877f2;
  color: var(--pure-white);
}

.social-instagram {
  background: rgba(225, 48, 108, 0.2);
  color: #e1306c;
  border: 2px solid rgba(225, 48, 108, 0.3);
}

.social-instagram:hover {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737);
  color: var(--pure-white);
}

.social-tiktok {
  background: rgba(0, 0, 0, 0.3);
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-tiktok:hover {
  background: #000000;
}

.social-booking {
  background: rgba(0, 108, 228, 0.2);
  color: #006ce4;
  border: 2px solid rgba(0, 108, 228, 0.3);
}

.social-booking:hover {
  background: #006ce4;
  color: var(--pure-white);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.8);
  padding: clamp(1rem, 3vw, 1.5rem) 0;
  margin-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #e0e0e0;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.copyright strong {
  color: var(--primary-orange);
}

.designer-credit {
  color: #e0e0e0;
  font-size: clamp(0.70rem, 2vw, 0.85rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.whatsapp-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--primary-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.whatsapp-link:hover {
  background: var(--primary-orange);
  color: var(--pure-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(249, 115, 0, 0.4);
}

/* ===== MODALES ===== */
.modal,
.room-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: clamp(0.5rem, 2vw, 1.25rem);
}

.modal.active,
.room-modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.modal-container {
  position: relative;
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-strong);
  animation: modalSlideIn 0.3s ease-out;
  margin: clamp(1rem, 3vw, 2rem) auto;
}

@keyframes modalSlideIn {
  from {
      opacity: 0;
      transform: translateY(-30px) scale(0.95);
  }
  to {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1rem);
  right: clamp(0.75rem, 2vw, 1rem);
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  color: var(--medium-gray);
  cursor: pointer;
  z-index: 10;
  width: clamp(40px, 8vw, 44px);
  height: clamp(40px, 8vw, 44px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(200, 4, 3, 0.1);
  color: var(--accent-red);
  transform: rotate(90deg);
}

.modal-header {
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  border-bottom: 2px solid var(--border-light);
  background: linear-gradient(135deg, #fafafa 0%, #f0f2f5 100%);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h2 {
  color: var(--elegant-black);
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-family: var(--font-elegant);
  padding-right: 40px;
  line-height: 1.3;
}

.modal-price {
  color: var(--primary-orange);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 700;
  margin: 0;
}

.modal-body {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.modal-image {
  width: 100%;
  height: clamp(200px, 40vw, 300px);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-image:hover img {
  transform: scale(1.05);
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.room-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  margin-bottom: 1rem;
}

.room-meta-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--soft-gray);
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.availability {
  font-weight: 600;
}

.availability.available {
  color: #28a745;
}

.availability.unavailable {
  color: #dc3545;
}

.modal-description h3,
.modal-amenities h3 {
  color: var(--elegant-black);
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-description p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--charcoal);
}

.modal-amenities ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.4rem;
}

.modal-amenities li {
    padding: 0.4rem 0;
    font-size: 0.8rem;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.4rem;
}

.modal-amenities i.fa-check {
  color: var(--primary-orange);
  font-size: 0.9rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1rem);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
  border-top: 2px solid var(--border-light);
  background: var(--soft-gray);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.btn-secondary,
.btn-primary {
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
}

.btn-secondary {
  background: var(--medium-gray);
  color: var(--pure-white);
}

.btn-secondary:hover {
  background: #5a6268;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary.disabled {
  background: var(--medium-gray);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Modal Galerie */
.gallery-modal .modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--pure-white);
  border: none;
  width: clamp(45px, 10vw, 50px);
  height: clamp(45px, 10vw, 50px);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.modal-prev { left: clamp(0.5rem, 2vw, 1rem); }
.modal-next { right: clamp(0.5rem, 2vw, 1rem); }

.modal-prev:hover,
.modal-next:hover {
  background: var(--primary-orange);
  transform: translateY(-50%) scale(1.1);
}

#modalImage {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.modal-info {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--pure-white);
}

.modal-info h3 {
  color: var(--elegant-black);
  margin-bottom: 0.5rem;
  font-size: clamp(1.15rem, 3vw, 1.3rem);
}

.modal-info p {
  color: var(--medium-gray);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== ANIMATIONS ===== */
@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* ===== SKELETON LOADING ===== */
.skeleton-loading {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--border-radius);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== MESSAGES D'ÉTAT ===== */
#loading-message {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--medium-gray);
  display: block;
}

.rooms-container:not(:empty) + #loading-message {
  display: none;
}

.offline-message {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 2px solid #f39c12;
  border-radius: var(--border-radius-lg);
  margin: clamp(1rem, 3vw, 1.5rem) 0;
}

.offline-message i {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #f39c12;
  margin-bottom: 1rem;
}

.offline-message h4 {
  color: #856404;
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.offline-message p {
  color: #856404;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-retry {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
  color: var(--pure-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
}

.btn-retry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
  }
}

*:focus-visible {
  outline: 3px solid var(--primary-orange);
  outline-offset: 3px;
}

/* Styles pour la newsletter */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-orange);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-loading {
    display: none;
}

/* ===== DEBUT DU CSS RESPONSIVE TABLETTE ===== */

@media (max-width: 1024px) {
  .header-container {
    padding: 1rem 1.5rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .nav-desktop ul {
    gap: 1.25rem;
  }

  .nav-desktop a {
    font-size: 1rem;
  }

  .hero {
    height: 50vh;
    min-height: 50vh;
  }

  .hero-title {
    font-size: clamp(3.75rem, 8vw, 5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    max-width: 90%;
    line-height: 1.5;
  }

  .section-title {
    font-size: 2.5rem; 
    margin-bottom: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    height: 400px;
    order: -1;
  }

  .about-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .feature {
    padding: 1.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .service-card {
    min-height: 260px;
    padding: 1.75rem 1.25rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }
  
  .services-section .container {
    padding: 0 1.5rem !important;
  }

  .rooms-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .room-card {
    max-width: 100%;
  }

  .room-image {
    height: 250px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .gallery-card {
    height: 280px;
  }

  .gallery-filters {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    max-width: none;
  }

  .testimonial-content {
    padding: 1.5rem;
    min-height: 240px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-map-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-contact-info {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .contact-item {
    flex: 0 0 auto;
  }

  .footer-main {
    padding: 2rem 0 1rem !important;
  }

  .social-link {
    width: 42px !important;
    height: 42px !important;
    font-size: 1rem !important;
  }

  .footer-description {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
}

/* ===== DEBUT DU CSS RESPONSIVE MOBILE ===== */

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-container {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .nav-desktop {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-container {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 0.8rem;
    white-space: normal;
    line-height: 1.2;
    max-width: 120px;
  }

  .nav-mobile {
    display: block;
  }

  .nav-mobile ul {
    padding: 100px 1.5rem 2rem;
  }

  .nav-mobile li {
    margin-bottom: 0.5rem;
  }

  .nav-mobile a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    min-height: 56px;
  }

 .hero {
    min-height: 70vh;
    height: 70vh;
  }

  .hero-content {
    margin-top: 60px !important;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50vh !important;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
  }

  .hero-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    margin-bottom: 1.5rem !important;
    max-width: 90% !important;
    line-height: 1.4 !important;
    letter-spacing: 0.5px !important;
    font-weight: 400 !important;
  }

  .btn {
    min-height: 48px !important; /* Légèrement réduit */
    padding: 0.875rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 1.5rem;
  }

  .section-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    height: 200px;
    order: -1;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
  }

  .feature {
    padding: 1.5rem 1rem;
  }

  .feature-number {
    font-size: 2rem;
  }

  .feature-text {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .service-card {
    min-height: 240px;
    padding: 1.5rem 1rem;
  }

  .service-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .rooms-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .room-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .room-image {
    height: 220px;
  }

  .room-overlay {
    padding: 0.75rem;
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .room-price {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .room-status,
  .room-size {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .room-details {
    padding: 1.25rem;
  }

  .room-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-details,
  .room-link {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-card {
    height: 250px;
  }

  .gallery-filters {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .filter-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .slide-prev,
  .slide-next {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
  }

  .gallery-overlay {
    opacity: 1;
    padding: 1rem;
  }

  .gallery-content h3 {
    font-size: 1rem;
  }

  .gallery-content p {
    font-size: 0.85rem;
  }

  .testimonials-carousel {
    margin: 2rem auto;
    overflow: visible;
  }

  .testimonials-track {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .testimonial-card {
    flex: 0 0 95%;
    max-width: 95%;
  }

  .testimonial-content {
    padding: 1rem;
    min-height: 160px;
  }

  .testimonial-content::before {
    font-size: 1.5rem;
    top: 0.75rem;
    left: 1rem;
  }

  .rating {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .testimonial-content p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .client-info strong {
    font-size: 0.85rem;
  }

  .client-info span {
    font-size: 0.75rem;
  }

  .carousel-controls {
    gap: 1rem;
    margin-top: 2rem;
  }

  .carousel-prev,
  .carousel-next {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .carousel-dots {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    order: -1;
    padding: 1.5rem;
  }

  .contact-info {
    gap: 1.25rem;
  }

  .info-card {
    padding: 1.25rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem;
    font-size: 16px;
  }

  .newsletter-map-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-container,
  .map-container {
    padding: 1.5rem;
  }

  /* Footer Mobile Optimisé */
  .footer-main {
    padding: 2rem 0 1rem !important;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    text-align: center;
    max-width: 100%;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .footer-contact-info {
    align-items: flex-start;
    gap: 0.75rem !important;
  }
  
  .contact-item {
    justify-content: flex-start;
    font-size: 0.8rem;
    text-align: left;
  }

  .contact-item i {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
    margin-right: 0;
  }

  [aria-labelledby="footer-links-title"] .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem 1rem !important;
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-links a {
    font-size: 0.8rem !important;
    padding: 0.35rem 0 !important;
    justify-content: flex-start;
  }

  .footer-links i {
    font-size: 0.7rem !important;
  }

  .footer-title {
    justify-content: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem !important;
    padding: 0.6rem !important;
  }

  .schedule-day,
  .schedule-time {
    font-size: 0.8rem !important;
  }

  .social-links {
    justify-content: center;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
  }

  .social-link {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.9rem !important;
  }

  .footer-bottom {
    margin-top: 0.5rem !important;
    padding: 1rem !important;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 0.5rem !important;
    text-align: center;
  }

  .copyright {
    font-size: 0.7rem !important;
  }

  .designer-credit {
    font-size: 0.7rem !important;
    flex-direction: column;
    gap: 0.5rem;
  }

  .whatsapp-link {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .header-container {
    padding: 0.5rem 0.75rem;
  }

  .logo-text {
    font-size: 0.7rem;
    max-width: 100px;
  }

  .hero {
    min-height: 60vh;
    height: 60vh;
  }

  .hero-content {
    margin-top: 70px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    min-height: 220px;
    padding: 1.25rem 0.75rem;
  }

  .service-icon {
    font-size: 2rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .gallery-card {
    height: 220px;
  }

  .testimonial-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .testimonial-content {
    padding: 1.25rem;
    min-height: 180px;
  }

  .testimonial-content p {
    font-size: 0.85rem;
  }

  [aria-labelledby="footer-links-title"] .footer-links {
    grid-template-columns: 1fr;
    max-width: 250px;
  }

  .designer-credit {
    font-size: 0.75rem;
  }

  .footer-main {
    padding: 1.5rem 0 0.75rem !important;
  }

  .footer-container {
    gap: 1.25rem !important;
  }

  .social-link {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
  }
}

/* ===== MODE PAYSAGE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  /* Header en mode paysage */
  .header-container {
    padding: 0.5rem 1rem;
  }
  
  .logo-text {
    font-size: 0.7rem;
    max-width: 80px;
  }
  
  .nav-desktop {
    display: none !important;
  }
  
  .mobile-menu-btn {
    min-width: 40px;
    min-height: 40px;
  }
  
  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
  }
  
  /* Navigation mobile plus compacte en paysage */
  .nav-mobile ul {
    padding: 70px 1rem 1rem;
  }
  
  .nav-mobile a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
}


@media (max-width: 768px) and (orientation: landscape) {
  /* Hero adapté au mode paysage */
  .hero {
    min-height: 70vh;
    height: 70vh;
  }
  
  .hero-content {
    margin-top: 50px;
    padding: 0.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    min-height: 40px;
  }
  
  .hero-bg {
    background-position: center 30%; 
  }
}

@media (max-width: 667px) and (orientation: landscape) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.75rem;
  }
  
  .logo-text {
    font-size: 0.65rem;
    max-width: 70px;
  }
  
  /* Réduction générale des espacements */
  .section {
    padding: 1.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* ===== FOOTER MOBILE ===== */
@media (max-width: 768px) {
  .footer-section.accordion {
    position: relative;
  }
  
  .footer-section.accordion .footer-title {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    padding: 1rem 0;
    position: relative;
  }
  
  .footer-section.accordion .footer-title::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    font-weight: 300;
    transition: var(--transition);
  }
  
  .footer-section.accordion.active .footer-title::after {
    content: '-';
    transform: rotate(0deg);
  }
  
  .footer-section.accordion .footer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .footer-section.accordion.active .footer-content {
    max-height: 500px;
  }
  
  /* Réorganisation en 2 colonnes côte à côte */
  .footer-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }
}

/* ===== OPTIMISATIONS DESKTOP ===== */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0 1.5rem;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  /* Header plus compact */
  .header-container {
    padding: 0.875rem 1.5rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .nav-desktop a {
    font-size: 0.875rem;
  }
  
  /* Grilles optimisées */
  .rooms-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
  }
  
  .services-grid {
    gap: 1.5rem;
  }
  
  .service-card {
    min-height: 250px;
    padding: 1.5rem 1rem;
  }
  
  /* Footer optimisé */
  .footer-container {
    gap: 2rem;
  }
  
  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }
}

/* Grands écrans */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.message {
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
    font-weight: 500;
}

.message.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-loading {
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ===== CORRECTIONS FORCÉES HERO ===== */

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem) !important; 
  font-weight: 800 !important;
  margin-bottom: clamp(2rem, 6vh, 4rem) !important;
  text-shadow: 0 8px 50px rgba(0, 0, 0, 0.9) !important;
  line-height: 1 !important;
  letter-spacing: -3px !important;
}

/* Forcez la taille du sous-titre */
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
  margin-bottom: clamp(2rem, 6vh, 4rem) !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  line-height: 1.6 !important;
  max-width: 900px !important;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
}

/* Recentrez le contenu */
.hero-content {
  margin-top: clamp(80px, 20vh, 120px) !important;
  padding: clamp(2rem, 6vw, 4rem) !important;
}

/* ===== CORRECTIONS FORCÉES MOBILE ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
  }
  
  .hero-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    margin-bottom: 2.5rem !important;
    max-width: 90% !important;
    line-height: 1.4 !important;
    letter-spacing: 0.5px !important;
    font-weight: 400 !important;
  }
  
  .hero {
    min-height: 70vh !important;
    height: 70vh !important;
  }
  
  .hero-content {
    margin-top: 60px !important;
    padding: 1rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.5rem, 5vw, 1.8rem) !important;
    margin-bottom: 0.5rem !important;
  }
  
  .hero-subtitle {
    font-size: clamp(0.75rem, 2vw, 0.85rem) !important;
    margin-bottom: 1.25rem !important;
  }
  
  .hero {
    min-height: 50vh !important;
    height: 50vh !important;
  }
}