/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  background-color: #f9eed1;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typographie */
h1,
h2,
h3,
h4 {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(139, 69, 19, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #eaaa51;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #eaaa51;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #f9eed1;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(139, 69, 19, 0.4),
    rgba(244, 162, 97, 0.3)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-main {
  max-width: 250px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  margin-top: 20px;
}

.logo-main:hover {
  transform: scale(1.05);
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.hero-text p:last-of-type {
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background: #eaaa51;
  color: #fff;
  border-color: #eaaa51;
}

.btn-primary:hover {
  background: transparent;
  color: #eaaa51;
  border-color: #eaaa51;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary:hover {
  background: #f9eed1;
  color: #8b4513;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f9eed1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: #8b4513;
  margin-bottom: 1rem;
}

.section-header h2 i {
  margin-right: 0.5rem;
  color: #eaaa51;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Qui sommes-nous */
.qui-sommes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.qui-sommes-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 0.5rem;
}

.main-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.conclusion-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

.qui-sommes-image {
  text-align: center;
}

.proprietaires-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.proprietaires-image:hover {
  transform: scale(1.02);
}

/* Section Plan d'Accès */
.plan-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Boutons de navigation */
.navigation-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.google-maps-btn {
  background: linear-gradient(
    135deg,
    #ea4335 0%,
    #fbbc04 33%,
    #34a853 66%,
    #4285f4 100%
  );
  color: #fff;
}

.google-maps-btn:hover {
  background: linear-gradient(
    135deg,
    #d33b2c 0%,
    #e6ac00 33%,
    #2d8f47 66%,
    #3367d6 100%
  );
  color: #fff;
}

.waze-btn {
  background: linear-gradient(135deg, #33ccff 0%, #0066cc 100%);
  color: #fff;
}

.waze-btn:hover {
  background: linear-gradient(135deg, #29b3e6 0%, #0052a3 100%);
  color: #fff;
}

.nav-btn i {
  font-size: 1.3rem;
}

.nav-btn.waze-btn i {
  font-size: 1.6rem;
}

.nav-btn span {
  font-weight: 600;
}

.plan-visual {
  max-width: 800px;
  margin: 0 auto;
}

.plan-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.plan-image-container:hover {
  transform: scale(1.02);
}

.plan-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.plan-image:hover {
  transform: scale(1.02);
}

.plan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(139, 69, 19, 0.1),
    rgba(244, 162, 97, 0.1)
  );
  pointer-events: none;
}

.map-zoom-hint {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-image-container:hover .map-zoom-hint {
  opacity: 1;
}

.map-zoom-hint i {
  font-size: 0.9rem;
}

/* Modal pour la carte en plein écran */
.map-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.map-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.map-modal-content {
  position: relative;
  width: 95%;
  height: 85vh;
  max-width: 1400px;
  max-height: 85vh;
  background: #f9eed1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

.map-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #8b4513;
  color: #fff;
}

.map-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #fff;
}

.map-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.map-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.map-modal-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-height: none;
}

.map-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(139, 69, 19, 0.1),
    rgba(244, 162, 97, 0.1)
  );
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Mode paysage pour mobile */
.landscape-mode {
  overflow: hidden;
}

.landscape-mode .map-modal-content {
  width: 100vh;
  height: 100vw;
  max-width: 100vh;
  max-height: 100vw;
  transform: rotate(90deg);
  transform-origin: center center;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -50vw;
  margin-left: -50vh;
}

/* Message d'orientation sur mobile */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .map-modal::before {
    content: "Tournez votre appareil pour une meilleure vue";
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2001;
    animation: fadeInOut 3s ease-in-out;
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
}

.zone {
  background: #f9eed1;
  border: 3px solid #e9ecef;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.zone:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.zone-bar {
  background: linear-gradient(135deg, #eaaa51 0%, #e76f51 100%);
  color: #fff;
  border-color: #eaaa51;
}

.zone-restaurant {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: #fff;
  border-color: #8b4513;
}

.zone-jeux {
  background: linear-gradient(135deg, #e9c46a 0%, #eaaa51 100%);
  color: #333;
  border-color: #e9c46a;
}

.zone-terrasse {
  background: linear-gradient(135deg, #2a9d8f 0%, #264653 100%);
  color: #fff;
  border-color: #2a9d8f;
}

.zone-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.zone h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.zone p {
  margin-bottom: 1rem;
  opacity: 0.9;
  font-size: 0.9rem;
}

.zone-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.zone-details span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.zone-details i {
  font-size: 1rem;
}

.plan-legend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.plan-legend h4 {
  margin-bottom: 0.8rem;
  color: #8b4513;
  font-size: 1rem;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #fff;
}

.bar-color {
  background: #eaaa51;
}

.restaurant-color {
  background: #8b4513;
}

.jeux-color {
  background: #e9c46a;
}

.terrasse-color {
  background: #2a9d8f;
}

/* Section Horaires */
.horaires-content {
  max-width: 1200px;
  margin: 0 auto;
}

.horaires-simple {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.horaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.horaires-card {
  background: #f9eed1;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.horaires-card:hover {
  transform: translateY(-5px);
}

.horaires-card h3 {
  color: #8b4513;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

.horaires-card h3 i {
  color: #eaaa51;
  font-size: 1.5rem;
}

.horaires-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.horaire-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}

.horaire-item:last-child {
  border-bottom: none;
}

.jour {
  font-weight: 600;
  color: #8b4513;
  font-size: 0.95rem;
}

.heure {
  color: #eaaa51;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
}

.horaire-item.ferme {
  background: #f9eed1;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
}

.horaire-item.ferme .jour {
  color: #6c757d;
  text-decoration: line-through;
}

.horaire-item.ferme .heure {
  color: #dc3545;
  font-weight: 700;
  font-size: 0.9rem;
}

.horaires-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-box {
  background: #8b4513;
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #eaaa51, #e76f51);
}

.info-box i {
  font-size: 2rem;
  color: #eaaa51;
  margin-bottom: 1rem;
  display: block;
}

.info-box h4 {
  color: #eaaa51;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.info-box ul li::before {
  content: "•";
  color: #eaaa51;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.info-box p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

.info-box strong {
  color: #eaaa51;
}

/* Section Salle de Jeux */
.jeux-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.jeux-activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: #f9eed1;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
}

.activity-card i {
  font-size: 3rem;
  color: #eaaa51;
  margin-bottom: 1rem;
}

.activity-card h3 {
  color: #8b4513;
  margin-bottom: 1rem;
}

.activity-card ul {
  list-style: none;
  text-align: left;
  margin-top: 1rem;
}

.activity-card li {
  padding: 0.3rem 0;
  color: #666;
}

.activity-card li::before {
  content: "•";
  color: #eaaa51;
  font-weight: bold;
  margin-right: 0.5rem;
}

.jeux-info {
  background: #8b4513;
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
}

.jeux-info h3 {
  color: #eaaa51;
  margin-bottom: 1.5rem;
}

.horaires {
  margin-bottom: 2rem;
}

.horaire-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.horaire-item:last-child {
  border-bottom: none;
}

.tarifs p {
  margin: 0.5rem 0;
}

/* Section Contact */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #eaaa51;
  margin-top: 0.3rem;
}

.contact-item h4 {
  color: #8b4513;
  margin-bottom: 0.5rem;
}

.contact-form {
  background: #f9eed1;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: #8b4513;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #eaaa51;
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #eaaa51;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #eaaa51;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #eaaa51;
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: #eaaa51;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal .separator {
  color: #666;
  font-size: 0.9rem;
}

/* ===== PAGES LÉGALES ===== */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: #f9eed1;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.legal-header h1 {
  color: #eaaa51;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.legal-header h1 i {
  font-size: 2rem;
}

.legal-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background: #fff;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #eaaa51;
}

.legal-section h2 {
  color: #8b4513;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.legal-section h2 i {
  color: #eaaa51;
  font-size: 1.3rem;
}

.legal-section h3 {
  color: #8b4513;
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
}

.legal-info {
  line-height: 1.8;
}

.legal-info p {
  margin-bottom: 1rem;
  color: #333;
}

.legal-info ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-info li {
  margin-bottom: 0.5rem;
  color: #333;
}

.legal-link {
  color: #eaaa51;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #8b4513;
  text-decoration: underline;
}

.phone-link {
  color: #eaaa51;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 3px;
}

.phone-link:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(234, 170, 81, 0.3);
}

.phone-link:active {
  color: #000000;
  text-decoration: underline;
  transform: scale(0.98);
}

.cookie-table {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.cookie-item {
  background: #f9eed1;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #eaaa51;
}

.cookie-item h4 {
  color: #8b4513;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.cookie-item p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.cookie-item strong {
  color: #8b4513;
}

.cookie-actions {
  text-align: center;
  margin: 2rem 0;
}

.legal-footer {
  background: #8b4513;
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-top: 3rem;
}

.legal-footer p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.legal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.legal-actions .btn-primary {
  background: #eaaa51;
  color: #8b4513;
}

.legal-actions .btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(234, 170, 81, 0.4);
}

.legal-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #eaaa51;
}

.legal-actions .btn-secondary:hover {
  background: #eaaa51;
  color: #8b4513;
  transform: translateY(-2px);
}

/* Responsive pour les pages légales */
@media (max-width: 768px) {
  .legal-page {
    padding: 100px 0 60px;
  }

  .legal-header h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .legal-section {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .legal-actions {
    flex-direction: column;
    align-items: center;
  }

  .legal-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .legal-header {
    padding: 1.5rem;
  }

  .legal-header h1 {
    font-size: 1.8rem;
  }

  .legal-subtitle {
    font-size: 1rem;
  }

  .legal-section {
    padding: 1rem;
  }

  .cookie-item {
    padding: 1rem;
  }
}

/* Optimisation pour les grands écrans */
@media (min-width: 1200px) {
  .map-modal-content {
    width: 90%;
    height: 90vh;
    max-width: 1600px;
    max-height: 90vh;
  }

  .map-modal-image {
    object-fit: contain;
    max-height: none;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .map-modal-content {
    width: 92%;
    height: 88vh;
    max-width: 1500px;
    max-height: 88vh;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .map-modal-content {
    width: 95%;
    height: 80vh;
    max-width: 1200px;
    max-height: 80vh;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(139, 69, 19, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 100px 20px 50px;
  }

  .hero-content {
    max-width: 100%;
  }

  .logo-main {
    max-width: 250px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .qui-sommes-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .qui-sommes-text {
    order: 2;
  }

  .qui-sommes-image {
    order: 1;
  }

  .intro-text {
    font-size: 1.1rem;
  }

  .main-text {
    font-size: 1rem;
  }

  .conclusion-text {
    font-size: 0.9rem;
  }

  .map-modal-content {
    width: 98%;
    height: 70vh;
    max-height: 70vh;
  }

  .map-modal-header {
    padding: 0.8rem 1rem;
  }

  .map-modal-header h3 {
    font-size: 1.1rem;
  }

  .map-zoom-hint {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .horaires-simple {
    max-width: 100%;
  }

  .horaires-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .horaires-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .heure {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .logo-main {
    max-width: 200px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .zone {
    padding: 1rem;
  }

  .zone h3 {
    font-size: 1.2rem;
  }

  .zone-icon {
    font-size: 2rem;
  }

  .horaires-card {
    padding: 1.5rem;
  }

  .info-box {
    padding: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f9eed1;
}

::-webkit-scrollbar-thumb {
  background: #eaaa51;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e76f51;
}

/* ===== BANDEAU COOKIE RGPD ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: #fff;
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  border-top: 3px solid #eaaa51;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 2.5rem;
  color: #eaaa51;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  color: #eaaa51;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.cookie-text p {
  margin-bottom: 0.8rem;
  opacity: 0.95;
  line-height: 1.5;
  font-size: 0.95rem;
}

.cookie-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-links a {
  color: #eaaa51;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.cookie-links a:hover {
  color: #fff;
}

.cookie-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #eaaa51;
  transition: width 0.3s ease;
}

.cookie-links a:hover::after {
  width: 100%;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-cookie {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-accept {
  background: #eaaa51;
  color: #8b4513;
}

.btn-accept:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(234, 170, 81, 0.4);
}

.btn-necessary {
  background: transparent;
  color: #fff;
  border: 2px solid #eaaa51;
}

.btn-necessary:hover {
  background: #eaaa51;
  color: #8b4513;
  transform: translateY(-2px);
}

.btn-customize {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-customize:hover {
  background: #fff;
  color: #8b4513;
  transform: translateY(-2px);
}

/* Modal des paramètres des cookies */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.cookie-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.cookie-modal-content {
  background: #f9eed1;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cookie-modal-header {
  background: #8b4513;
  color: #fff;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  margin: 0;
  color: #eaaa51;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.cookie-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.cookie-modal-body {
  padding: 2rem;
  flex: 1;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid #eaaa51;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.cookie-category-header h4 {
  color: #8b4513;
  margin: 0;
  font-size: 1.1rem;
}

.cookie-category p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Switch pour les cookies */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: #eaaa51;
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-switch input:disabled + .cookie-slider {
  background-color: #8b4513;
  cursor: not-allowed;
}

.cookie-switch input:disabled + .cookie-slider:before {
  background-color: #ccc;
}

.cookie-modal-footer {
  padding: 1.5rem;
  background: #f5f5f5;
  border-top: 1px solid #eee;
  text-align: center;
}

.btn-save {
  background: #eaaa51;
  color: #8b4513;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  min-width: 200px;
}

.btn-save:hover {
  background: #8b4513;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

/* Responsive pour le bandeau cookie */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-text {
    min-width: auto;
  }

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-cookie {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }

  .cookie-modal-content {
    width: 95%;
    margin: 1rem;
  }

  .cookie-modal-body {
    padding: 1.5rem;
  }

  .cookie-category {
    padding: 1rem;
  }

  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cookie-category-header h4 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 1rem 0;
  }

  .cookie-content {
    padding: 0 15px;
  }

  .cookie-text h3 {
    font-size: 1.1rem;
  }

  .cookie-text p {
    font-size: 0.9rem;
  }

  .btn-cookie {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .cookie-links {
    justify-content: center;
  }

  .cookie-links a {
    font-size: 0.85rem;
  }
}

/* Responsive pour les boutons de navigation */
@media (max-width: 768px) {
  .navigation-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .nav-btn {
    width: 100%;
    max-width: 280px;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .nav-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-width: auto;
  }

  .nav-btn i {
    font-size: 1.2rem;
  }
}
