* { box-sizing: border-box; }

:root {
  --black: #151515;
  --dark: #202020;
  --muted: #777;
  --light: #f6f4f1;
  --white: #fff;
  --accent: #c87935;
  --accent-dark: #9e5b25;
  --border: #e7e1da;
  --green: #4d8b67;
  --orange: #c87935;
  --blue: #617f9e;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--black);
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.65;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.hero {
  min-height: 570px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15,15,15,.94), rgba(15,15,15,.62)),
    radial-gradient(circle at 80% 30%, #9b704d 0, #34302b 35%, #151515 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.05) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,.04) 50%, transparent 51%);
  background-size: 80px 80px;
  opacity: .25;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0;
}

.eyebrow, .section-kicker {
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.eyebrow { color: #e2ae78; }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 900px;
  margin: 0;
}

h1 span { color: #e1a56e; }

.hero-text {
  max-width: 650px;
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  margin: 28px 0 34px;
}

.hero-button, .property-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: .25s ease;
}

.hero-button {
  padding: 14px 24px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 4px;
}

.hero-button:hover {
  background: #fff;
  color: var(--black);
}

.intro {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 95px 0 50px;
}

.section-kicker { color: var(--accent); }

h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin: 0;
}

.intro-text {
  max-width: 520px;
  color: var(--muted);
  margin: 4px 0 0;
}

.properties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-bottom: 95px;
}

.property-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0,0,0,.09);
}

.property-image {
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Ces fonds sont volontairement autonomes : remplace-les facilement
   par les photos de tes biens si tu veux une page encore plus visuelle. */
   
.image-aubagne-maison107 {
  /*background: linear-gradient(135deg, #6d6257, #c5b29c 55%, #4e4b47);*/
  background-image: url("AUBAGNE_MAISON_107.jpg");
  background-repeat: no-repeat;
	background-position: center;
	/*width: 400px;
	height: 400px;
	border: 2px dashed #333;*/
}
   
.image-milliere-haut {
  /*background: linear-gradient(135deg, #6d6257, #c5b29c 55%, #4e4b47);*/
  background-image: url("MILLIERE_HAUT.jpg");
  background-repeat: no-repeat;
	background-position: center;
	/*width: 400px;
	height: 400px;
	border: 2px dashed #333;*/
}
.image-milliere-rdj {
  /*background: linear-gradient(135deg, #4c554d, #b6aa91 55%, #6e6a60);*/
   background-image: url("MILLIERE_RDJ.jpg");
  background-repeat: no-repeat;
	background-position: center;
}
.image-saint-marcel {
  /*background: linear-gradient(135deg, #5d6570, #b5a795 58%, #383d43);*/
    background-image: url("STMARCEL_DUPLEX_RIMAS_73.jpg");
  background-repeat: no-repeat;
	background-position: center;
}
.image-penne {
  /*background: linear-gradient(135deg, #5f594f, #b8a07c 58%, #3d3b37);*/
   background-image: url("PENNESURHUVEAUNE_MAISON_STUDIO_ATELIER.jpg");
  background-repeat: no-repeat;
	background-position: center;
}
.image-major {
  /*background: linear-gradient(135deg, #45515d, #a9b0ae 55%, #30383f);*/
  
   background-image: url("AUBAGNE_LEMAJOR.jpg");
  background-repeat: no-repeat;
	background-position: center;
}
.image-domremy {
 /* background: linear-gradient(135deg, #806c5d, #c2b095 55%, #55463e);*/
     background-image: url("AUBAGNE_DONREMY.jpg");
  background-repeat: no-repeat;
	background-position: center;
  
}

.property-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.48));
}

.status, .property-type {
  position: relative;
  z-index: 2;
}

.status {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 3px;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(0,0,0,.76);
}

.price {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;

  padding: 9px 14px;

  background: rgba(255, 255, 255, 0.95);
  color: #151515;

  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;

  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status.available { background: var(--green); }
.status.accepted { background: var(--orange); }
.status.promise { background: var(--blue); }
.status.sold { background: #555; }

.property-type {
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}

.property-body { padding: 28px 30px 32px; }

.property-location {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 10px;
}

.property-body h3 {
  font-size: 1.8rem;
  margin: 0 0 13px;
}

.property-body p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 24px;
}

.property-link {
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 5px;
}

.property-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.legend-section {
  background: var(--light);
  padding: 75px 0 85px;
}

.legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.legend > div {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px;
}

.dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.available-dot { background: var(--green); }
.accepted-dot { background: var(--orange); }
.promise-dot { background: var(--blue); }
.sold-dot { background: #555; }

.legend strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .06em;
}

.legend small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  margin-top: 7px;
}

footer {
  background: var(--black);
  color: #fff;
  padding: 35px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-inner strong { letter-spacing: .08em; }
.footer-inner p { color: #aaa; font-size: .8rem; margin: 5px 0 0; }
.footer-inner a { color: #fff; text-decoration: none; font-size: .82rem; }

@media (max-width: 800px) {
  .intro { display: block; }
  .intro-text { margin-top: 25px; }
  .properties { grid-template-columns: 1fr; }
  .legend { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { min-height: 520px; }
  .hero-content { padding: 60px 0; }
  h1 { font-size: 3rem; }
  .property-image { min-height: 250px; }
  .legend { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
  .footer-inner a { display: inline-block; margin-top: 18px; }
}

/* ===== Identité Frédéric Tramarin / Optimhome ===== */



.site-header { background:#fff; border-bottom:1px solid var(--border); }

.site-header-inner { min-height:126px; display:flex; justify-content:center; align-items:center; padding:10px 0; }

.brand-signature { display:block; line-height:0; }

.brand-signature img { display:block; width:min(610px,100%); height:auto; max-height:115px; object-fit:contain; }

.hero-top { display:flex; justify-content:flex-end; margin-bottom:30px; }

.optimhome-logo { display:block; width:235px; height:auto; box-shadow:0 12px 35px rgba(0,0,0,.20); }

.footer-brand { display:flex; align-items:center; gap:24px; }

.footer-brand img { width:145px; height:auto; }

.footer-brand > div { min-width:0; }

@media (max-width:650px) {

  .site-header-inner { min-height:105px; padding:8px 0; }

  .brand-signature img { max-height:88px; }

  .hero-top { justify-content:center; margin-bottom:28px; }

  .optimhome-logo { width:205px; }

  .footer-brand { align-items:flex-start; flex-direction:column; gap:14px; }

  .footer-brand img { width:150px; }

}
