/* =========================
   Variables & base
========================= */

:root {
  --bg-body: #0e0d0a;
  --bg-section: #1b1b19;
  --bg-section-alt: #151515;
  --bg-card: #222220;
  --accent: #c9a66b;
  --accent-soft: #e1c388;
  --text-main: #f5f5f5;
  --text-muted: #c0c0c0;
  --text-soft: #a3a3a3;
  --border-radius-lg: 20px;
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
}

/* =========================
   Layout & utilitaires
========================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--accent-soft);
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
  background-color: var(--accent);
  color: #151515;
}

.btn:hover {
  transform: translateY(-1px);
  background-color: var(--accent-soft);
}

/* =========================
   Header
========================= */

.site-header {
  background-color: rgba(14, 13, 10, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo a {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--accent-soft);
}

.nav-menu a.active {
  color: var(--accent-soft);
}

.nav-cta {
  margin-left: 1.5rem;
}

/* =========================
   Hero commun
========================= */

.hero {
  position: relative;
  min-height: 320px;
  max-height: 480px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.85)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-inner {
  padding: 4.5rem 0;
  max-width: 640px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin: 0 0 0.8rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 480px;
}

/* Spécifiques aux pages (images de fond) */
.hero-accueil .hero-image {
  background-image: url("../assets/img/DSC05723.png");
}

.hero-appartement .hero-image {
  background-image: url("../assets/img/challons2.jpeg");
}

.hero-offres .hero-image {
  background-image: url("../assets/img/hero-offres.jpg");
}

.hero-contact .hero-image {
  background-image: url("../assets/img/challons1.jpeg");
}

.hero-reservation .hero-image {
  background-image: url("../assets/img/challons4.jpeg");
}

/* =========================
   Accueil : Pourquoi adorer
========================= */

.reasons-section {
  background-color: var(--bg-section);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.reason-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.reason-text {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Effet au survol */
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* =========================
   Accueil : Qui sommes-nous
========================= */

.about-section {
  background-color: var(--bg-section-alt);
}

.about-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--accent-soft);
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* =========================
   Accueil : Localisation
========================= */

.location-section {
  background-color: var(--bg-section);
}

/* Conteneur de la carte */
.location-map {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  
  /* Aspect ratio 16/9 responsive */
  position: relative;
  aspect-ratio: 16 / 9;
}

/* L'iframe Google Maps */
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Optionnel : petit effet au survol */
.location-map:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


/* =========================
   Page Appartement
========================= */

.appartement-section {
  background-color: var(--bg-section);
}

.city-section {
  background-color: var(--bg-section-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.info-section {
  background-color: var(--bg-section-alt);
}

.info-box {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.info-box h3 {
  font-family: "Playfair Display", serif;
  color: var(--accent-soft);
  margin-top: 0;
}

/* =========================
   Page Offres
========================= */

.offers-section {
  background-color: var(--bg-section);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.offer-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.offer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.offer-price {
  font-size: 1.1rem;
  color: var(--accent-soft);
  margin-top: 0.4rem;
}

.offer-note {
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   Page Contact
========================= */

.contact-section {
  background-color: var(--bg-section);
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.contact-box p {
  margin: 0.4rem 0;
}

.contact-highlight {
  color: var(--accent-soft);
}

/* =========================
   Footer
========================= */

.site-footer {
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 2.5rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}

.footer-nav a {
  display: block;
  text-decoration: none;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent-soft);
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    height: auto;
  }

  .nav-menu {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-inner {
    padding: 3.5rem 0 3rem;
  }

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

  .section {
    padding: 3rem 0;
  }
}
