* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2c3e50;
  --accent: #e67e22;
  --light: #f4f6f8;
  --text: #333;
  --border: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* ---- HEADER ---- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(44, 62, 80, 0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 0 2rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--accent);
}

/* ---- SECTION COMMON ---- */
section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2.5rem;
  text-align: center;
}

section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* ---- SECTION 1 : PRESENTATION ---- */
.presentation {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
}

.prez-text {
  flex: 1;
}

.prez-text h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 2rem;
}

.specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.spec-item {
  text-align: center;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.4rem;
}

.spec-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.spec-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.description {
  color: #555;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.85rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.cta-btn:hover {
  background: #d35400;
  transform: translateY(-1px);
}

.prez-img {
  flex: 1;
}

.prez-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---- SECTION 2 : GALERIE ---- */
.galerie-section {
  background: var(--light);
  padding: 5rem 2rem;
}

.galerie-section h2 {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: none;
  font-size: 1.4rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-btn.prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}

.slider-btn.next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.dots {
  text-align: center;
  padding: 0.9rem;
  background: white;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: var(--accent);
}

/* ---- SECTION 3 : LOCALISATION ---- */
.localisation {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.map-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

#map {
  flex: 2;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-info {
  flex: 1;
}

.map-info h3 {
  color: var(--primary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.map-info h3:first-child {
  margin-top: 0;
}

.map-info p {
  color: #555;
  line-height: 1.8;
}

.map-info ul {
  list-style: none;
  color: #555;
}

.map-info ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.map-info ul li::before {
  content: '→';
  color: var(--accent);
  margin-right: 0.5rem;
}

/* ---- FOOTER ---- */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  /* Nav */
  nav ul {
    gap: 0.8rem;
  }
  nav ul a {
    font-size: 0.82rem;
  }

  /* Presentation */
  .presentation {
    flex-direction: column;
    padding-top: 6rem;
    min-height: auto;
    gap: 2rem;
  }
  .prez-text h1 {
    font-size: 1.8rem;
  }
  .description {
    max-width: 100%;
  }
  .prez-img {
    width: 100%;
  }

  /* Galerie */
  .slider-btn {
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
  }

  /* Map — key fix: stretch to full width in column layout */
  .map-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  #map {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  /* Nav — hide labels, keep logo only */
  nav ul {
    gap: 0.5rem;
  }
  nav ul a {
    font-size: 0.75rem;
  }

  /* Presentation */
  .prez-text h1 {
    font-size: 1.5rem;
  }
  .specs {
    gap: 0.6rem;
  }
  .spec-item {
    padding: 0.7rem 1rem;
  }
  .spec-value {
    font-size: 1.2rem;
  }
  .features {
    grid-template-columns: 1fr;
  }

  /* Map */
  #map {
    height: 260px;
  }
  section h2 {
    font-size: 1.5rem;
  }
}
