/* ===== Propriétés Privées Design System ===== */
:root {
  --pp-red: #ED1651;
  --pp-red-dark: #d01347;
  --pp-red-light: #f73d6f;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #ddd;
  --gray-500: #707070;
  --gray-700: #444;
  --text: #333;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--white);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.navbar-logo img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}

.navbar-center {
  display: flex;
  gap: 2rem;
}

.navbar-center a {
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.navbar-center a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pp-red);
  transition: width var(--transition);
}

.navbar-center a:hover { color: var(--pp-red); }
.navbar-center a:hover::after { width: 100%; }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pp-red);
  color: var(--white);
  padding: 0.6rem 1.3rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-call:hover {
  background: var(--pp-red-dark);
  transform: scale(1.03);
}

.btn-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--black);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  color: var(--white);
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pp-red);
}

.hero-content { max-width: 700px; position: relative; z-index: 1; }

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem;
  border: 3px solid var(--pp-red);
  box-shadow: 0 0 40px rgba(237, 22, 81, 0.2);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--pp-red); }

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.3rem;
  font-weight: 300;
}

.hero-network {
  font-size: 0.95rem;
  color: var(--pp-red-light);
  margin-bottom: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--pp-red-dark);
  transform: scale(1.03);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  margin-left: 1rem;
}

.btn-outline-light:hover {
  border-color: var(--pp-red);
  color: var(--pp-red);
  transform: scale(1.03);
}

/* ===== Section Common ===== */
section { padding: 5rem 2rem; }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--pp-red);
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

/* ===== Properties Grid ===== */
#biens { background: var(--gray-100); }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.property-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pp-red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-img-wrapper {
  position: relative;
  overflow: hidden;
}

.property-body { padding: 1.3rem 1.5rem; }

.property-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pp-red);
}

.property-address {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.property-features {
  display: flex;
  gap: 1.2rem;
  color: var(--gray-700);
  font-size: 0.88rem;
}

.property-features span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== About ===== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text strong { color: var(--pp-red); }

.about-values {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-item {
  text-align: center;
  flex: 1;
  padding: 1.2rem 0.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--pp-red);
}

.value-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.value-item h4 {
  font-size: 0.85rem;
  color: var(--black);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Contact ===== */
#contact {
  background: var(--black);
  color: var(--white);
}

#contact .section-title { color: var(--white); }
#contact .section-subtitle { color: rgba(255,255,255,0.55); }

.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(237, 22, 81, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.8rem;
  color: var(--pp-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-info-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.375rem;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pp-red);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form .btn-primary { width: 100%; text-align: center; }

/* ===== Footer ===== */
.footer {
  background: #111;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  border-top: 3px solid var(--pp-red);
}

.footer a { color: var(--pp-red); }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .navbar-center { display: none; }
  .navbar-center.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .navbar-toggle { display: block; }
  .navbar-cta .btn-call span.call-text { display: none; }
  .navbar-cta .btn-call { padding: 0.6rem; }

  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 110px; height: 110px; }

  .btn-outline-light { margin-left: 0; margin-top: 0.8rem; }
  .hero-buttons { display: flex; flex-direction: column; align-items: center; }

  .properties-grid { grid-template-columns: 1fr; }

  .about-content { grid-template-columns: 1fr; text-align: center; }
  .about-img { max-width: 280px; margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; }

  .about-values { flex-direction: column; gap: 1rem; }
}
