/* ============================================
   SITE IMMOBILIER PREMIUM – DOUALA
   Design : Corporate, élégant, africain contemporain
   ============================================ */

:root {
  /* Palette premium */
  --primary: #0f4c5c;          /* Bleu-vert profond */
  --primary-dark: #0a3540;
  --primary-light: #1a6b7c;
  --accent: #e07a3d;           /* Orange terre cuite */
  --accent-hover: #c96a30;
  --gold: #c9a227;
  --success: #2d6a4f;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --text: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f7f5f2;          /* Beige très clair */
  --bg-card: #ffffff;
  --border: #e8e4df;
  --shadow: 0 4px 20px rgba(15, 76, 92, 0.08);
  --shadow-hover: 0 12px 32px rgba(15, 76, 92, 0.14);

  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-dark);
}
h1 { font-size: clamp(1.85rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
}
.section-alt { background: var(--bg-alt); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* ========== HEADER ========== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--primary); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-menu a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.burger span {
  display: block;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #0f4c5c 0%, #1a6b7c 50%, #0a3540 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-visual {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 42%;
  max-width: 480px;
  height: 70%;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-visual .placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.hero-visual .placeholder-icon { font-size: 3rem; display: block; margin-bottom: 8px; }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
}
.service-card h3 { margin-bottom: 12px; color: var(--primary-dark); }
.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  min-height: 60px;
}
.service-card .btn { width: 100%; }

/* ========== CATALOGUE ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.property-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8e4df, #d4cfc8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.img-placeholder .placeholder-icon { font-size: 2.5rem; margin-bottom: 6px; }
.img-placeholder[data-type="terrain"] { background: linear-gradient(145deg, #d4e8d4, #b8d4b8); }
.img-placeholder[data-type="maison"] { background: linear-gradient(145deg, #d4e0f0, #b8c8e0); }
.img-placeholder[data-type="location"] { background: linear-gradient(145deg, #f0e8d4, #e0d4b8); }
.img-placeholder[data-type="vehicule"] { background: linear-gradient(145deg, #e8d4e0, #d4b8c8); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.badge-terrain { background: #2d6a4f; }
.badge-maison { background: #1a5f7a; }
.badge-location { background: #b8860b; }
.badge-vehicule { background: #6b3a6b; }

.status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
}

.property-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}
.property-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.property-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tag {
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.property-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.property-actions .btn { flex: 1; padding: 10px 12px; font-size: 0.85rem; }

.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 40, 0.7);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  width: 94%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal.open .modal-dialog { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 10;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }
#modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.modal-gallery {
  background: var(--bg-alt);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-gallery .gallery-item {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.modal-info {
  padding: 32px 28px;
}
.modal-info h2 { margin: 12px 0 8px; }
.modal-location { color: var(--text-muted); margin-bottom: 8px; }
.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.modal-status, .modal-surface {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.modal-description, .modal-features {
  margin-top: 20px;
}
.modal-description h3, .modal-features h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.modal-features ul {
  list-style: disc;
  padding-left: 20px;
}
.modal-features li {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.modal-actions .btn { width: 100%; }

/* ========== À PROPOS ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #e8e4df, #d4cfc8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.about-photo .placeholder {
  text-align: center;
  color: var(--text-muted);
}
.about-photo .placeholder-icon { font-size: 4rem; display: block; margin-bottom: 10px; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { margin-bottom: 14px; }
.about-points {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-point .icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.about-point strong { display: block; color: var(--primary-dark); }
.about-point span { font-size: 0.9rem; color: var(--text-secondary); }

/* ========== TÉMOIGNAGES ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.testimonial-photo {
  margin-bottom: 16px;
}
.avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.75rem;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.testimonial-author strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item a:hover { color: var(--primary); }
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font);
  font-weight: 600;
}
.footer p, .footer a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  display: block;
}
.footer a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-brand p { margin-bottom: 16px; max-width: 280px; }
#social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
#social-links a {
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.85rem;
}
#social-links a:hover { background: rgba(255,255,255,0.2); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); display: inline; }
.footer-bottom a:hover { color: #fff; }

/* ========== BACK TO TOP ========== */
#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover { background: var(--primary-dark); }

/* ========== MOBILE CTA BAR ========== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
  z-index: 950;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-cta-bar .btn { flex: 1; padding: 12px; font-size: 0.9rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  #modal-content { grid-template-columns: 1fr; }
  .modal-gallery { flex-direction: row; overflow-x: auto; }
  .modal-gallery .gallery-item { min-width: 200px; height: 140px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 8px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    transition: right 0.35s ease;
    z-index: 1000;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu a::after { display: none; }
  .header-cta .btn-whatsapp { display: none; }
  .burger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .property-actions { flex-direction: column; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-content { padding: 40px 0; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
  #back-to-top { bottom: 80px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .filters { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 0.82rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .modal-dialog { width: 100%; max-height: 100vh; border-radius: 0; }
  .contact-form { padding: 24px 18px; }
}

/* Utilitaires */
.muted { color: var(--text-muted); font-size: 0.9rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Real images in catalog & modal */
.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.property-card:hover .property-image img {
  transform: scale(1.05);
}
.modal-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}
.modal-gallery .gallery-item {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}

/* Logo in header */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Brand colors alignment with logo (green + gold) */
:root {
  --primary: #0d5c3d;
  --primary-dark: #08422b;
  --primary-light: #1a7a52;
  --accent: #c9a227;
  --accent-hover: #b08e1f;
  --gold: #c9a227;
}

/* Hero with logo feel */
.hero {
  background: linear-gradient(135deg, #0d5c3d 0%, #1a7a52 45%, #08422b 100%);
}

@media (max-width: 768px) {
  .logo-img { height: 40px; }
  .logo-text { font-size: 1rem; }
  .logo-text span { font-size: 0.65rem; }
}

/* ========== FORMULAIRE CONTACT AMÉLIORÉ ========== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group .required {
  color: var(--accent);
}
.form-group .optional {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.field-error {
  display: block;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.field-error.visible {
  opacity: 1;
}
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #c0392b;
  background: #fff8f7;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 92, 61, 0.12);
}

/* Success state */
.form-success {
  text-align: center;
  padding: 24px 12px;
}
.form-success .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}
.form-success h3 {
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.form-success p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-success .btn {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.form-submit {
  position: relative;
}
.form-submit .btn-loading {
  display: none;
}
.form-submit.is-loading .btn-text {
  visibility: hidden;
}
.form-submit.is-loading .btn-loading {
  display: inline;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
