* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C5AF81;
  --dark: #1F2124;
  --white: #FFFFFF;
  --gray-bg: #f4f3f0;
  --gray-text: #666;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 70px;
  background: var(--white);
  border-bottom: 1px solid #e8e6e2;
  position: relative;
  z-index: 10;
}

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

nav img.logo { height: 38px; width: auto; }

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

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
}

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

.nav-phone {
  font-size: 16px;
  font-weight: 600;
}

.nav-cta {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.nav-cta:hover { background: #d9c9a3; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: calc(100vh - 70px);
  background: var(--gray-bg);
  align-items: center;
  overflow: visible;
}

/* LEFT */
.hero-left {
  background: var(--gray-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px 0 72px;
  align-self: center;
}

.hero-left h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.hero-left p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: 36px;
}

.hero-left p strong { color: var(--dark); }

.address-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  max-width: 480px;
  transition: border-color 0.2s;
}

.address-input:focus-within { border-color: var(--gold); }

.address-input svg { flex-shrink: 0; }

.address-input input {
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--dark);
  background: transparent;
  width: 100%;
  font-family: inherit;
}

.address-input input::placeholder { color: #bbb; }

.btn-cta {
  max-width: 480px;
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 10px;
}

.btn-cta:hover { background: #d9c9a3; }

.trust-row {
  display: flex;
  justify-content: space-between;
  max-width: 480px;
  width: 100%;
  margin-bottom: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-text);
}

.trust-item svg { flex-shrink: 0; }

.city-check-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.city-check-btn span {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* RIGHT */
.hero-right {
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  align-self: center;
}

/* L'arche sombre, contenue dans la colonne beige */
.arch-inner {
  background: var(--dark);
  border-radius: 260px 260px 0 0;
  width: 100%;
  max-width: 420px;
  min-height: calc(100vh - 70px - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 36px 40px;
  overflow: hidden;
  position: relative;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(197,175,129,0.2);
  border-radius: 20px;
  padding: 7px 16px;
  margin-bottom: 32px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}

.live-badge span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  white-space: nowrap;
}

/* ARCHES */
.arches {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
  width: 100%;
}

/* Gaëtan — 1er plan */
.arch-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  margin-right: -20px;
}

.arch-main .avail-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.4);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 10px;
}

.arch-main .avail-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}

.arch-main .avail-badge span {
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.04em;
}

.arch-photo-main {
  width: 190px;
  height: 240px;
  border-radius: 95px 95px 12px 12px;
  overflow: hidden;
  border: 2.5px solid rgba(197,175,129,0.6);
  position: relative;
}

.arch-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.arch-photo-main .online-dot {
  position: absolute;
  bottom: 12px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4ade80;
  border: 3px solid var(--dark);
}

.arch-name {
  margin-top: 12px;
  text-align: center;
}

.arch-name strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.arch-name span {
  font-size: 11px;
  color: rgba(197,175,129,0.6);
}

/* Nicolas — 2e plan */
.arch-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  opacity: 0.75;
  margin-bottom: 0;
}

.arch-photo-secondary {
  width: 148px;
  height: 188px;
  border-radius: 74px 74px 10px 10px;
  overflow: hidden;
  border: 2px solid rgba(197,175,129,0.3);
}

.arch-photo-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Arches fantômes */
.arch-ghost {
  border-radius: 60px 60px 8px 8px;
  border: 1.5px solid rgba(197,175,129,0.12);
  background: rgba(197,175,129,0.04);
  z-index: 1;
  align-self: flex-end;
}

.arch-ghost-1 { width: 112px; height: 145px; opacity: 0.6; }
.arch-ghost-2 { width: 90px;  height: 116px; opacity: 0.35; margin-left: -10px; }

/* Carte activité */
.activity-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(197,175,129,0.18);
  border-radius: 12px;
  padding: 11px 18px;
  margin-top: 24px;
  max-width: 380px;
  width: 100%;
}

.activity-card .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(197,175,129,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.activity-card .info { flex: 1; }
.activity-card .info p { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); }
.activity-card .info small { font-size: 10px; color: rgba(197,175,129,0.6); }
.activity-card .price { font-size: 12px; font-weight: 800; color: var(--gold); white-space: nowrap; }

/* MODAL VILLES */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
}

.modal h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.modal p  { font-size: 14px; color: #888; margin-bottom: 20px; line-height: 1.6; }

.modal-search {
  position: relative;
  margin-bottom: 12px;
}

.modal-search input {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px 12px 42px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.modal-search input:focus { border-color: var(--gold); }

.modal-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

#city-count { font-size: 12px; color: #aaa; margin-bottom: 10px; }

#city-result { margin-bottom: 12px; min-height: 36px; }

.result-ok  { display:flex;align-items:center;gap:8px;padding:10px 14px;background:#f0fdf4;border:1px solid #86efac;border-radius:10px;font-size:13px;font-weight:600;color:#166534; }
.result-ko  { display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fef2f2;border:1px solid #fca5a5;border-radius:10px;font-size:13px;font-weight:600;color:#991b1b; }

#city-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}

.city-tag {
  background: var(--gray-bg);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.city-tag svg { flex-shrink: 0; }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.modal-footer span { font-size: 13px; color: #888; }

.modal-footer button {
  background: var(--dark);
  color: var(--gold);
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }


/* ═══════════════════════════════════════
   RESPONSIVE MOBILE — max 768px
═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* NAV — masquer les liens, garder logo + CTA */
  nav {
    padding: 0 16px;
    height: 60px;
  }
  nav img.logo { height: 30px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-right { gap: 12px; }
  .nav-cta { padding: 10px 16px; font-size: 13px; white-space: nowrap; }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 40px 24px 32px;
    justify-content: flex-start;
    align-self: auto;
  }

  .hero-left h1 { font-size: 42px !important; }
  .hero-left p  { font-size: 15px; }

  .address-input { padding: 12px 14px; }
  .address-input input { font-size: 14px; }
  .btn-cta { font-size: 15px; padding: 15px; }

  .trust-row {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }

  /* HERO RIGHT — arche mobile */
  .hero-right {
    padding: 32px 16px;
    min-height: auto;
    margin-top: 0;
    margin-bottom: 0;
  }

  .arch-inner {
    max-width: 100%;
    min-height: auto;
    padding: 36px 24px 32px;
    border-radius: 160px 160px 0 0;
  }

  .arch-photo-main  { width: 140px; height: 178px; }
  .arch-photo-secondary { width: 108px; height: 138px; }

  /* STATS */
  .stats-row {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(197,175,129,0.15); padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-num { font-size: 28px; }

  /* HOW */
  .how { padding: 48px 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .sec-title { font-size: 26px; }

  /* DIFF */
  .diff { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }

  /* FOOTER */
  footer { flex-direction: column; gap: 16px; padding: 28px 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px; }

  /* MODAL VILLES */
  .modal { padding: 28px 20px; }
  #city-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .hero-left h1 { font-size: 38px !important; }
  .arch-photo-main  { width: 120px; height: 152px; }
  .arch-photo-secondary { width: 90px; height: 114px; }
  .arch-inner { border-radius: 120px 120px 0 0; }
  #city-grid { grid-template-columns: 1fr 1fr; }
}

/* Fix arch names overlap sur mobile */
@media (max-width: 768px) {
  .arch-name strong { font-size: 14px; }
  .arch-name span   { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; display: block; }
  .arch-photo-main  { width: 150px; height: 188px; }
  .arch-photo-secondary { width: 110px; height: 138px; }
  .activity-card { flex-wrap: wrap; gap: 8px; }
  .live-badge span { font-size: 10px; }
}

/* ── MASQUAGES MOBILE SPÉCIFIQUES ── */
@media (max-width: 768px) {
  .nav-links        { display: none; }
  .hide-mobile      { display: none; }
}

/* Saut de ligne desktop uniquement */
.desktop-br { display: inline; }
@media (max-width: 768px) {
  .desktop-br { display: none !important; }
  p.hero-desc {
    text-align: justify !important;
    max-width: 100% !important;
    font-size: 15px !important;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* ── TRUST ROW MOBILE v2 ── */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .trust-row {
    justify-content: center !important;
    gap: 12px !important;
    max-width: 100% !important;
  }
  .city-mobile-center {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }
  .hero-left { padding-bottom: 8px !important; }
  .hero-right { margin-top: 0 !important; padding-top: 12px !important; }
}
