/* ============================================================
   HARMONIE BÂTIE — Stylesheet Premium
   Agence Immobilière de Luxe Marocaine
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy:       #1B2A4A;
  --navy-light: #243660;
  --gold:       #C9A84C;
  --gold-light: #dfc06a;
  --gold-dark:  #a8873a;
  --white:      #FFFFFF;
  --cream:      #F8F5EF;
  --light-gray: #F2F2F2;
  --mid-gray:   #9B9B9B;
  --dark-text:  #2C2C2C;
  --border:     #E5E1D8;
  --shadow:     0 4px 30px rgba(27,42,74,0.12);
  --shadow-lg:  0 10px 50px rgba(27,42,74,0.18);
  --transition: all 0.35s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Raleway', Arial, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: var(--font-sans); }

.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.section-title .gold { color: var(--gold); }

.section-divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 0 28px 0;
  border-radius: 2px;
}

.section-divider.center { margin: 0 auto 28px; }

.section-lead {
  font-size: 1.05rem;
  color: #555;
  max-width: 620px;
  line-height: 1.8;
}

.section-lead.center { text-align: center; margin: 0 auto; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* ===========================
   NAVBAR
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 18px 0;
}

#navbar.scrolled {
  background: rgba(27,42,74,0.97);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

#navbar.white-nav {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#navbar.white-nav .nav-logo-text,
#navbar.white-nav .nav-links a {
  color: var(--navy);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon span {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-text .brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-phone i { color: var(--gold); font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.3rem;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.mobile-nav a:hover { color: var(--gold); }

.mobile-nav-close {
  position: absolute;
  top: 22px; right: 22px;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Floating contact bar */
.float-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(27,42,74,0.9);
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.float-contact a:hover { background: var(--gold); transform: scale(1.08); }

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(27,42,74,0.82) 0%, rgba(27,42,74,0.55) 60%, rgba(27,42,74,0.75) 100%),
    url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1920&q=85');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: var(--white);
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 540px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  gap: 0;
  background: rgba(27,42,74,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.3);
  z-index: 3;
}

.hero-stat {
  padding: 22px 32px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.2);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ===========================
   SECTION: Qui Sommes Nous
   =========================== */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 220px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.about-badge-float {
  position: absolute;
  top: 32px;
  left: -22px;
  background: var(--gold);
  color: var(--white);
  padding: 18px 22px;
  text-align: center;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.about-badge-float span:first-child {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-float span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,168,76,0.12);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--navy);
  font-family: var(--font-sans);
}

.about-feature-text p {
  font-size: 0.78rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* ===========================
   SECTION: Projets
   =========================== */
.projets-section { background: var(--cream); }
.projets-section.white-bg { background: var(--white); }

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-img img { transform: scale(1.06); }

.project-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-green  { background: #2E7D32; color: #fff; }
.badge-gold   { background: var(--gold); color: #fff; }
.badge-navy   { background: var(--navy); color: #fff; }
.badge-orange { background: #E65100; color: #fff; }

.project-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(27,42,74,0.85));
  padding: 28px 16px 14px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.project-card-body {
  padding: 20px 20px 24px;
}

.project-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.project-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--mid-gray);
  margin-bottom: 10px;
}

.project-card-location i { color: var(--gold); font-size: 0.8rem; }

.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.project-card-surface {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #666;
}
.project-card-surface i { color: var(--gold); }

/* ===========================
   SECTION: Pourquoi Nous
   =========================== */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=60') center/cover no-repeat;
  opacity: 0.06;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.6rem;
  color: var(--gold);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--white);
}

.why-card h3 {
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.why-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ===========================
   CTA BAND
   =========================== */
.cta-band {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: 'HB';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 22rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  left: -5%;
  top: -30%;
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-outline-white:hover {
  background: var(--white);
  color: var(--gold-dark);
}

/* ===========================
   QUICK CONTACT FORM
   =========================== */
.quick-contact { background: var(--white); }

.quick-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1/-1; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--dark-text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-text h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-sans);
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo-text .brand-name,
.footer-brand .nav-logo-text .brand-tagline { color: var(--gold); }

.footer-desc {
  margin: 20px 0 24px;
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: 0.6rem; color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-newsletter-input {
  display: flex;
  margin-top: 6px;
}

.footer-newsletter-input input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: var(--white);
  font-size: 0.83rem;
  font-family: var(--font-sans);
  outline: none;
  border-radius: 2px 0 0 2px;
}

.footer-newsletter-input input::placeholder { color: rgba(255,255,255,0.35); }

.footer-newsletter-input button {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 0 2px 2px 0;
  transition: var(--transition);
}

.footer-newsletter-input button:hover { background: var(--gold-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ===========================
   PAGE HERO (intérieur)
   =========================== */
.page-hero {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 72px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: 0.65rem; }

/* ===========================
   PROJET DETAIL
   =========================== */
.projet-detail-hero {
  height: 520px;
  position: relative;
  overflow: hidden;
  margin-top: 72px;
}

.projet-detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.projet-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,42,74,0.9) 0%, rgba(27,42,74,0.3) 60%, transparent 100%);
}

.projet-detail-hero-content {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  color: var(--white);
}

.projet-detail-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 10px;
}

.projet-detail-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding: 70px 0;
}

.projet-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.projet-spec {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  border-radius: 0 4px 4px 0;
}

.projet-spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 4px;
}

.projet-spec-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-serif);
}

.projet-sidebar {
  position: sticky;
  top: 100px;
}

.projet-price-box {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.projet-price-box .price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.projet-price-box .price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
  display: block;
}

.projet-contact-box {
  background: var(--cream);
  padding: 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.projet-contact-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  font-family: var(--font-sans);
}

.projet-contact-box .form-group { margin-bottom: 12px; }

/* ===========================
   A PROPOS PAGE
   =========================== */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.valeur-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  transition: var(--transition);
}

.valeur-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(201,168,76,0.1);
  transform: translateY(-4px);
}

.valeur-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
}

.valeur-card:hover .valeur-icon {
  background: var(--gold);
  color: var(--white);
}

.valeur-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.valeur-card p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.7;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.team-card-img {
  height: 260px;
  overflow: hidden;
}

.team-card-img img { width: 100%; height: 100%; object-fit: cover; }

.team-card-body { padding: 22px; }

.team-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card-body p {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 80px 0;
}

.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.contact-form-wrap .section-divider { margin-bottom: 24px; }

.contact-aside { }

.contact-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 28px;
}

/* ===========================
   GALERIE
   =========================== */
.gallery-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: #666;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ===========================
   UTILITIES & ANIMATIONS
   =========================== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy); }

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .projects-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .about-grid         { grid-template-columns: 1fr; }
  .about-img-wrap     { max-width: 500px; margin: 0 auto; }
  .quick-contact-grid { grid-template-columns: 1fr; }
  .valeurs-grid       { grid-template-columns: 1fr 1fr; }
  .projet-detail-info { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .hero-stats         { display: none; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-phone   { display: none; }
  .hamburger   { display: flex; }

  .projects-grid  { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .valeurs-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .form-grid      { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .projet-spec-grid { grid-template-columns: 1fr 1fr; }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-btns { flex-direction: column; }
  .section-pad { padding: 60px 0; }
}

@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; }
  .projet-spec-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
