@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --primary: #2c4a6e;
  --primary-light: #3d6494;
  --primary-dark: #1a3050;
  --accent: #5b8db8;
  --accent-light: #8cb4d6;
  --silver: #b0bec5;
  --light-gray: #eceff1;
  --mid-gray: #cfd8dc;
  --dark-gray: #546e7a;
  --text: #263238;
  --text-light: #546e7a;
  --white: #ffffff;
  --footer-bg: #1a2f45;
  --card-shadow: 0 4px 20px rgba(44,74,110,0.12);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: #f5f7fa;
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 48, 80, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.logo-text {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 200px;
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu li { position: relative; }

.nav-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  display: block;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 2px); /* réduit le gap pour éviter que la souris perde le focus */
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  min-width: 200px;
  overflow: hidden;
  border: 1px solid var(--mid-gray);
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* Pseudo-élément qui comble le gap entre le lien et le menu */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* pont invisible pour que la souris ne quitte pas le hover */
  pointer-events: none; /* ne bloque pas les clics en dessous */
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  color: var(--text) !important;
  padding: 11px 18px;
  font-size: 13px;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--light-gray);
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a:hover {
  background: var(--light-gray) !important;
  color: var(--primary) !important;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
  width: 42px; height: 42px;
}
.hamburger:hover { background: rgba(255,255,255,0.16); }

.hamburger span {
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
  display: block;
  margin: 0 auto;
}

/* Animation hamburger → croix */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── OVERLAY mobile ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 780px;
  overflow: hidden;
  margin-top: 72px;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77,0,0.175,1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,48,80,0.72) 0%, rgba(44,74,110,0.45) 100%);
}

.slide-1 { background-image: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1600&q=80'); }
.slide-2 { background-image: url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=1600&q=80'); }
.slide-3 { background-image: url('https://images.unsplash.com/photo-1555854877-bab0e564b8d5?w=1600&q=80'); }
.slide-4 { background-image: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=1600&q=80'); }

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;        /* centrage vertical */
  padding-bottom: 120px;          /* laisse de la place pour la fenêtre actualité en bas */
  z-index: 10;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  animation: fadeDown 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 58px);
  color: white;
  line-height: 1.15;
  max-width: 900px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeUp 0.9s 0.2s ease both;
  margin-bottom: 28px;
}

.hero-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--accent-light), transparent);
  border-radius: 2px;
  margin: 0 auto 28px;
  animation: fadeUp 0.9s 0.35s ease both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 0.5s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px rgba(91,141,184,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91,141,184,0.5);
}

.btn-outline {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: white;
}

.btn-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav:hover { background: rgba(255,255,255,0.3); }
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: white; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-divider {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin-bottom: 24px;
}

.section-divider.center { margin: 0 auto 24px; }

.section-subtitle {
  font-size: 16.5px;
  color: var(--text-light);
  max-width: 650px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== WELCOME ===== */
.welcome { background: white; }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-text p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.welcome-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.welcome-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.welcome-image::before {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 60%; height: 60%;
  border: 3px solid var(--accent-light);
  border-radius: 16px;
  z-index: -1;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat-box {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border-left: 4px solid var(--accent);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* ===== NEWS CARDS ===== */
.news-section { background: var(--light-gray); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(44,74,110,0.18);
}

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

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-card-excerpt {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: var(--transition);
}

.news-card-link:hover { color: var(--primary); gap: 10px; }

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent-light); padding-left: 6px; }

.footer-phone {
  font-size: 22px;
  font-family: 'Playfair Display', serif;
  color: white;
  margin-bottom: 16px;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { 
  font-size: 12.5px; 
  padding: 4px 0; 
  color: rgba(255,255,255,0.75);
  vertical-align: top;
}
.hours-table td:first-child { 
  font-weight: 600; 
  color: var(--accent-light);
  min-width: 90px;
}
.hours-note {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-top: 3px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
  padding: 110px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(91,141,184,0.12);
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: white;
  font-weight: 700;
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
}

.breadcrumb a { color: var(--accent-light); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { opacity: 0.5; }

/* ===== CARDS / GENERAL ===== */
.card {
  background: white;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.card-body { padding: 28px; }

.tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ===== HEBERGEMENTS ===== */
.residence-block {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 40px;
}

.residence-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 32px 36px;
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
}

.residence-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.residence-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
}

.residence-header p {
  font-size: 15px;
  opacity: 0.85;
  margin-top: 4px;
}

.residence-body { padding: 36px; }

.logements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.logement-item {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border-top: 3px solid var(--accent);
  transition: var(--transition);
}

.logement-item:hover {
  background: white;
  box-shadow: var(--card-shadow);
  transform: translateY(-3px);
}

.logement-type {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.logement-surface {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}

.logement-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--light-gray);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--text);
}

.service-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== EQUIPE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44,74,110,0.18);
}

/* Zone photo pleine largeur */
.team-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-light), var(--primary-light));
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

/* Initiales quand pas de photo */
.team-avatar {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  opacity: 0.7;
}

.team-card-body {
  padding: 22px 20px 26px;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 7px;
}

.team-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  padding: 36px;
  color: white;
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 3px;
}

.contact-item-text span {
  font-size: 15px;
  font-weight: 500;
}

.contact-form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.contact-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,141,184,0.12);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== PHOTOS GALLERY ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,48,80,0.6);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.photo-item:hover .photo-overlay { opacity: 1; }
.photo-item:hover img { transform: scale(1.05); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: white; font-size: 36px; cursor: pointer;
  background: none; border: none;
  line-height: 1;
}

/* ===== ACTUALITES ===== */
.article-full {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 32px;
}

.article-full-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
}

.article-full-body { padding: 36px; }

.article-full-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-full-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-full-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-light);
}

/* ===== PLAN D'ACCES ===== */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .hamburger { display: flex; }

  /* Menu desktop masqué sur mobile — remplacé par #mobilePanel */
  .nav-menu { display: none !important; }

  /* Reste des ajustements layout */
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-image { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
  .section { padding: 50px 0; }
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .logements-grid { grid-template-columns: repeat(2,1fr); }

  /* Actualité hero : centrée horizontalement sur mobile */
  #heroFeatured {
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    bottom: 14px !important;
    width: calc(100vw - 32px) !important;
    max-width: 360px !important;
    padding: 14px !important;
    animation: slideFromLeft .5s ease both !important;
  }
  #heroFeaturedImg {
    width: 54px !important;
    height: 54px !important;
  }
  #heroFeaturedTitle {
    font-size: 13px !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 8px !important;
  }
  #heroFeaturedLink {
    font-size: 11.5px !important;
    padding: 5px 12px !important;
  }
}

@media (max-width: 500px) {
  .photo-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
  .logements-grid { grid-template-columns: 1fr; }
}