/* =============================================
   IMMUBLIERE – Style global
   ============================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --gold:    #c9a84c;
  --gold-lt: #e4c87a;
  --dark:    #0f1923;
  --dark2:   #1a2a3a;
  --dark3:   #243447;
  --light:   #f4f1eb;
  --white:   #ffffff;
  --gray:    #8fa0b4;
  --text:    #cdd8e3;
  --radius:  8px;
  --shadow:  0 8px 32px rgba(0,0,0,.45);
  --trans:   all .3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.3; color: var(--white); }

/* ── Utilities ── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt{ background: var(--dark2); }
.text-gold  { color: var(--gold); }
.text-center{ text-align: center; }
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  border: none;
  font-size: 1rem;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(201,168,76,.4); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

.section-title {
  font-size: clamp(1.8rem,4vw,2.8rem);
  margin-bottom: .5rem;
}
.section-subtitle {
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  margin: .75rem auto 1.5rem;
  border-radius: 2px;
}

/* ── NAV ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(15,25,35,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.2);
  padding: 1rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1520 0%, #1a2a3a 50%, #0f1923 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.12) 0%, transparent 60%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .18;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem,5.5vw,4rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.hero p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  position: absolute;
  bottom: 3rem; right: 0;
  z-index: 2;
  display: flex;
  gap: 2rem;
}
.stat-box {
  background: rgba(26,42,58,.8);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat-box .num { font-size: 2rem; font-weight: 700; color: var(--gold); font-family: 'Playfair Display',serif; }
.stat-box .lbl { font-size: .8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ── SERVICES (home preview) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.service-card {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.service-card p  { color: var(--gray); font-size: .95rem; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}
.testimonial-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 3px solid var(--gold);
  position: relative;
}
.testimonial-card .quote {
  font-size: 3rem; color: var(--gold); opacity: .3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: .5rem;
}
.testimonial-card p { color: var(--gray); font-style: italic; margin-bottom: 1.2rem; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--dark); font-size: 1rem;
}
.testi-name  { font-weight: 600; color: var(--white); font-size: .95rem; }
.testi-role  { font-size: .8rem; color: var(--gray); }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.page-header h1 { font-size: clamp(2rem,5vw,3.2rem); }
.breadcrumb {
  margin-top: .6rem;
  color: var(--gray);
  font-size: .9rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-wrap img {
  width: 100%;
  object-fit: cover;
  min-height: 360px;
  transition: transform .5s ease;
}
.about-img-wrap figure:hover img { transform: scale(1.04); }
.about-img-wrap figcaption {
  background: var(--dark3);
  padding: .75rem 1rem;
  font-size: .85rem;
  color: var(--gray);
  text-align: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { color: var(--gray); margin-bottom: 1rem; }
.about-values  { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.value-item {
  display: flex; align-items: center; gap: .7rem;
  color: var(--text);
}
.value-item::before {
  content: '✦';
  color: var(--gold);
  font-size: .75rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}
.team-card {
  background: var(--dark3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.12);
  transition: var(--trans);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.team-card figure { position: relative; }
.team-card img   { width: 100%; height: 240px; object-fit: cover; }
.team-card figcaption {
  padding: 1.2rem;
  background: var(--dark3);
}
.team-card figcaption h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.team-card figcaption .role { color: var(--gold); font-size: .85rem; }
.team-card figcaption p    { color: var(--gray); font-size: .82rem; margin-top: .5rem; }
.social-links { display: flex; gap: .6rem; margin-top: .8rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-size: .8rem;
  transition: var(--trans);
}
.social-links a:hover { background: var(--gold); color: var(--dark); }

/* ── SERVICES PAGE ── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 2rem;
}
.service-full-card {
  background: var(--dark3);
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,.12);
  overflow: hidden;
  transition: var(--trans);
}
.service-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-full-card-header {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  padding: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.service-full-card-header .icon { font-size: 2.2rem; }
.service-full-card-header h3   { font-size: 1.2rem; }
.service-full-card-body { padding: 1.5rem; }
.service-full-card-body p { color: var(--gray); margin-bottom: 1rem; font-size: .95rem; }
details {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: var(--radius);
  margin-bottom: .8rem;
  overflow: hidden;
}
summary {
  padding: .8rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
  transition: background .2s;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.2rem; transition: transform .3s; }
details[open] summary::after { content: '−'; }
details[open] summary { background: rgba(201,168,76,.08); }
.details-body {
  padding: 1rem;
  color: var(--gray);
  font-size: .9rem;
  border-top: 1px solid rgba(201,168,76,.1);
  line-height: 1.8;
}
.details-body ul { padding-left: 1.2rem; list-style: disc; }
.details-body li { margin-bottom: .3rem; }

/* Pricing table */
.pricing-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 600px;
}
.pricing-table thead tr {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
}
.pricing-table th {
  padding: 1rem 1.5rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-align: center;
  border-bottom: 2px solid rgba(201,168,76,.3);
}
.pricing-table td {
  padding: .9rem 1.5rem;
  text-align: center;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .92rem;
}
.pricing-table tbody tr:hover { background: rgba(201,168,76,.05); }
.pricing-table .category-row td {
  background: rgba(201,168,76,.1);
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  text-align: left;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.price-amount { color: var(--gold-lt); font-weight: 700; font-size: 1.05rem; }
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-gold  { background: rgba(201,168,76,.2); color: var(--gold); }
.badge-green { background: rgba(72,199,142,.2); color: #48c78e; }

/* ── GALLERY ── */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: .7rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gray);
  padding: .45rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: .88rem;
  transition: var(--trans);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.2rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--dark3);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,30,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  display: flex; align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: var(--white); }
.gallery-overlay-text h4 { font-size: 1rem; }
.gallery-overlay-text p  { font-size: .8rem; color: var(--gray); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img  { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; color: var(--white); cursor: pointer;
  background: none; border: none;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--gold); }

/* ── CONTACT ── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(201,168,76,.12);
  display: flex; gap: 1rem; align-items: flex-start;
}
.info-card .ic { font-size: 1.5rem; flex-shrink: 0; }
.info-card h4  { color: var(--gold); margin-bottom: .3rem; }
.info-card p   { color: var(--gray); font-size: .9rem; line-height: 1.5; }

/* Form */
.contact-form {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(201,168,76,.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: .88rem; color: var(--gray); font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: var(--white);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group select option { background: var(--dark2); }
.form-group textarea      { resize: vertical; min-height: 130px; }
.form-group input[type="range"] { padding: .4rem 0; }
.form-group input[type="range"]::-webkit-slider-thumb { background: var(--gold); }
.form-check {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: 1rem;
}
.form-check input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--gold); margin-top: 3px; }
.form-check label { font-size: .85rem; color: var(--gray); }
.form-check a { color: var(--gold); }
.radio-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.radio-option { display: flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--gray); font-size: .88rem; }
.radio-option input { accent-color: var(--gold); }
.range-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--gray); }
.file-hint   { font-size: .78rem; color: var(--gray); }
.form-success {
  display: none;
  background: rgba(72,199,142,.15);
  border: 1px solid rgba(72,199,142,.4);
  border-radius: var(--radius);
  padding: 1rem;
  color: #48c78e;
  text-align: center;
  margin-top: 1rem;
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.2);
  box-shadow: var(--shadow);
}
.map-container iframe {
  width: 100%;
  height: 380px;
  display: block;
  filter: grayscale(.4) brightness(.85);
}

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .nav-logo { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand p         { color: var(--gray); font-size: .88rem; line-height: 1.7; max-width: 240px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(201,168,76,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .9rem;
  transition: var(--trans);
}
.footer-social a:hover { background: var(--gold); color: var(--dark); }
.footer-col h4 {
  color: var(--gold);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: var(--gray); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p   { color: var(--gray); font-size: .82rem; }
.footer-links-leg  { display: flex; gap: 1.5rem; }
.footer-links-leg a{ color: var(--gray); font-size: .82rem; transition: color .2s; }
.footer-links-leg a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .about-grid      { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(15,25,35,.98);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(201,168,76,.2);
  }
  .nav-links.open { display: flex; }
  .nav-inner { position: relative; flex-wrap: wrap; }
  .nav-cta   { display: none; }
  .hero-stats { position: static; flex-wrap: wrap; margin-top: 3rem; }
  .form-row   { grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr; }
}
