/* ═══════════════════════════════════════════
   DAKHLA TOURISME — Feuille de styles commune
   ═══════════════════════════════════════════ */

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

/* ── Variables ── */
:root {
  --cream:       #FAF7F0;
  --cream-dark:  #F0EAD9;
  --charcoal:    #1C1C1C;
  --charcoal-2:  #3A3A3A;
  --muted:       #8A7F6E;
  --terracotta:  #C4603A;
  --terra-light: #E8916E;
  --ocean:       #1A6B8A;
  --ocean-light: #4FA3BE;
  --gold:        #B8922A;
  --gold-light:  #D4AF60;
  --white:       #FFFFFF;
  --border:      rgba(28,28,28,0.1);
  --shadow:      0 4px 30px rgba(28,28,28,0.08);
  --container:   1140px;
  --gap:         2rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Typography ── */
.display {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.1;
}
.display em { font-style: italic; color: var(--terracotta); }

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding: 6rem 0;
}
.section--alt {
  background: var(--cream-dark);
}
.section--dark {
  background: var(--charcoal);
  color: var(--cream);
}
.section--ocean {
  background: var(--ocean);
  color: var(--white);
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-head .divider {
  width: 48px;
  height: 2px;
  background: var(--terracotta);
  margin: 1.5rem auto 0;
}
.section-head p {
  max-width: 580px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── NAV ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(250,247,240,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.nav-logo span {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-2);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border: none !important;
  border-radius: 2px;
  transition: background 0.25s !important;
}
.nav-cta:hover { background: #a84f2e !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 70px;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroZoom 12s ease-in-out forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,28,28,0.82) 0%,
    rgba(28,28,28,0.35) 55%,
    rgba(28,28,28,0.1) 100%
  );
}
.hero-body {
  position: relative;
  z-index: 2;
  padding: 5rem 0 5rem;
  color: var(--white);
}
.hero-body h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-body h1 em { color: var(--gold-light); }
.hero-body p {
  font-size: 1.05rem;
  max-width: 560px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-badge {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212,175,96,0.45);
  padding: 0.35rem 0.9rem;
}
.hero-stats {
  position: absolute;
  right: 2rem; bottom: 4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right;
  color: var(--white);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
}
.hero-stat-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@keyframes heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1); }
}

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-terra {
  background: var(--terracotta);
  color: var(--white);
}
.btn-terra:hover { background: #a84f2e; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-dark:hover { background: var(--charcoal-2); }
.btn-ocean {
  background: var(--ocean);
  color: var(--white);
}
.btn-ocean:hover { background: #155875; }
.btn-ghost-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}
.btn-ghost-dark:hover { border-color: var(--charcoal); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(28,28,28,0.13);
}
.card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.card-img-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.card:hover .card-img-inner { transform: scale(1.06); }
.card-body { padding: 1.6rem; }
.card-body h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

.card-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--cream-dark);
  color: var(--terracotta);
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.8rem;
}

/* ── ACTIVITY CARD TALL ── */
.act-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.act-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.88) 0%, rgba(28,28,28,0.1) 60%);
  transition: background 0.4s;
}
.act-card:hover::before {
  background: linear-gradient(to top, rgba(28,28,28,0.95) 0%, rgba(28,28,28,0.35) 60%);
}
.act-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  color: var(--white);
}
.act-num {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.4rem;
}
.act-card h3 {
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.act-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s;
  opacity: 0;
}
.act-card:hover .act-desc { max-height: 120px; opacity: 1; }
.act-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }
.act-tag {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(212,175,96,0.5);
  color: var(--gold-light);
  padding: 0.25rem 0.65rem;
}

/* ── STRIP STATS ── */
.stats-strip {
  background: var(--charcoal);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  color: var(--cream);
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.45);
  margin-top: 0.4rem;
}

/* ── FEATURE SPLIT ── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.feature-split-img {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}
.feature-split-body {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-split-body p {
  color: var(--muted);
  line-height: 1.85;
  margin: 1.2rem 0 2rem;
}

/* ── BIZ GRID ── */
.biz-card {
  background: var(--white);
  padding: 2.5rem;
  border-top: 3px solid transparent;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s;
}
.biz-card:hover {
  border-color: var(--ocean);
  transform: translateY(-4px);
}
.biz-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.biz-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.biz-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.75; }
.biz-card ul { list-style: none; margin-top: 1rem; }
.biz-card ul li {
  font-size: 0.82rem;
  color: var(--charcoal-2);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.7rem;
}
.biz-card ul li::before { content: '›'; color: var(--ocean); font-size: 1rem; font-weight: 700; }

/* ── IMMO CARD ── */
.immo-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.immo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(28,28,28,0.14); }
.immo-img {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.immo-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}
.immo-body { padding: 1.6rem; }
.immo-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.immo-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.immo-specs {
  display: flex; gap: 1.2rem;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ocean); margin-bottom: 1rem;
}
.immo-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--charcoal);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.immo-price span { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: var(--muted); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-info-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ci-text label {
  display: block;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.2rem;
}
.ci-text span { font-size: 0.88rem; color: var(--charcoal-2); }

.contact-box {
  background: var(--white);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-box h3 { margin-bottom: 0.8rem; }
.contact-box p { color: var(--muted); font-size: 0.88rem; line-height: 1.75; margin-bottom: 2rem; }

.contact-cats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  margin-bottom: 2rem;
}
.contact-cat {
  background: var(--cream);
  padding: 1.2rem 0.8rem;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: border-color 0.25s, background 0.25s;
}
.contact-cat:hover { border-color: var(--terracotta); background: #fdf7f4; }
.contact-cat .cat-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.contact-cat .cat-lbl {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--charcoal-2);
}

/* ── FOOTER ── */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { color: var(--cream); }
.footer-brand .nav-logo span { color: var(--gold-light); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(250,247,240,0.45);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.4);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(250,247,240,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.72rem; color: rgba(250,247,240,0.3);
}
.footer-flag { font-size: 1.1rem; }

/* ── PAGE TOP PADDING ── */
.page-content { padding-top: 70px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.03);
  animation: heroZoom 10s ease-in-out forwards;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.82) 0%, rgba(28,28,28,0.2) 100%);
}
.page-hero-body {
  position: relative; z-index: 2;
  color: var(--white);
  padding: 3rem 0;
}
.page-hero-body h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero-body h1 em { color: var(--gold-light); }
.page-hero-body p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 560px; }

/* ── QUOTE BLOCK ── */
.quote-block {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--ocean);
  color: var(--white);
}
.quote-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-block cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-style: normal;
}

/* ── WHY INVEST ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.why-item {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--terracotta);
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--terracotta);
  line-height: 1;
}
.why-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ── SILICON VALLEY CTA ── */
.sv-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.sv-cta h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.sv-cta p {
  color: rgba(250,247,240,0.6);
  font-size: 0.9rem;
  line-height: 1.75;
}
.sv-cta-btns { display: flex; flex-direction: column; gap: 1rem; min-width: 220px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding-left: 1.2rem; padding-right: 1.2rem; }
  .section { padding: 4rem 0; }
  .card-grid--2,
  .card-grid--3 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split-img { min-height: 280px; }
  .feature-split-body { padding: 3rem 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sv-cta { grid-template-columns: 1fr; }
  .sv-cta-btns { flex-direction: row; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .hero-stats { display: none; }
  .nav-menu { gap: 1.2rem; }
  .nav-menu a { font-size: 0.68rem; }
}
