/* Variables de couleurs - Palette Mine de Rien */
:root {
  --primary: #1C2833;        /* Bleu marine foncé (fond logo) */
  --secondary: #2C3E50;      /* Bleu marine moyen */
  --accent: #D4B896;         /* Beige/doré (lanterne) */
  --accent-dark: #B89968;    /* Doré foncé */
  --dark: #0F1419;           /* Noir profond */
  --light: #ffffff;          /* Blanc */
  --light-bg: #F8F9FA;       /* Fond clair */
  --gray: #6B7280;           /* Gris texte */
  --gray-light: #E5E7EB;     /* Gris bordures */
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--primary);
  border-bottom: 1px solid rgba(212, 184, 150, 0.2);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--light);
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

nav a:hover {
  color: var(--accent);
  background-color: rgba(212, 184, 150, 0.1);
}

/* Menu Mobile Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Header & Navigation */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 100;
    padding-top: 80px;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
  }

  nav ul li {
    border-bottom: 1px solid rgba(212, 184, 150, 0.1);
  }

  nav a {
    display: block;
    padding: 1.25rem 1.5rem;
    border-radius: 0;
  }

  /* Overlay pour fermer le menu */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,184,150,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,184,150,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 10s ease-in-out infinite reverse;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slideshow img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 40, 51, 0.85) 0%, rgba(44, 62, 80, 0.85) 100%);
  z-index: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Section */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

/* Card */
.card {
  background-color: var(--light);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-light);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--accent);
  border-color: var(--accent);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-image {
  height: 300px;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.card-subtitle {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.card-text {
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Gite Details */
.gite-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 3rem 0 2rem;
  position: relative;
}

.gite-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(212,184,150,0.1)"/></svg>') repeat;
}

.gite-hero > * {
  position: relative;
  z-index: 1;
}

.gite-header h1 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gite-tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.gite-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.gite-gallery {
  display: grid;
  gap: 1rem;
}

.gite-main-image {
  height: 500px;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gite-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gite-meta {
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent);
}

.gite-meta-item {
  display: flex;
  flex-direction: column;
}

.gite-meta-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.gite-meta-label {
  font-size: 0.875rem;
  color: var(--gray);
}

.gite-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.gite-price-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
}

.amenities-list li::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.form-checkbox input {
  margin-top: 0.25rem;
}

/* Alert */
.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--light);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 2rem auto;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.legal-content h3 {
  color: var(--accent-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0 1rem 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
/* =====================================================
   RESPONSIVE MOBILE
   ===================================================== */

@media (max-width: 768px) {
  /* Typographie */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Header et navigation */
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Gites content */
  .gite-content {
    grid-template-columns: 1fr;
  }

  /* Images responsive */
  .card-image {
    height: 250px;
  }

  .gite-main-image {
    height: 300px;
  }

  .gite-summary-image {
    height: 250px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-section ul {
    padding: 0;
  }

  /* Hero général */
  .hero {
    padding: 3rem 0;
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 2rem !important;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Buttons */
  .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  /* Cards */
  .card {
    margin-bottom: 1rem;
  }

  /* Section */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* Page d'accueil spécifique */
  .hero-home {
    min-height: 55vh;
    padding: 3rem 0 2rem;
  }

  .hero-title {
    font-size: 2.2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    padding: 0 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
  }

  .stat-item {
    width: 100%;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
  }

  /* DIAPORAMA RESPONSIVE - Optimisations Mobile */
  .hero-slideshow {
    min-height: 55vh;
  }

  .hero-slideshow img {
    object-position: center 40%;
    min-height: 55vh;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(28, 40, 51, 0.75) 0%, rgba(44, 62, 80, 0.75) 100%);
  }

  /* Feature cards */
  .feature-card {
    padding: 2rem 1.5rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  /* Calendrier public */
  .calendar-months {
    grid-template-columns: 1fr;
  }

  .availability-legend {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  /* Gite pages */
  .gite-header {
    padding: 2rem 0;
  }

  .gite-meta {
    flex-wrap: wrap;
  }
}

/* Animations professionnelles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Classes d'animation */
.will-animate {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.will-animate.animate-fade-in-up {
  opacity: 1;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease-out forwards;
}

/* Délais pour animations séquentielles */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Effet parallax léger */
.parallax {
  transition: transform 0.3s ease-out;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* =====================================================
   PAGE D'ACCUEIL AMÉLIORÉE - VERSION SIMPLE
   ===================================================== */

/* Hero Home - styles supplémentaires */
.hero-home {
  min-height: 60vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(212, 184, 150, 0.2);
  border: 1px solid var(--accent);
  border-radius: 2rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem !important;
  color: white !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.hero-subtitle {
  font-size: 1.2rem !important;
  max-width: 650px !important;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(212, 184, 150, 0.1);
  border: 1px solid var(--accent);
  border-radius: 2rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* Section Features */
.section-features {
  background: #F8F9FA;
  padding: 5rem 0;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Section Gites */
.section-gites {
  padding: 5rem 0;
  background: white;
}

/* =====================================================
   CALENDRIER PUBLIC - DISPONIBILITÉS
   ===================================================== */

.availability-header {
  margin-bottom: 2rem;
}

.availability-header h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.availability-legend {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.availability-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.legend-dot.available {
  background: white;
  border-color: var(--accent);
}

.legend-dot.unavailable {
  background: #EF4444;
  border-color: #EF4444;
}

.calendar-months {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 968px) {
  .calendar-months {
    grid-template-columns: 1fr;
  }
}

.calendar-month {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.month-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: capitalize;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  padding: 0.5rem 0;
  text-transform: uppercase;
}

.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: default;
  background: white;
  border: 1px solid transparent;
}

.day.empty {
  background: transparent;
}

.day.today {
  border-color: var(--accent);
  font-weight: 700;
  color: var(--accent);
}

.day.past {
  color: var(--gray-light);
  opacity: 0.5;
}

.day.reserved {
  background: #FEE2E2;
  color: #991B1B;
  position: relative;
}

.day.reserved::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #EF4444;
}

.day:not(.empty):not(.past):not(.reserved):hover {
  background: rgba(212, 184, 150, 0.1);
  border-color: var(--accent);
}

.calendar-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 1rem;
  background: rgba(212, 184, 150, 0.05);
  border-radius: 0.5rem;
  border: 1px dashed var(--accent);
}

.calendar-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.calendar-note a:hover {
  color: var(--accent-dark);
}

/* Navigation du calendrier */
.calendar-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.calendar-current-month {
  font-size: 1.5rem;
  color: var(--primary);
  text-transform: capitalize;
  margin: 0;
  font-family: 'Playfair Display', serif;
}

.calendar-nav-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--accent);
  border-radius: 0.5rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 184, 150, 0.3);
}

.calendar-nav-btn:active {
  transform: translateY(0);
}

/* Responsive navigation */
@media (max-width: 768px) {
  .calendar-navigation {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .calendar-current-month {
    font-size: 1.25rem;
    text-align: center;
  }

  .calendar-nav-btn {
    width: 100%;
    padding: 0.75rem;
  }
}

/* =====================================================
   POINTS D'INTÉRÊT (ALENTOURS) - CARDS HORIZONTALES
   ===================================================== */

.point-interet-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
}

.point-interet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.point-interet-icon {
  font-size: 3rem;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 184, 150, 0.1);
  border-radius: 0.75rem;
}

.point-interet-content {
  flex: 1;
}

.point-interet-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.point-interet-titre {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
  font-weight: 600;
}

.point-interet-distance {
  font-size: 0.85rem;
  color: var(--gray);
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  background: rgba(212, 184, 150, 0.1);
  border-radius: 1rem;
}

.point-interet-description {
  color: var(--gray);
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.point-interet-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive points d'intérêt */
@media (max-width: 768px) {
  .point-interet-card {
    flex-direction: column;
    gap: 1rem;
  }

  .point-interet-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }

  .point-interet-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .point-interet-titre {
    font-size: 1.25rem;
  }
}

/* ======================================
   CARD RÉCAPITULATIVE GÎTE (avant calendrier)
   ====================================== */

.gite-summary-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

.gite-summary-card .gallery-grid {
  margin-bottom: 0;
  border-radius: 0;
}

.gite-summary-content {
  padding: 2rem;
}

.gite-summary-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem 0 0 0.5rem;
}

.gite-summary-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gite-summary-header h2 {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.gite-summary-header .tagline {
  font-size: 1.125rem;
  color: #6B7280;
  font-style: italic;
}

.gite-summary-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.gite-summary-price .unit {
  font-size: 1rem;
  color: #6B7280;
  font-weight: 400;
}

.gite-summary-description {
  padding: 1rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.gite-summary-description p {
  color: #6B7280;
  line-height: 1.8;
  margin: 0;
}

.gite-summary-specs {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.gite-spec {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gite-spec-icon {
  font-size: 1.5rem;
}

.gite-spec-info {
  display: flex;
  flex-direction: column;
}

.gite-spec-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F2937;
}

.gite-spec-label {
  font-size: 0.875rem;
  color: #6B7280;
}

.gite-summary-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amenity-tag {
  padding: 0.5rem 1rem;
  background: rgba(212, 184, 150, 0.15);
  color: var(--primary-color);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.gite-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 184, 150, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
}

.rating-star {
  color: #D4B896;
  font-size: 1.2rem;
  line-height: 1;
}

.rating-value {
  font-weight: 600;
  color: #1F2937;
  font-size: 0.95rem;
}

.rating-count {
  color: #6B7280;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
  .gite-summary-content {
    grid-template-columns: 1fr;
  }

  .gite-summary-image {
    height: 250px;
  }

  .gite-summary-details {
    padding: 1.5rem;
  }

  .gite-summary-header h2 {
    font-size: 1.5rem;
  }

  .gite-summary-price {
    font-size: 2rem;
  }

  .gite-summary-specs {
    gap: 1rem;
  }
}

/* =====================================================
   BANDEAU ALENTOURS PAGE D'ACCUEIL
   ===================================================== */

.alentours-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.alentours-banner-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alentours-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.alentours-banner-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.alentours-banner-titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #1F2937;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.alentours-banner-description {
  color: #6B7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.alentours-banner-distance {
  display: inline-block;
  background: rgba(212, 184, 150, 0.2);
  color: #8B7355;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 968px) {
  .alentours-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .alentours-banner-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   BREAKPOINTS INTERMÉDIAIRES POUR DIAPORAMA
   ===================================================== */

/* Tablettes en mode portrait (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .hero-home {
    min-height: 60vh;
  }

  .hero-slideshow {
    min-height: 60vh;
  }

  .hero-slideshow img {
    object-position: center 38%;
    min-height: 60vh;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(28, 40, 51, 0.78) 0%, rgba(44, 62, 80, 0.78) 100%);
  }
}

/* Mode paysage sur smartphones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-home {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-slideshow {
    min-height: 100vh;
  }

  .hero-slideshow img {
    object-position: center 50%;
    min-height: 100vh;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  .hero-stats {
    padding: 1rem 1.5rem;
    gap: 2rem;
    flex-direction: row;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* =====================================================
   ACCESSIBILITÉ - PRÉFÉRENCE MOUVEMENT RÉDUIT
   ===================================================== */

/* Utilisateurs préférant un mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img {
    transition: opacity 2.5s ease-in-out; /* Transition plus lente et douce */
  }

  /* Réduire ou supprimer les autres animations */
  .card,
  .feature-card,
  .point-interet-card,
  .about-value-card {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    transform: none !important; /* Pas de transformation pour réduire le mouvement */
  }

  .card:hover,
  .feature-card:hover,
  .point-interet-card:hover,
  .about-value-card:hover {
    transform: none !important;
  }

  /* Désactiver les animations de pulsation */
  .hero::before,
  .hero::after {
    animation: none;
  }

  /* Simplifier les animations d'apparition */
  .animate-fade-in-up,
  .animate-fade-in,
  .animate-slide-left,
  .animate-slide-right,
  .animate-scale {
    animation-duration: 0.3s;
  }
}

/* =====================================================
   PAGE À PROPOS - NOUVELLE VERSION
   ===================================================== */

/* Timeline */
.about-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 40px;
  top: 80px;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(to bottom, #D4B896, rgba(212, 184, 150, 0.3));
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #D4B896 0%, #C5A572 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 12px rgba(212, 184, 150, 0.3);
  position: relative;
  z-index: 1;
}

.timeline-content {
  padding-top: 0.5rem;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #0E3B2E;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.timeline-text {
  color: #6B7280;
  line-height: 1.8;
  font-size: 1rem;
}

/* About Project */
.about-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-project-content {
  /* Contenu texte */
}

.about-project-image {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

/* Value Cards */
.about-value-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.about-value-card:hover {
  border-color: #D4B896;
  box-shadow: 0 10px 25px rgba(212, 184, 150, 0.2);
  transform: translateY(-5px);
}

.about-value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-value-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #1F2937;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.about-value-text {
  color: #6B7280;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Heritage Cards */
.about-heritage-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.about-heritage-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.about-heritage-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #1F2937;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.about-heritage-card p {
  color: #6B7280;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Quote Section */
.about-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: rgba(233, 229, 218, 0.3);
  border-radius: 16px;
  border: 2px solid #D4B896;
}

.about-quote-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.about-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #0E3B2E;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

.about-quote-author {
  color: #6B7280;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 968px) {
  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .timeline-item:not(:last-child)::after {
    left: 30px;
  }

  .timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .timeline-title {
    font-size: 1.25rem;
  }

  .about-project {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-project-image {
    height: 300px;
  }

  .about-quote {
    padding: 2rem;
  }

  .about-quote-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0;
  }

  .timeline-item:not(:last-child)::after {
    display: none;
  }

  .timeline-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
  }

  .timeline-content {
    text-align: center;
  }

  /* DIAPORAMA RESPONSIVE - Très petits écrans */
  .hero-home {
    min-height: 50vh;
    padding: 2.5rem 0 1.5rem;
  }

  .hero-slideshow {
    min-height: 50vh;
  }

  .hero-slideshow img {
    object-position: center 45%;
    min-height: 50vh;
  }

  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(28, 40, 51, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
  }
}
