/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0b1f33;
  background: #f4fbff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== COLORS ===== */
:root {
  --primary: #007fae;      /* bleu/vert principal */
  --primary-dark: #00658a;
  --accent: #00c2c9;
  --bg-light: #e9f6ff;
  --text-muted: #6d7c8f;
  --card-radius: 18px;
  --shadow-soft: 0 14px 30px rgba(0, 57, 92, 0.12);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  z-index: 50;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  font-size: 26px;
  margin-right: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
}

.nav a {
  font-size: 15px;
}

.btn-nav {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 146, 166, 0.35);
}

.nav-toggle {
  display: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  margin-top: 70px; /* hauteur header */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://i.postimg.cc/7hWSLk5N/pool-villa-5000930-640.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0, 31, 63, 0.85) 0%,
    rgba(0, 69, 112, 0.65) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
  color: #fff;
}

.hero-left h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-left p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-badge {
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.9;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.96);
  color: #0b1f33;
  padding: 24px 26px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease-in-out;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 11px 26px;
  box-shadow: 0 10px 22px rgba(0, 79, 129, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  padding: 10px 24px;
  border: 1px solid #ffffffaa;
  color: #fff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
}

.btn-secondary {
  padding: 10px 24px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-primary.full {
  width: 100%;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section.light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
}

/* ===== ABOUT SHORT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.about-grid h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.about-grid p {
  color: var(--text-muted);
  line-height: 1.7;
}

.about-points {
  display: grid;
  gap: 18px;
}

.about-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(33, 118, 166, 0.1);
}

.about-item .icon {
  font-size: 22px;
}

.about-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.about-item p {
  font-size: 14px;
}

/* ===== FEATURED PROPERTIES ===== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.property-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.property-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.property-body {
  padding: 18px 20px 20px;
}

.property-location {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.property-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.property-price {
  font-weight: 600;
  color: var(--primary);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.section-actions {
  margin-top: 30px;
  text-align: center;
}

/* ===== AREAS ===== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.area-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.area-card h3 {
  margin-bottom: 8px;
}

/* ===== GUIDE CARDS ===== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.guide-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 26px rgba(0, 69, 112, 0.12);
}

.guide-card h3 {
  margin-bottom: 10px;
}

.guide-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== CONTACT SPLIT ===== */
.contact-split {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.contact-grid h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.contact-grid p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-list {
  list-style: none;
  color: var(--text-muted);
}

.contact-list li {
  margin-bottom: 6px;
}

.contact-form {
  background: var(--bg-light);
  padding: 24px 26px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid #d3e3f0;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  background: #02101f;
  color: #e1ecf5;
  padding: 50px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer a {
  display: block;
  font-size: 14px;
  color: #b7c7dd;
  margin-bottom: 4px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #8ea2c1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 4px 0;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
    font-size: 22px;
  }
}
.btn-property {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #0076c6;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-property:hover {
  background: #005f9b;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 118, 198, 0.25);
}
@media (max-width: 768px) {
  .hero-content h1 {
    margin-top: 40px; /* ajuste si tu veux plus */
  }
}
@media (max-width: 768px) {
  .hero-right,
  .hero-left,
  .contact-form {
    margin-bottom: 40px; /* espace sous la box */
  }
}
/* OUR TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.team-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 22px 30px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.team-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e6f3ff;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #004e6b;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.98rem;
  font-weight: 500;
  color: #0082b4;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 0.95rem;
  color: #4a5e6a;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.logo-img {
    height: 60px;     /* 🔥 ajuste ici la taille souhaitée */
    width: auto;
    display: block;
}
/* Fix spacing under fixed header */
.hero,
.hero-bg,
.hero-overlay,
.hero-content {
    padding-top: 25px; /* Ajuste selon la taille du header */
    padding-bottom: 15px; /* Ajuste selon la taille du header */
}
/* Desktop : bouton burger caché */
.nav-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 80px;          /* hauteur du header à ajuster si besoin */
    right: 20px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;      /* caché par défaut */
    flex-direction: column;
    gap: 10px;
  }

  .nav a {
    display: block;
    padding: 6px 0;
  }

  /* Quand on clique sur le burger => nav-open ajoutée en JS */
  .nav.nav-open {
    display: flex;
  }
}

.map-container {
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* version simple hauteur fixe */
.map-container iframe {
  width: 100%;
  height: 350px;   /* ajuste selon tes goûts */
  display: block;
  border: 0;
}

/* si tu veux un ratio 16/9 responsive "pur" :
.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
*/
/* WRAPPER */
/* CONTAINER */
.wizard-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-family: "Poppins", sans-serif;
}

/* H2 */
.wizard-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

/* ONLY ACTIVE STEP VISIBLE */
.step {
  display: none;
}
.step.active {
  display: block;
}

/* GRID OF OPTIONS */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* OPTION BOXES */
.option-box {
  padding: 18px;
  border-radius: 14px;
  background: #f5faff;
  border: 2px solid #d6eaff;
  text-align: center;
  cursor: pointer;
  font-size: 17px;
  transition: 0.25s;
  font-weight: 500;
}

.option-box:hover {
  background: #e8f3ff;
}

.option-box.selected {
  background: #007aff;
  color: white;
  border-color: #007aff;
}

/* FORM INPUTS SAME DESIGN AS OPTIONS */
#wizardForm input,
#wizardForm textarea {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border-radius: 14px;
  border: 2px solid #d6eaff;
  background: #f5faff;
  font-size: 16px;
  transition: 0.25s;
}

#wizardForm input:focus,
#wizardForm textarea:focus {
  border-color: #007aff;
  background: white;
  outline: none;
}

/* CTA BUTTON */
.submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 15px;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.25s;
}

.submit-btn:hover {
  background: #005fcc;
}
#wizardForm, 
#wizardForm * {
  font-family: "Poppins", sans-serif !important;
}

.hero-right #wizardForm {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 20px;
  margin-top: 20px;
}
