/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 27, 61, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.nav-brand img { display: block; }
.nav-brand span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 84px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--orange);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  margin: 18px 0 20px;
}
.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(14,27,61,0.85);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.trust-strip {
  border-top: 1px solid var(--navy-line);
  padding: 26px 0;
}
.trust-strip ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.trust-strip li {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-align: center;
}
.trust-strip svg { flex-shrink: 0; }

/* ===================== WAVE DIVIDER (signature) ===================== */
.wave { display: block; width: 100%; height: 64px; }

/* ===================== SECTION SHELLS ===================== */
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-top: 12px;
  line-height: 1.12;
}
.section-head p { color: var(--slate); font-size: 16.5px; margin-top: 14px; line-height: 1.6; }

/* ===================== CONFIG SELECTOR ===================== */
.config-selector { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.config-selector-label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.config-tabs { display: inline-flex; background: var(--white); border: 1.5px solid var(--sand-line); border-radius: 999px; padding: 4px; gap: 4px; }
.section-sand .config-tabs { background: var(--paper); }
.config-tab {
  border: none; background: transparent; padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--navy); cursor: pointer;
}
.config-tab.active { background: var(--navy); color: var(--white); }

/* ===================== GALLERY / L'APPARTEMENT ===================== */
.apt-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/10;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy); }
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-strip button {
  padding: 0; border: 2px solid transparent; background: none; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.gallery-strip button.active { border-color: var(--orange); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-strip button { position: relative; }

.apt-specs { display: flex; gap: 28px; margin: 22px 0 26px; flex-wrap: wrap; }
.apt-spec { text-align: left; }
.apt-spec .num { font-family: var(--font-mono); font-size: 26px; color: var(--navy); font-weight: 700; }
.apt-spec .label { font-size: 13px; color: var(--slate); }
.apt-desc { color: var(--slate); font-size: 16px; line-height: 1.7; margin-bottom: 26px; }

.equip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.equip-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.equip-list li svg { flex-shrink: 0; color: var(--orange); }
.quartier-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--sand-line);
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--navy); font-weight: 600;
  margin-bottom: 18px;
}

/* ===================== TARIFS (boarding-pass style) ===================== */
.tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tarif-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.tarif-card::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 6px; background: var(--orange);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.tarif-card .tarif-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 10px;
}
.tarif-card .tarif-price {
  font-family: var(--font-display); font-size: 34px; font-weight: 600; margin-bottom: 4px;
}
.tarif-card .tarif-unit { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.tarif-card.featured { transform: translateY(-10px); box-shadow: var(--shadow-lift); }
.tarif-card.featured .tarif-label { color: var(--orange); }

/* ===================== TARIFS — table saisonnière ===================== */
.tarifs-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.tarifs-table, .tarifs-table-simple {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
.tarifs-table th, .tarifs-table td,
.tarifs-table-simple th, .tarifs-table-simple td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--sand-line); font-size: 14.5px;
}
.tarifs-table thead th, .tarifs-table-simple thead th {
  background: var(--navy); color: var(--white); font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.tarifs-table thead th span { display: block; font-size: 11px; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.65); margin-top: 4px; font-family: var(--font-body); }
.tarifs-table thead th.highlight { background: var(--orange); }
.tarifs-table td.highlight { background: rgba(255,106,26,0.08); font-weight: 700; color: var(--orange-deep); }
.tarifs-table tbody tr:last-child td, .tarifs-table-simple tbody tr:last-child td { border-bottom: none; }
.tarifs-table tbody td:first-child { font-weight: 700; color: var(--navy); }
.tarif-note { font-size: 14px; color: var(--slate); margin-bottom: 32px; }
.tarifs-secondary-grid { display: grid; gap: 24px; }
.tarif-block h3 { font-size: 18px; margin-bottom: 14px; color: var(--navy); }

/* ===================== MINI-GALERIES (présentation, privative, terrasse) ===================== */
/* Même principe que la galerie de l'appartement : image principale +
   bandeau de vignettes cliquables, tout reste sur la page. */
.mini-gallery { margin: 24px 0; }
.mini-gallery-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 16/10; margin-bottom: 12px; background: var(--navy);
}
.mini-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-gallery-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px;
}
.mini-gallery-strip button {
  padding: 0; border: 2px solid transparent; background: none; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.mini-gallery-strip button.active { border-color: var(--orange); }
.mini-gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sub-service { margin-bottom: 48px; }
.sub-service h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.sub-service .tarifs-table-simple { margin-top: 10px; }

/* ===================== COMMENT RESERVER ===================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .step-num {
  font-family: var(--font-mono); font-size: 46px; font-weight: 700; color: var(--sand-line);
  -webkit-text-stroke: 1.5px var(--navy); color: transparent;
  display: block; margin-bottom: 10px; line-height: 1;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ===================== BOOKING FORM ===================== */
.booking-layout { display: grid; grid-template-columns: 1fr 0.75fr; gap: 48px; align-items: start; }
.booking-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.optional-tag { font-weight: 500; color: var(--slate); text-transform: none; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ===================== MINI CALENDRIER ===================== */
.date-picker { background: var(--white); border: 1.5px solid var(--sand-line); border-radius: var(--radius-lg); overflow: hidden; }
.date-picker-summary { display: grid; grid-template-columns: 1fr 1fr; }
.dp-summary-item { padding: 12px 16px; border-bottom: 1.5px solid var(--sand-line); }
.dp-summary-item:first-child { border-right: 1.5px solid var(--sand-line); }
.dp-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); margin-bottom: 3px; }
.dp-value { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.date-picker-cal { padding: 14px 16px 16px; }
.dp-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-nav button { background: var(--sand); border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--navy); }
.dp-nav button:hover { background: var(--orange); color: var(--white); }
.dp-nav span { font-weight: 700; color: var(--navy); text-transform: capitalize; font-size: 14.5px; }
.dp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11.5px; color: var(--slate); margin-bottom: 4px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: none; background: transparent; border-radius: 8px; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.dp-day:disabled { color: var(--sand-line); cursor: not-allowed; text-decoration: line-through; }
.dp-day.dp-full { color: #C0392B; cursor: not-allowed; background: rgba(192,57,43,0.08); text-decoration: line-through; }
.dp-day:not(:disabled):not(.dp-full):hover { background: var(--sand); }
.dp-day.dp-selected { background: var(--orange); color: var(--white); font-weight: 700; }
.dp-day.dp-in-range { background: rgba(255,106,26,0.14); }
.dp-day.dp-empty { visibility: hidden; }
.dp-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--slate); }
.dp-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.dp-swatch-range { background: var(--orange); }
.dp-swatch-full { background: rgba(192,57,43,0.35); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  padding: 13px 14px;
  border: 1.5px solid var(--sand-line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--orange); background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-hint { font-size: 12.5px; color: var(--slate); margin-top: 4px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-status {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius);
  font-size: 14px; display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #EAF6EE; color: #1F7A3F; border: 1px solid #BEE3C6; }
.form-status.err { background: #FCEAEA; color: #B23A3A; border: 1px solid #F0C4C4; }

.summary-card {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: 34px;
  position: sticky; top: 100px;
}
.summary-card h3 { color: var(--white); font-size: 20px; margin-bottom: 6px; }
.summary-card .summary-sub { color: rgba(255,255,255,0.65); font-size: 13.5px; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--navy-line); font-size: 14.5px; }
.summary-row span:first-child { color: rgba(255,255,255,0.68); }
.summary-total { display: flex; justify-content: space-between; padding-top: 18px; font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.summary-total .orange { color: var(--orange); }
.summary-note { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 18px; line-height: 1.5; }

/* ===================== MAP / LOCATION ===================== */
.location-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.location-details p { color: var(--slate); line-height: 1.7; margin: 14px 0 22px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16/11; border: none; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-card {
  background: var(--white); display: inline-flex; padding: 10px 18px; border-radius: var(--radius);
  margin-bottom: 16px;
}
.footer-brand-card img { height: 34px; display: block; }
.footer h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a { text-decoration: none; color: inherit; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--navy-line); padding-top: 24px;
  display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }

/* ===================== MOBILE ===================== */
.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .trust-strip ul { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .apt-layout, .booking-layout, .location-layout { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .tarif-card.featured { transform: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .summary-card { position: static; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .equip-list { grid-template-columns: 1fr; }
}
