:root {
  --bg: #FDFAF6;
  --bg-alt: #F5EDE4;
  --bg-card: #FFFFFF;
  --primary: #B85D3F;
  --primary-dark: #9A4A30;
  --primary-light: #D47A5A;
  --gold: #DCB159;
  --gold-light: #E8C87A;
  --gold-bg: rgba(220, 177, 89, 0.12);
  --text: #2C2C2C;
  --text-light: #6B5E55;
  --text-muted: #9A8E85;
  --border: #EBE3DA;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 22px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

.ph { display: inline-block; vertical-align: -0.125em; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--gold); color: var(--text); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container > *,
.hero-text,
.monument-text,
.about-text,
.services-two-col > *,
.footer-grid > div { min-width: 0; }

a, p, h1, h2, h3, h4, span { overflow-wrap: break-word; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  z-index: 1001; width: 0%; transition: width 0.1s;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: var(--transition); letter-spacing: 0.3px;
  position: relative; overflow: hidden;
}

.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(184, 93, 63, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(184, 93, 63, 0.4);
}

.btn-secondary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary); color: white;
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text); box-shadow: 0 4px 14px rgba(220, 177, 89, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(220, 177, 89, 0.4);
}

.btn-white {
  background: white; color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  background: var(--bg-alt); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  z-index: 1000;
  border-bottom: 1px solid rgba(235, 227, 218, 0.5);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav .container {
  display: flex; align-items: center;
  justify-content: space-between;
}

.nav-main {
  display: flex; align-items: center;
  justify-content: space-between; height: 88px;
  gap: 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.2rem;
  max-width: 40%;
  flex-shrink: 0;
  min-width: 0;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 22px; margin: 0 auto; }

.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--text-light);
  padding: 4px 0; position: relative;
}

.nav-links-inner {
  display: flex; align-items: center; gap: 26px;
  white-space: nowrap;
}

.nav-actions {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
  margin-left: 6px;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2.5px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: var(--transition); border-radius: 2px;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active {
  color: var(--primary); font-weight: 600;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}

.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) { opacity: 0; }

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  min-height: 95vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #FDFAF6 0%, #F5EDE4 35%, #F0E4D8 100%);
  padding-top: 128px; position: relative; overflow: hidden;
}

.hero::before {
  content: ''; position: absolute;
  right: -10%; top: -20%;
  width: min(800px, 50vw); height: min(800px, 50vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 177, 89, 0.1) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: ''; position: absolute;
  left: -5%; bottom: -15%;
  width: min(600px, 40vw); height: min(600px, 40vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 93, 63, 0.06) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlow2 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes heroGlow2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, -30px) scale(1.08); }
}

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem); font-weight: 700; color: var(--text);
  line-height: 1.15; margin-bottom: 18px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.05rem; color: var(--text-light);
  margin-bottom: 30px; max-width: 480px; line-height: 1.8;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-booking {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-booking h3 {
  font-size: 1.2rem; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }

.booking-alert {
  padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: 0.85rem; margin-bottom: 18px; line-height: 1.5;
}
.booking-success { background: #ecfdf5; color: #065f46; border: 1.5px solid #a7f3d0; }
.booking-error { background: #fef2f2; color: #991b1b; border: 1.5px solid #fecaca; }

.form-group label {
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 18px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.9rem;
  transition: var(--transition); background: rgba(253, 250, 246, 0.8);
  font-family: inherit; color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px var(--gold-bg);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.section { padding: 100px 0; position: relative; }

.section-alt {
  background: var(--bg-alt);
  position: relative;
}

.section-alt::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center; margin-bottom: 56px; max-width: 680px; margin-left: auto; margin-right: auto;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; color: var(--text);
  margin-bottom: 12px; line-height: 1.25;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-light); font-size: 1.05rem;
  max-width: 560px; margin: 0 auto;
}

.section-tag {
  display: inline-block; padding: 7px 18px;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.18));
  color: var(--gold); border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px;
  border: 1px solid rgba(220, 177, 89, 0.15);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  transform: scaleX(0); transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.18));
  transition: var(--transition);
}

.feature-icon i { font-size: 1.6rem; }

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h4 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 4px;
}

.feature-card p { font-size: 0.82rem; color: var(--text-light); }

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}

.apartment-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.apartment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.apartment-image {
  height: clamp(200px, 28vw, 320px); background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
  padding: 20px; overflow: hidden;
  background-color: #EFE8DF;
}

.apartment-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.apartment-card:hover .apartment-image {
  transform: scale(1.03);
}

.apartment-badge {
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; z-index: 1;
}

.apartment-price {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: var(--primary); padding: 8px 16px;
  border-radius: 14px; font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
  text-align: right;
}

.apartment-price-value {
  font-size: 0.85rem;
}

.apartment-rental {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 16px;
}

.apartment-rental i {
  color: var(--gold);
}

.apartment-body { padding: 24px; }

.apartment-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; margin-bottom: 4px;
}

.apartment-body .type {
  font-size: 0.82rem; color: var(--text-light);
  margin-bottom: 14px;
}

.apartment-features {
  display: flex; gap: 18px; margin-bottom: 18px;
  flex-wrap: wrap;
}

.apartment-features span {
  font-size: 0.82rem; color: var(--text-light);
  padding: 4px 0;
}

.apartment-features span i { margin-right: 6px; color: var(--primary); }

.apartment-body .btn { width: 100%; justify-content: center; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"'; position: absolute; top: 12px; right: 24px;
  font-size: 4rem; line-height: 1;
  font-family: var(--font-display);
  color: var(--gold-bg); pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card .stars {
  color: var(--gold); margin-bottom: 14px;
  font-size: 1.1rem; letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.9rem; color: var(--text-light);
  margin-bottom: 20px; font-style: italic; line-height: 1.8;
}

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.18));
  color: var(--gold); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.9rem;
  overflow: hidden; flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; display: block;
}

.testimonial-author strong {
  font-size: 0.85rem; display: block;
}

.testimonial-author span {
  font-size: 0.75rem; color: var(--text-muted);
}

.info-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #7A3D2A 100%);
  color: white; padding: 64px 0; text-align: center;
  position: relative; overflow: hidden;
}

.info-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(220,177,89,0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.info-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem; margin-bottom: 8px; font-weight: 700;
}

.info-banner p { opacity: 0.9; font-size: 1.05rem; }

.info-banner .hours {
  display: inline-block; margin-top: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 14px 30px; border-radius: 50px;
  font-weight: 500; font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.about-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); height: 460px;
  background-size: cover; background-position: center;
  position: relative;
  background-color: #EFE8DF;
}

.about-image::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.1);
  pointer-events: none;
}

.about-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 84px;
}

.about-story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-story-media::after {
  content: ''; position: absolute; top: -26px; right: -26px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0.35;
  z-index: 0;
}

.about-story-media img {
  width: 100%; height: 100%;
  min-height: clamp(240px, 30vw, 380px);
  object-fit: cover; display: block;
  transition: var(--transition);
  position: relative; z-index: 1;
}

.about-story-media:hover img {
  transform: scale(1.03);
}

.about-story-content h2 {
  font-family: var(--font-display);
  font-size: 2rem; margin: 10px 0 16px;
}

.about-story-content h2 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-story-content p {
  color: var(--text-light); margin-bottom: 14px;
  line-height: 1.8; font-size: 0.95rem;
}

.about-story-reverse .about-story-media {
  order: 2;
}

@media (max-width: 900px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 56px;
  }
  .about-story-reverse .about-story-media { order: 0; }
}

.about-feature-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 20px 0;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem; margin-bottom: 18px;
}

.about-text h2 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-light); margin-bottom: 14px;
  line-height: 1.8; font-size: 0.95rem;
}

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 32px;
}

.stat {
  text-align: center; padding: 20px 12px;
  background: linear-gradient(135deg, var(--gold-bg), transparent);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(220, 177, 89, 0.15);
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; color: var(--primary);
}

.stat-icon {
  font-size: 1.7rem; color: var(--primary);
  margin-bottom: 6px;
}

.stat-label { font-size: 0.82rem; color: var(--text-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px; margin-top: 36px;
}

.team-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 34px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.team-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  transform: scaleX(0); transition: var(--transition);
  transform-origin: right;
}

.team-card:hover::before { transform: scaleX(1); }

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bg), var(--bg-alt));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 2.2rem;
  transition: var(--transition);
  overflow: hidden;
}

.team-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

.team-avatar i { color: var(--primary); font-size: 2.2rem; }

.team-card:hover .team-avatar {
  transform: scale(1.1);
}

.team-card h4 { font-weight: 600; font-size: 0.95rem; }
.team-card p { font-size: 0.82rem; color: var(--text-light); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, var(--gold-bg), transparent);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-card:hover {
  background: var(--bg-card);
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: white; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h4 {
  font-size: 0.8rem; color: rgba(0, 0, 0, 0.4);
  margin-bottom: 2px; text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card p { font-weight: 600; font-size: 0.95rem; }

.page-header {
  padding: 160px 0 48px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
  position: relative;
}

.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 700; margin-bottom: 10px;
}

.page-header p { color: var(--text-light); font-size: 1.05rem; }

.services-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px; align-items: start;
}

.services-two-col h3 i {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.services-free-col {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.services-free-col h3 {
  font-size: 1.25rem; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}

.services-paid-col {
  background: linear-gradient(145deg, #2C2C2C, #1C1C1C);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}

.services-paid-col::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.services-paid-col h3 {
  font-size: 1.25rem; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  color: #fff;
}

.service-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.services-paid-col .service-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.service-item:last-child { border-bottom: none; }

.service-item-icon {
  width: 38px; text-align: center; font-size: 1.15rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.service-item-icon i { font-size: 1.15rem; }

.services-free-col .service-item-icon { color: var(--gold); }
.services-paid-col .service-item-icon { color: var(--gold); }

.service-item-name { flex: 1; font-size: 0.9rem; min-width: 0; overflow-wrap: anywhere; }
.services-paid-col .service-item-name { color: rgba(255, 255, 255, 0.9); }

.service-item .hint {
  font-size: 0.75rem; color: var(--text-muted);
  font-style: italic;
}

.service-item-price {
  font-weight: 700; color: #10B981;
  font-size: 0.9rem; white-space: nowrap;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.benin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benin-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.benin-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--gold), var(--primary));
  transition: var(--transition);
}

.benin-card:hover::before { height: 100%; }

.benin-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.benin-card-body { padding: 24px; }

.benin-card-image {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: #EFE8DF;
  position: relative;
}

.benin-card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.18));
  color: var(--primary);
  transition: var(--transition);
}

.benin-card:hover .benin-card-icon {
  transform: scale(1.08) rotate(-6deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #3D2E00;
}

.benin-card-body h3 {
  margin-bottom: 8px; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benin-card-body p {
  font-size: 0.85rem; color: var(--text-light);
  line-height: 1.7;
}

.monument-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  margin-bottom: 56px;
}

.monument-card.reverse .monument-media { order: 2; }
.monument-card.reverse .monument-text { order: 1; }

.monument-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.monument-text .section-tag { margin-bottom: 10px; }
.monument-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem; margin-bottom: 8px;
}

.monument-text .monument-location {
  font-size: 0.85rem; color: var(--primary);
  font-weight: 600; margin-bottom: 14px;
}

.monument-text .monument-location i {
  font-size: 0.95rem; margin-right: 6px;
}

.monument-text .monument-desc {
  font-size: 0.95rem; color: var(--text-light);
  line-height: 1.85;
}

.slider {
  position: relative;
  width: 100%; height: 420px;
  overflow: hidden;
  background: #1C1C1C;
}

.slider-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slider-img.active { opacity: 1; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none; cursor: pointer;
  font-size: 1.6rem; line-height: 1;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 2;
}

.slider-arrow:hover {
  background: var(--gold);
  color: #3D2E00;
}

.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
  z-index: 2;
}

.slider-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

.footer {
  background: #1C1C1C; color: rgba(255, 255, 255, 0.7);
  padding: 44px 0 0;
  position: relative;
}

.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
}

.footer .container {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 2.2fr;
  gap: 32px;
}

.footer-brand {
  text-align: left;
}

.footer-brand h3 {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  margin-right: auto;
  opacity: 0.95;
}

.footer-brand p {
  margin-top: 14px; font-size: 0.85rem;
  line-height: 1.7; opacity: 0.55;
  max-width: 340px;
}

.footer h4 {
  color: white; font-size: 0.9rem;
  margin-bottom: 18px; font-weight: 600;
  position: relative; display: inline-block;
}

.footer h4::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer a {
  display: block; font-size: 0.85rem;
  opacity: 0.55; margin-bottom: 10px;
  transition: var(--transition);
}

.footer a:hover {
  opacity: 1; color: var(--gold);
  transform: translateX(4px);
}

.footer a i { margin-right: 8px; font-size: 0.9rem; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px; font-size: 1.05rem;
  color: var(--text) !important; opacity: 1 !important;
  font-weight: 700; margin-bottom: 0;
  transition: var(--transition);
}

.footer-social a i { font-size: 1rem; }

.footer-social a:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 14px rgba(220, 177, 89, 0.3);
}

.footer-map-col {
  min-width: 0;
}

.footer-map {
  width: 100%; height: 260px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  overflow: hidden;
  margin-right: -24px;
}

.footer-map iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

.footer-map:hover {
  border-color: rgba(220, 177, 89, 0.4);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
}

.footer-bottom {
  margin-top: 32px; padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center; font-size: 0.8rem; opacity: 0.4;
}

.footer-sav-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 6px;
  opacity: 0.9;
}

.back-to-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none;
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(184, 93, 63, 0.3);
  transition: var(--transition);
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
}

.back-to-top i { font-size: 1.4rem; }

.back-to-top.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(184, 93, 63, 0.4);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate { animation: fadeUp 0.6s ease forwards; }
.animate-d1 { animation-delay: 0.1s; }
.animate-d2 { animation-delay: 0.2s; }
.animate-d3 { animation-delay: 0.3s; }
.animate-d4 { animation-delay: 0.4s; }
.animate-d5 { animation-delay: 0.5s; }

html.js-anim .animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html:not(.js-anim) .animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 968px) {
  .hero-content,
  .about-grid,
  .contact-grid,
  .services-two-col,
  .monument-card {
    grid-template-columns: 1fr; gap: 40px;
  }

  .monument-card.reverse .monument-media,
  .monument-card.reverse .monument-text { order: 0; }

  .hero-text h1 { font-size: 2.4rem; }
  .hero { min-height: auto; padding: 110px 0 60px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr; gap: 36px;
  }

  .section-header h2 { font-size: 1.8rem; }
  .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; padding: 28px 24px;
    gap: 20px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%); opacity: 0;
    pointer-events: none; transition: var(--transition);
  }

  .nav-links-inner,
  .nav-actions {
    flex-direction: column; gap: 20px; margin: 0;
    width: 100%; align-items: stretch;
  }
  .nav-login-btn { justify-content: center; }

  .nav-links.open {
    transform: translateY(0); opacity: 1;
    pointer-events: all;
  }

  .nav-toggle { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  .apartments-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .about-story-media img { min-height: 300px; }
  .page-header h1 { font-size: 1.8rem; }
  .page-header { padding: 150px 0 40px; }
  .section { padding: 70px 0; }
  .slider { height: 320px; }
  .building-slider { height: 320px; }
  .building-caption h3 { font-size: 1.9rem; }
  .monument-text h3 { font-size: 1.5rem; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-booking { padding: 24px; }
  .hero-text h1 { font-size: 1.7rem; }
  .btn { width: 100%; justify-content: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat { padding: 14px 8px; }
  .stat-number { font-size: 1.4rem; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header p { font-size: 0.95rem; }
  .hero-booking { padding: 22px; }
  .container { padding: 0 18px; }
}

@media (max-width: 400px) {
  .hero { padding: 100px 0 44px; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-booking h3 { font-size: 1.05rem; }
  .slider { height: 260px; }
  .building-slider { height: 280px; }
  .building-caption { left: 20px; bottom: 20px; }
  .building-dots { right: 20px; bottom: 20px; }
  .about-image { height: 320px; }
  .about-story-media img { min-height: 240px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .page-header h1 { font-size: 1.6rem; }
  .info-banner h2 { font-size: 1.5rem; }
  .info-banner { padding: 48px 0; }
  .testimonial-card { padding: 24px; }
  .monument-card { gap: 28px; margin-bottom: 40px; }
  .footer { padding-top: 48px; }
  .footer-grid { gap: 32px; }
  .back-to-top { width: 40px; height: 40px; bottom: 20px; left: 20px; }
}

/* ===== HEADER: Logo plus grand + bouton connexion + recherche ===== */
.nav-logo-img {
  height: 72px;
  width: auto;
  max-height: 72px;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.nav-links {
  white-space: nowrap;
}
.nav-links a {
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Fullscreen Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(253, 250, 246, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.search-overlay-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: 0 24px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.4s ease 0.1s;
}
.search-overlay.open .search-overlay-content {
  transform: translateY(0);
  opacity: 1;
}
.search-overlay-close {
  position: absolute;
  top: -16px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--bg-alt, #F5EDE4);
  color: var(--text-light, #6B5E55);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.search-overlay-close:hover {
  background: var(--primary, #B85D3F);
  color: #fff;
  transform: rotate(90deg);
}
.search-overlay-inner {
  text-align: center;
}
.search-overlay-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted, #9A8E85);
  margin-bottom: 20px;
}
.search-overlay-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border, #EBE3DA);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-overlay-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), var(--shadow-lg);
}
.search-overlay-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.15rem;
  color: var(--text, #2C2C2C);
  padding: 14px 18px;
  font-family: inherit;
  min-width: 0;
}
.search-overlay-input::placeholder {
  color: var(--text-muted, #9A8E85);
}
.search-overlay-submit {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted, #9A8E85);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.search-overlay-submit:hover {
  color: var(--text, #2C2C2C);
  transform: scale(1.05);
}
.search-overlay-hints {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.search-overlay-hints a {
  font-size: 0.82rem;
  color: var(--text-light, #6B5E55);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border, #EBE3DA);
  transition: all 0.3s ease;
}
.search-overlay-hints a:hover {
  color: var(--primary, #B85D3F);
  border-color: var(--primary, #B85D3F);
  background: rgba(184, 93, 63, 0.06);
}
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(184, 93, 63, 0.3);
}
.nav-search-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: scale(1.06);
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(184, 93, 63, 0.28);
  opacity: 1 !important;
}
.nav-login-btn i {
  font-size: 1rem;
}
.nav-login-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 93, 63, 0.38);
}
.nav-admin-link {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: #3D2E00 !important;
  box-shadow: 0 4px 12px rgba(220, 177, 89, 0.35) !important;
}
.nav-admin-link:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  box-shadow: 0 6px 18px rgba(220, 177, 89, 0.45) !important;
}
.nav-logout-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.nav-logout-link:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.05);
}

/* Navigation desktop : proportions inspirées du bandeau de référence. */
@media (min-width: 821px) {
  .nav-main {
    height: 88px;
    gap: 30px;
  }

  .nav-logo {
    max-width: 230px;
  }

  .nav-logo-img {
    height: 62px;
    max-height: 62px;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
    margin: 0;
  }

  .nav-links-inner {
    gap: 30px;
  }

  .nav-actions {
    gap: 16px;
    margin-left: 10px;
  }
}

.nav-search-btn,
.nav-search-btn:hover {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  transform: none;
}

.nav-search-btn:hover {
  color: var(--gold);
}

.nav-search-btn i {
  font-size: 1.3rem;
  line-height: 1;
}

/* La largeur minimale évite que « Se connecter » ne déborde. */
.nav-login-btn {
  min-width: 148px;
  padding: 0 24px;
}

/* À largeur intermédiaire, le menu passe en version compacte avant tout chevauchement. */
@media (min-width: 769px) and (max-width: 1080px) {
  .nav-main {
    height: 80px;
  }

  .nav-logo-img {
    height: 52px;
    max-height: 52px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links-inner,
  .nav-actions {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0;
    align-items: stretch;
  }


  .nav-login-btn {
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,44,44,0.82) 0%, rgba(184,93,63,0.55) 100%);
  z-index: 1;
}
.hero-slideshow .container {
  position: relative;
  z-index: 2;
}
.hero-slideshow .hero-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 80px 0 60px;
}
.hero-slideshow .hero-text {
  flex: 1;
  color: white;
}
.hero-slideshow .hero-text h1 {
  color: white;
}
.hero-slideshow .hero-text h1 span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slideshow .hero-text p {
  color: rgba(255,255,255,0.85);
}
.hero-slideshow .section-tag {
  color: var(--gold);
}
.hero-slideshow .hero-booking {
  flex: 0 1 480px;
  max-width: 480px;
  width: 100%;
  align-self: center;
}

/* ===== CARROUSEL BÂTIMENTS (Nos Appartements) ===== */
.building-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 440px;
}

.building-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.building-slide.active { opacity: 1; }

.building-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.74) 0%, rgba(20, 18, 16, 0.16) 45%, rgba(20, 18, 16, 0.05) 100%);
}

.building-caption {
  position: absolute;
  left: 32px; bottom: 28px;
  z-index: 2;
  color: #fff;
}

.building-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #3D2E00;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}

.building-caption h3 {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  line-height: 1.05; margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.building-type {
  font-size: 0.85rem; opacity: 0.92;
}

.building-dots {
  position: absolute;
  bottom: 26px; right: 30px;
  z-index: 3;
  display: flex; gap: 8px;
}

.building-dot {
  width: 26px; height: 5px;
  border: none; border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer; padding: 0;
  transition: var(--transition);
}

.building-dot.active {
  background: var(--gold);
  width: 34px;
}

.building-prev,
.building-next {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.building-prev { left: 20px; }
.building-next { right: 20px; }

.building-prev:hover,
.building-next:hover {
  background: var(--gold); color: #3D2E00;
  transform: translateY(-50%) scale(1.06);
}

/* ===== FEATURES GRILLE 3x2 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== SECTION VIDÉO ===== */
.section-video {
  background: var(--bg-alt);
}
.video-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.video-split-text .section-tag {
  color: var(--primary);
}
.video-split-text h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.video-split-text > p {
  color: var(--text-light);
  margin-bottom: 26px;
}
.video-feature-list {
  margin-bottom: 30px;
}
.video-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-weight: 500;
  color: var(--text);
}
.video-feature-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.video-split-media {
  position: relative;
}
.video-split-heading {
  margin-bottom: 20px;
}
.video-split-heading h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 4px;
}
.video-split-heading p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

/* ===== SECTION NOS ATOUTS (nouveau layout) ===== */
.atouts-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.atouts-video {
  position: relative;
}

.video-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 177, 89, 0.4);
}

.video-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 50px;
  background: rgba(44, 44, 44, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.video-card-badge i {
  color: var(--gold);
  font-size: 0.9rem;
}

.video-card .video-wrapper {
  flex: 1;
  min-height: 300px;
  height: auto;
  margin: 0;
  padding-bottom: 0;
  border-radius: 0;
}

.video-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-card-caption {
  padding: 20px 26px 24px;
}

.video-card-caption h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.video-card-caption h3 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-card-caption p {
  color: var(--text-light);
  font-size: 0.88rem;
}

.atouts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.atout-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.atout-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.atout-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220, 177, 89, 0.4);
}

.atout-card:hover::after {
  transform: scaleX(1);
}

.atout-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 93, 63, 0.25);
  line-height: 1;
  transition: var(--transition);
}

.atout-card:hover .atout-num {
  color: rgba(184, 93, 63, 0.14);
  -webkit-text-stroke: 0;
}

.atout-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.18));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.atout-card:hover .atout-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(184, 93, 63, 0.3);
}

.atout-text {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 900px) {
  .atouts-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .atouts-grid {
    grid-template-columns: 1fr;
  }
  .video-card .video-wrapper {
    min-height: 220px;
  }
}

/* ===== SECTION RÈGLEMENT ===== */
.section-reglement {
  background: var(--bg-alt);
}
.reglement-card {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)),
    url('images/site-live/appartements/LAURA/01-photo-1.jpg') center / cover no-repeat;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}
.reglement-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 0;
}
.reglement-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 36px;
}
.reglement-divider-line {
  height: 2px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.reglement-divider-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.reglement-divider i {
  font-size: 1.6rem;
  color: var(--gold);
}
.reglement-content {
  text-align: left;
  max-width: 780px;
  margin: 0 auto;
}
.reglement-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 10px 0;
}
.reglement-item i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 5px;
  flex-shrink: 0;
}
.reglement-item p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}
.reglement-item strong {
  color: var(--primary);
}

/* ===== FOOTER: Logo + Carte plus grands ===== */
.footer-logo-large {
  height: 120px;
  max-height: 120px;
  margin-bottom: 12px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 16px;
  font-size: 0.82rem;
}
.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: var(--text-muted);
  user-select: none;
}
.login-remember input {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
  margin: 0;
}
.login-forgot {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.login-forgot:hover {
  text-decoration: underline;
}
.login-forgot::after {
  display: none;
}

/* ===== PAGE PRODUIT ===== */
.produit {
  padding: 56px 0 80px;
  background: var(--bg-alt);
}
.produit-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.produit-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.produit-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.produit-main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.produit-main:hover img {
  transform: scale(1.02);
}
.produit-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(44, 44, 44, 0.55);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.produit-zoom:hover {
  background: var(--primary);
  transform: scale(1.08);
}
.produit-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.produit-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  opacity: 0.75;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.produit-thumb:hover {
  opacity: 1;
}
.produit-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

/* ===== VIDÉO GALERIE PRODUIT ===== */
.produit-videos {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.produit-videos-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--primary);
}
.produit-videos-header i {
  font-size: 1.4rem;
}
.produit-videos-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
}
.produit-video-player {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #000;
}
.produit-video {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius-md);
}
.produit-video::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

/* YouTube / iframe embed */
.produit-video-embed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.produit-yt-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Carousel vidéo */
.produit-video-count {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 999px;
}
.produit-video-carousel {
  position: relative;
}
.produit-video-slides {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.produit-video-slide {
  display: none;
}
.produit-video-slide.active {
  display: block;
}
.video-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.video-carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.video-prev { left: 12px; }
.video-next { right: 12px; }
.video-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.video-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}
.video-dot:hover {
  background: var(--gold);
  border-color: var(--gold);
}
@media (max-width: 540px) {
  .produit-video { max-height: 260px; }
  .video-carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
}

.produit-info {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.produit-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.produit-specs {
  margin-bottom: 8px;
}
.produit-specs p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin: 0;
}
.spec-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.produit-note {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 12px 0 22px;
  padding: 14px 16px;
  border-left: 4px solid #1a1a1a;
  background: #f5f5f5;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.produit-booking {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.produit-date-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.produit-date-row > label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 52px;
}
.produit-date-fields {
  display: flex;
  gap: 8px;
  flex: 1;
}
.produit-date-fields select {
  flex: 1;
  min-width: 0;
  padding: 11px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}
.produit-date-fields select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
}
.produit-email-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.produit-email-row > label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 52px;
}
.produit-email-row input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}
.produit-email-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
}
.produit-reserver {
  margin-top: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(184, 93, 63, 0.3);
}
.produit-reserver:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 93, 63, 0.4);
}
@media (max-width: 960px) {
  .produit-grid {
    grid-template-columns: 1fr;
  }
  .produit-main img {
    height: 320px;
  }
  .produit-thumb {
    height: 90px;
  }
}
@media (max-width: 600px) {
  .produit-info {
    padding: 26px 20px;
  }
  .produit-title {
    font-size: 2.2rem;
  }
  .produit-date-row,
  .produit-email-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
}

/* ===== RESPONSIVE: Hero slideshow + features ===== */
@media (max-width: 900px) {
  .hero-slideshow .hero-content {
    flex-direction: column;
    padding: 60px 0 40px;
  }
  .hero-slideshow .hero-booking {
    flex: none;
    width: 100%;
    max-width: 480px;
    align-self: center;
  }
  .hero-slideshow .hero-text {
    text-align: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .video-split-text h2 {
    font-size: 2rem;
  }
}
@media (max-width: 820px) {
  .nav-main { height: 76px; }
  .nav-logo-img { height: 48px; max-height: 48px; }
  .nav-links { top: 76px; max-height: calc(100vh - 76px); }
  .hero { padding-top: 76px; }
  .page-header { padding: 120px 0 40px; }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-slideshow {
    min-height: auto;
  }
  .reglement-card {
    padding: 28px 20px;
  }
}

/* ===== DESIGN REFINEMENTS ===== */

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Nav : conteneur élargi */
.nav .container {
  max-width: 1280px;
}
.nav-logo {
  gap: 12px;
}

/* Section tag : point décoratif */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
  flex-shrink: 0;
}

/* Section tag : texte lisible sur fond clair (le doré reste sur fonds sombres) */
.section-tag {
  color: #8A641F;
}

/* En-tête de section : filet doré sous le titre */
.section-header h2 {
  position: relative;
  padding-bottom: 16px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
}

/* Boutons : flèche animée */
.btn .ph-arrow-right {
  transition: transform 0.3s ease;
}
.btn:hover .ph-arrow-right {
  transform: translateX(4px);
}

/* HERO : effet Ken Burns + puces + indicateur scroll */
.hero-slide {
  transform: scale(1);
  will-change: transform;
}
.hero-slide.active {
  animation: kenburns 7s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
}
.hero-pill:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.hero-pill i {
  color: var(--gold);
  font-size: 1.05rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.hero-scroll-hint:hover {
  color: #fff;
}
.hero-scroll-hint .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  position: relative;
}
.hero-scroll-hint .mouse::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 4px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* CARTES APPARTEMENTS : overlay + chips équipements */
.apartment-image::before {
  content: 'Voir l\'appartement';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  background: linear-gradient(to top, rgba(184, 93, 63, 0.92), rgba(184, 93, 63, 0.2) 55%, transparent);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
  pointer-events: none;
}
.apartment-card:hover .apartment-image::before {
  opacity: 1;
}
.apartment-badge,
.apartment-price {
  z-index: 3;
}
.apartment-price {
  background: linear-gradient(135deg, #ffffff, #FFF8EF);
  border: 1px solid rgba(220, 177, 89, 0.4);
}
.apartment-features {
  gap: 8px;
}
.apartment-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}
.apartment-features span:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
}
.apartment-features span i {
  margin-right: 0;
  color: var(--primary);
}

/* TÉMOIGNAGES : filet au survol */
.testimonial-card {
  overflow: hidden;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.testimonial-card:hover::after {
  transform: scaleX(1);
}

/* STATS : chiffres dégradés */
.stat-number {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* PAGE-HEADER : halos décoratifs */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(220, 177, 89, 0.14), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(184, 93, 63, 0.12), transparent 42%);
  pointer-events: none;
}
.page-header .container {
  position: relative;
  z-index: 1;
}

/* INFO-BANNER : couronne décorative */
.info-banner::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -50px;
  width: min(240px, 30vw);
  height: min(240px, 30vw);
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.info-banner .container {
  position: relative;
  z-index: 1;
}

/* SERVICES : survol des lignes */
.service-item {
  transition: var(--transition);
  border-radius: 10px;
}
.services-free-col .service-item:hover {
  background: var(--gold-bg);
  padding-left: 10px;
  padding-right: 10px;
}
.services-paid-col .service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 10px;
  padding-right: 10px;
}

/* CARTE CONTACT */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-map {
    border-radius: var(--radius-lg);
  }
}

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate,
  html.js-anim .animate-on-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-slide.active {
    animation: none !important;
  }
}

/* Responsive des raffinements */
@media (max-width: 1250px) {
  .nav .container {
    max-width: 1140px;
  }

}
@media (max-width: 900px) {
  .hero-scroll-hint {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero-pills {
    gap: 8px;
  }
  .hero-pill {
    padding: 6px 12px;
    font-size: 0.72rem;
  }
}

/* ===== PAGE À PROPOS : design amélioré ===== */
.about-hero {
  position: relative;
  padding: 190px 0 92px;
  background-size: cover;
  background-position: center;
  background-color: #1C1C1C;
  text-align: center;
  color: #fff;
  isolation: isolate;
}

.about-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.78) 0%, rgba(28, 28, 28, 0.58) 60%, rgba(28, 28, 28, 0.75) 100%);
}

.about-hero .container { position: relative; z-index: 1; }

.about-hero .section-tag {
  color: var(--gold-light);
  justify-content: center;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: #fff; margin: 16px auto 18px;
  max-width: 760px; line-height: 1.2;
}

.about-hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem; max-width: 620px; margin: 0 auto;
}

.section-about { overflow: hidden; }

.about-media-wrap {
  position: relative;
}

.about-media-wrap .about-story-media { width: 100%; }

.about-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-bg), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem !important;
}

.team-card {
  padding: 28px 22px 30px;
}

.team-avatar {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bg), var(--bg-alt));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 2.4rem;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  border: 4px solid rgba(220, 177, 89, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.team-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

.team-avatar::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, rgba(220, 177, 89, 0.28), transparent 55%);
  opacity: 0; transition: var(--transition);
  pointer-events: none;
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(220, 177, 89, 0.28);
}

.team-card:hover .team-avatar::after { opacity: 1; }

.team-card h4 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  color: var(--text);
}

.team-role-chip {
  display: inline-block; margin-top: 10px;
  background: var(--gold-bg);
  color: var(--primary);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px;
}

.team-card p { margin-top: 2px; }

@media (max-width: 900px) {
  .about-hero { padding: 150px 0 64px; }
  .about-hero h1 { font-size: 2.2rem; }
}

/* ===== À PROPOS : carte satisfaction + features + confort + stats ===== */

.about-satisfaction {
  position: absolute;
  left: -24px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px 18px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(220, 177, 89, 0.35);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(44, 44, 44, 0.18);
  transition: var(--transition);
}

.about-satisfaction:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(44, 44, 44, 0.24);
}

.about-ring {
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.about-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: var(--bg-alt);
  stroke-width: 7;
}

.ring-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
}

.about-ring.in-view .ring-progress {
  animation: ringFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes ringFill {
  to { stroke-dashoffset: 0; }
}

.ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.about-satisfaction-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.3;
}

.about-satisfaction-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.06));
  border: 1px solid rgba(220, 177, 89, 0.22);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--bg-card);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.about-feature:hover::before {
  opacity: 1;
}

.about-feature-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #3D2E00;
  transform: scale(1.08) rotate(-5deg);
}

.about-feature-body strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.about-feature-body span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.about-feature-arrow {
  margin-left: auto;
  color: var(--gold);
  font-size: 1.05rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.about-feature:hover .about-feature-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.about-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.about-info-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.about-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.about-info-item:hover .about-info-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #3D2E00;
  transform: rotate(-6deg);
}

.about-stats-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 34px;
  position: relative;
  overflow: hidden;
}

.about-stats-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  opacity: 0.7;
}

.about-stats-wrap .stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.about-stats-wrap .stat:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-stats-wrap .stat-icon {
  color: var(--primary);
  font-size: 1.8rem;
}

.about-stats-wrap .stat-number {
  font-family: var(--font-display);
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.2rem;
}

.about-stats-wrap .stat-label {
  color: var(--text-light);
}

@media (max-width: 900px) {
  .about-satisfaction {
    left: 12px;
    bottom: 16px;
    padding: 14px 18px;
  }
  .about-ring {
    width: 62px;
    height: 62px;
  }
  .about-stats-wrap {
    padding: 28px 20px;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .about-stats-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .about-hero { padding: 130px 0 54px; }
  .about-hero h1 { font-size: 1.8rem; }
  .about-satisfaction {
    left: 8px;
    bottom: 12px;
    gap: 12px;
    padding: 12px 14px;
  }
  .about-satisfaction-text strong {
    font-size: 0.82rem;
  }
  .about-satisfaction-text span {
    font-size: 0.7rem;
  }
  .about-info {
    grid-template-columns: 1fr;
  }
  .about-stats-wrap {
    padding: 24px 16px;
  }
}

/* ============================================================
   AMÉLIORATIONS 2026 — WhatsApp flottant, lightbox, accessibilité
   ============================================================ */

/* Ancres sous la barre de navigation fixe */
[id] { scroll-margin-top: 120px; }



/* ===== LIGHTBOX (galerie produit) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 13, 10, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-width: 92vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s ease;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  background: var(--gold);
  color: #3D2E00;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===== MICRO-INTERACTIONS ===== */

/* Zoom léger sur les cartes « Découvrez le Bénin » */
.benin-card {
  overflow: hidden;
}

.benin-card-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.benin-card:hover .benin-card-image {
  transform: scale(1.06);
}

/* Cartes appartements : zoom fluide de la photo (sans déformer le badge) */
.apartment-card .apartment-image {
  background-size: cover;
  transition: background-size 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.apartment-card:hover .apartment-image {
  transform: none;
  background-size: 120%;
}

/* Boutons : état actif */
.btn:active,
.produit-reserver:active,
.slider-arrow:active,
.building-prev:active,
.building-next:active {
  transform: scale(0.97) translateY(0);
}

/* Lien du pied de page : icône qui accompagne le survol */
.footer a i { transition: transform 0.3s ease; }
.footer a:hover i { transform: translateX(3px); }

/* Écrans très étroits : bouton WhatsApp compact */
@media (max-width: 400px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 14px;
  }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ============================================================
   FINITIONS : carte location voiture + formulaire contact
   ============================================================ */

.car-rental-wrap {
  max-width: 460px;
  margin: 0 auto;
}

.car-rental-card {
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.car-rental-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 177, 89, 0.35);
}

.car-rental-body {
  padding: 30px 22px;
}

.car-rental-img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: contain;
  background: var(--bg-alt);
  padding: 10px;
  margin: 0 auto 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.car-rental-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.car-rental-desc {
  color: var(--text-light);
  margin: 6px 0 14px;
  font-size: 0.9rem;
}

.car-rental-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

/* Formulaire de contact : titre aligné sur la charte */
.contact-form-card .booking-form {
  gap: 14px;
}

.contact-form-card h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* ============================================================
   ESPACE CLIENT (mon-compte.php)
   ============================================================ */

/* Lien « Déconnexion » dans la navigation */
.nav-logout-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
}
.nav-logout-link:hover {
  color: var(--primary);
}

/* Page Mon compte */
.account-section {
  background: var(--bg-alt);
}
.account-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.account-alert {
  margin-bottom: 24px;
}
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  box-shadow: var(--shadow-lg);
}

/* Onglets */
.account-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 30px;
}
.account-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
  font-family: inherit;
}
.account-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(184, 93, 63, 0.3);
}

/* Formulaires */
.account-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.account-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
}
.account-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.account-submit {
  justify-content: center;
  width: 100%;
}
.account-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}
.account-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-link:hover {
  color: var(--primary-dark);
}

/* Champ honeypot invisible (anti-robots) */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* Vue connecté */
.account-welcome {
  text-align: center;
}
.account-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--gold-bg), rgba(220, 177, 89, 0.2));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border: 2px solid var(--gold);
}
.account-welcome h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 2px;
}
.account-email {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.account-msg {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 380px;
  margin: 0 auto 24px;
}
.account-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.account-bookings { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); text-align: left; }
.account-bookings h3 { font-family: var(--font-display); color: var(--primary); margin: 0 0 12px; }
.account-bookings > p { color: var(--text-light); margin: 0; }
.account-booking-list { display: grid; gap: 10px; }
.account-booking-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--bg-alt); }
.account-booking-item div { display:flex; flex-direction:column; gap:3px; }
.account-booking-item span:not(.booking-status) { font-size:.85rem; color:var(--text-light); }
.booking-status { font-size:.75rem; font-weight:800; padding:6px 9px; border-radius:999px; white-space:nowrap; }
.status-pending { background:#fff3d9; color:#936100; }.status-confirmed { background:#e5f6ec; color:#187146; }.status-cancelled { background:#fde8e4; color:#a03323; }.status-completed { background:#e7effb; color:#285a96; }
.booking-reassurance { display:flex; gap:8px; align-items:flex-start; margin:14px 0 0; color:var(--text-light); font-size:.83rem; line-height:1.5; }
.booking-reassurance i { color:var(--gold); font-size:1.1rem; margin-top:1px; }
.apartment-sort { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin:-18px 0 24px; color:var(--text-light); font-size:.88rem; }
.apartment-sort select { padding:10px 34px 10px 12px; border:1px solid var(--border); border-radius:999px; background:var(--bg-card); color:var(--text); font:inherit; }
@media (max-width:540px) { .account-booking-item { align-items:flex-start; flex-direction:column; }.apartment-sort { justify-content:flex-start; margin-top:0; flex-wrap:wrap; } }

@media (max-width: 540px) {
  .account-card {
    padding: 28px 20px;
  }
  .account-actions {
    flex-direction: column;
  }
  .account-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
 * Estimation du prix en temps réel (fiche produit)
 * ============================================================ */
.produit-price-calc {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FFFDF7, var(--gold-bg));
}
.produit-price-calc.is-visible {
  display: flex;
  animation: priceIn 0.35s ease both;
}
@keyframes priceIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.produit-price-calc-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.produit-price-calc-head i {
  font-size: 1.05rem;
}
.produit-price-calc-detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}
.produit-price-calc-currency {
  color: var(--text-light);
  font-size: 0.82rem;
  white-space: nowrap;
}
.produit-price-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid rgba(220, 177, 89, 0.35);
}
.produit-price-calc-total span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.produit-price-calc-total strong {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 800;
}
/* ============================================================
 * Panier Réservation(s) : bouton flottant + tiroir latéral
 * ============================================================ */
.res-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(120, 40, 30, 0.35);
  transition: var(--transition);
}
.res-float i {
  font-size: 1.35rem;
}
.res-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(120, 40, 30, 0.45);
}
.res-float-badge[hidden],
.res-drawer-foot[hidden] {
  display: none !important;
}
.res-float-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: linear-gradient(135deg, #F3CF7A, var(--gold));
  color: #4A2C12;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
.res-float-badge.pop {
  animation: badgePop 0.4s ease;
}
@keyframes badgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.res-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(20, 10, 8, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.res-overlay.show {
  opacity: 1;
}

.res-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: min(400px, 100vw);
  background: var(--bg);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.36, 1);
  visibility: hidden;
}
.res-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.res-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.res-drawer-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.res-drawer-title i {
  font-size: 1.3rem;
}
.res-drawer-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.res-drawer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.res-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
}

.res-drawer-empty {
  text-align: center;
  padding: 34px 10px;
}
.res-drawer-empty-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.res-drawer-empty p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 22px;
}
.res-drawer-empty .btn {
  width: 100%;
  justify-content: center;
}
.res-drawer-continue {
  margin-top: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.res-drawer-continue:hover {
  color: var(--primary-dark);
}

.res-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.res-drawer-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.res-drawer-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.res-drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.res-drawer-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.res-drawer-item-info strong {
  font-size: 0.92rem;
  color: var(--text);
}
.res-drawer-item-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}
.res-drawer-item-info em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}
.res-drawer-remove {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #FBE9E4;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.res-drawer-remove:hover {
  background: var(--primary);
  color: #fff;
}

.res-drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.res-drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.res-drawer-total span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}
.res-drawer-total strong {
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 800;
}
.res-drawer-email-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}
.res-drawer-foot input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.res-drawer-foot input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
}
.res-drawer-alert {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
}
.res-drawer-alert.ok {
  background: #E8F5EE;
  color: #1C7A4D;
  border: 1px solid #BFE8D4;
}
.res-drawer-alert.err {
  background: #FDEEEA;
  color: #A03422;
  border: 1px solid #F4C6BB;
}
.res-drawer-submit {
  padding: 13px 16px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(120, 40, 30, 0.3);
}
.res-drawer-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 40, 30, 0.4);
}
.res-drawer-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

@media (max-width: 600px) {
  .res-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .res-float-label {
    display: none;
  }
  .res-float-badge {
    top: -4px;
    right: -4px;
  }
  .res-drawer {
    width: 100vw;
  }
}

/* ============================================================
 * Blog : grille d'articles + cartes
 * ============================================================ */

/* Blog : format large — articles pleine largeur empilés verticalement */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg, #fff);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid var(--border, #e5e5e5);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  height: clamp(200px, 30vw, 340px);
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s;
}

.blog-card-play i {
  font-size: 3.5rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-play {
  background: rgba(0,0,0,0.4);
}

.blog-card:hover .blog-card-play i {
  transform: scale(1.12);
}

.blog-card-body {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted, #888);
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading, #1a1a1a);
  line-height: 1.3;
}

.blog-card-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary, #B85D3F);
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-light, #666);
  line-height: 1.75;
  flex: 1;
  max-width: 680px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary, #B85D3F);
  transition: color 0.25s;
}

.blog-card:hover .blog-card-link {
  color: var(--primary-dark, #9A4A30);
}

/* Blog video card — embedded video auto-plays */
.blog-card-video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Article complet */
/* ============================================================
 * Article page — immersive hero + card content
 * ============================================================ */

/* Hero inline dans le contenu */
.article-hero {
  margin-bottom: 28px;
}

.article-hero-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.article-hero-video-local {
  width: 100%;
  border-radius: 16px;
  max-height: 500px;
  background: #000;
}

.article-hero-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 450px;
}

/* Conteneur centré de l'article */
.article-wrapper {
  padding: 48px 0 60px;
  background: var(--bg, #fdfbf8);
}

.article-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card-bg, #fff);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 48px 44px 56px;
}

/* En-tête */
.article-header {
  text-align: center;
  margin-bottom: 32px;
}

.article-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted, #888);
  background: var(--bg-alt, #f9f7f4);
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.article-tag--video {
  background: rgba(184,93,63,0.08);
  color: var(--primary, #B85D3F);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading, #1a1a1a);
  margin-bottom: 14px;
}

.article-subtitle {
  font-size: 1.15rem;
  color: var(--text-light, #666);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* Séparateur décoratif */
.article-divider,
.article-footer-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0;
}

.article-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border, #e5e5e5), transparent);
}

.article-divider-icon {
  color: var(--gold, #D4AF37);
  font-size: 0.8rem;
}

/* Corps de l'article */
.article-body {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text, #333);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 18px;
  color: var(--heading, #1a1a1a);
  padding-left: 18px;
  border-left: 4px solid var(--primary, #B85D3F);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--heading, #1a1a1a);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body img {
  max-width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.article-body ul,
.article-body ol {
  margin: 18px 0;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.article-body li strong {
  color: var(--primary, #B85D3F);
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--bg-alt, #f9f7f4);
  border-left: 4px solid var(--gold, #D4AF37);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-light, #555);
}

/* Pied d'article */
.article-footer {
  margin-top: 40px;
}

.article-share {
  text-align: center;
  margin-bottom: 32px;
}

.article-share-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light, #888);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.article-share-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt, #f5f3ef);
  color: var(--text-light, #888);
  font-size: 1.15rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.article-share-btn:hover {
  background: var(--primary, #B85D3F);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184,93,63,0.3);
}

.article-nav-back {
  text-align: center;
}

.article-nav-back .btn {
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.article-nav-back .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,93,63,0.3);
}

/* Responsive */
@media (max-width: 768px) {


  .article-inner {
    margin: 0 auto;
    padding: 32px 20px 40px;
    border-radius: 16px;
  }

  .article-title {
    font-size: 1.7rem;
  }

  .article-subtitle {
    font-size: 1rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body h2 {
    font-size: 1.35rem;
  }

  .article-tags {
    gap: 8px;
  }

  .article-tag {
    font-size: 0.72rem;
    padding: 5px 12px;
  }
}

@media (max-width: 480px) {


  .article-inner {
    margin: 0 auto;
    padding: 24px 16px 36px;
  }

  .article-title {
    font-size: 1.45rem;
  }
}

/* Admin blog form */
.blog-form-wrap {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.blog-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-form-full {
  grid-column: 1 / -1;
}

.blog-form-grid label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text, #333);
}

.blog-form-grid input,
.blog-form-grid textarea,
.blog-form-grid select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border, #ddd);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
}

.blog-form-grid textarea {
  resize: vertical;
}

@media (max-width: 600px) {
  .blog-grid {
    gap: 28px;
  }
  .blog-card-body {
    padding: 22px 20px 26px;
  }
  .blog-form-grid {
    grid-template-columns: 1fr;
  }
  .blog-form-full {
    grid-column: 1;
  }
}

/* ============================================================
 * Login page — full-screen hero with centered card
 * ============================================================ */

.login-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/site-live/hero/hero-1.jpg') center/cover no-repeat;
  padding: 40px 20px;
}

.login-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 25, 16, 0.82) 0%, rgba(28, 17, 10, 0.72) 100%);
  backdrop-filter: blur(3px);
}

.login-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.login-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 48px 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: loginFadeUp 0.5s ease-out both;
}

@keyframes loginFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-logo {
  display: inline-block;
  margin-bottom: 28px;
}

.login-logo img {
  height: 56px;
  max-width: 200px;
  object-fit: contain;
}

.login-alert {
  margin-bottom: 20px;
  text-align: left;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-form .form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-form .form-group label i {
  color: var(--primary);
  font-size: 0.95rem;
}

.login-form .form-group input {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: rgba(253, 250, 246, 0.6);
  font-family: inherit;
  color: var(--text);
}

.login-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(184, 93, 63, 0.1);
  background: #fff;
}

.login-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  border-radius: 12px;
  font-size: 1rem;
  margin-top: 4px;
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.login-back:hover {
  color: var(--primary);
}

.login-back i {
  font-size: 1rem;
  transition: transform 0.25s;
}

.login-back:hover i {
  transform: translateX(-3px);
}

/* ===== Password toggle ===== */
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding-right: 44px;
}
.password-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border: none; background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.1rem;
  border-radius: 8px; transition: color 0.25s;
}
.password-toggle:hover { color: var(--primary); }

@media (max-width: 540px) {
  .login-hero {
    padding: 24px 16px;
    background-position: center 30%;
  }

  .login-card {
    padding: 36px 24px 28px;
    border-radius: 16px;
  }

  .login-logo img {
    height: 44px;
  }
}
