/* Mise en page des dossiers éditoriaux et de la carte plein écran. */
.official-intro{background:#f0f4ed;padding-top:52px;padding-bottom:52px}
.official-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.official-card{display:flex;flex-direction:column;min-height:220px;padding:20px;background:var(--panel);border:1px solid var(--line);scroll-margin-top:30px}
.official-card:target{border-color:var(--coral);box-shadow:0 0 0 3px #eb815b2b}
.official-card-top{display:flex;justify-content:space-between;gap:10px;color:var(--green);font:10px var(--mono);text-transform:uppercase}
.official-card-top b{color:var(--coral);font-weight:500;text-align:right}
.official-card h3{font-size:21px;letter-spacing:-.05em;line-height:1.05;color:var(--green);margin:26px 0 9px}
.official-card p{font-size:12px;line-height:1.55;color:var(--muted);margin:0 0 18px}
.official-card a{margin-top:auto;color:var(--green);font:10px var(--mono);text-decoration:underline;text-underline-offset:4px}
.official-program-section{background:#e7efdf;padding-top:58px;padding-bottom:64px}
.program-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.program-card{display:flex;flex-direction:column;background:var(--paper);border:1px solid #d2dfce;padding:24px;min-height:420px}
.program-card h3{font-size:28px;line-height:1;letter-spacing:-.06em;color:var(--green);margin:12px 0 10px}
.program-card p{font-size:12px;line-height:1.55;color:var(--muted);margin:0 0 20px}
.program-days{display:grid;gap:0;border-top:1px solid var(--line);margin-bottom:18px}
.program-days div{font-size:11px;line-height:1.45;padding:9px 0;border-bottom:1px solid var(--line);color:#566459}
.program-card>a{margin-top:auto;color:var(--green);font:10px var(--mono);text-decoration:underline;text-underline-offset:4px}
.video-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.video-card{background:var(--panel);border:1px solid var(--line);overflow:hidden}
.video-frame,.detail-video,.video-poster{position:relative!important;aspect-ratio:16/9!important;background:#10271a!important;overflow:hidden!important;border-radius:8px}
.video-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0}
.video-poster-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0b181044,#0b1810b8);z-index:1}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2}
.video-poster-badge{position:absolute;left:12px;top:12px;z-index:2}
.video-frame iframe,.detail-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:8px}
.video-card-info{padding:16px}
.video-card-info>span{font:10px var(--mono);color:var(--coral);text-transform:uppercase}
.video-card-info h3{font-size:20px;line-height:1.05;letter-spacing:-.05em;color:var(--green);margin:9px 0}
.video-card-info small,.video-caption{font:10px var(--mono);color:var(--muted)}
.detail-video{margin-top:16px;border:1px solid #d4dfd0}
.video-caption{display:block;margin-top:7px}
.source-closure{padding-top:58px;padding-bottom:58px}
.map-only-section{background:#edf3e9;padding-top:0;padding-bottom:64px}
.map-panel-large{max-width:1240px;margin:0 auto}
.map-panel-large .map-canvas{height:min(68vh,720px);min-height:520px}
.map-panel-large .map-foot{color:#67796d}
.map-panel-large .real-mode .map-foot{color:#a8b9a8}
.map-panel-large .real-map{border-radius:2px}
.map-only-section+.section-block{padding-top:70px}
@media(max-width:1050px){.official-grid{grid-template-columns:repeat(3,1fr)}.video-shelf{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.official-grid,.program-grid,.video-shelf{grid-template-columns:1fr}.official-card{min-height:190px}.program-card{min-height:0}.map-panel-large .map-canvas{height:68vh;min-height:430px}}
.detail-page-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:32px;align-items:end;padding:72px max(28px,calc((100% - 1240px)/2)) 58px;color:#fff;background:linear-gradient(110deg,#12271af0,#12271a7c),var(--detail-image) center/cover;min-height:470px}
.detail-page-hero h1{font-size:clamp(48px,7vw,82px);line-height:.94;letter-spacing:-.08em;margin:0 0 20px}.detail-page-hero h1 em{font-family:var(--serif);font-weight:400;color:#d7eea2}.detail-page-hero p:not(.eyebrow){max-width:620px;line-height:1.65;color:#e3ebdf}.detail-page-hero .page-hero-note{color:var(--green);background:#eff4dbeb;align-self:end}.detail-fact-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:38px}.detail-fact-grid div{display:grid;gap:8px;padding:17px 15px;border-right:1px solid var(--line)}.detail-fact-grid div:last-child{border-right:0}.detail-fact-grid b{font:10px var(--mono);color:var(--coral);text-transform:uppercase}.detail-fact-grid span{font-size:12px;line-height:1.45;color:var(--green)}.page-detail-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:38px}.page-detail-aside{background:#eef3eb;padding:23px}.page-detail-card-grid{display:grid;gap:10px;margin-bottom:18px}.page-detail-card{display:flex;flex-direction:column;gap:7px;background:var(--paper);border:1px solid var(--line);padding:15px}.page-detail-card>span{font:9px var(--mono);color:var(--coral);text-transform:uppercase}.page-detail-card h3{font-size:18px;line-height:1;color:var(--green);margin:2px 0}.page-detail-card p{font-size:11px;line-height:1.45;color:var(--muted);margin:0}.page-detail-card strong{font:12px var(--mono);color:var(--green)}.page-detail-card a{font:10px var(--mono);color:var(--green);text-decoration:underline;margin-top:3px}.page-detail-aside .button{display:block;width:100%;margin-top:10px;text-align:center}.page-detail-copy{font-size:13px;line-height:1.65;color:var(--muted)}.detail-kicker-spaced{margin-top:30px}.stage-page-link{display:block;margin-top:10px;color:var(--green);font:10px var(--mono);text-decoration:underline;text-underline-offset:4px}.activity-open-page{color:var(--coral)}.page-loading{padding-top:100px;padding-bottom:100px;color:var(--muted);font:11px var(--mono)}
@media(max-width:760px){.detail-page-hero,.page-detail-columns{grid-template-columns:1fr}.detail-page-hero{padding-top:48px;min-height:500px}.detail-fact-grid{grid-template-columns:1fr 1fr}.detail-fact-grid div:nth-child(2){border-right:0}.detail-fact-grid div:nth-child(-n+2){border-bottom:1px solid var(--line)}.detail-fact-grid div:nth-child(3){border-right:1px solid var(--line)}}

/* Styles Annuaire des Guides Officiels ICT & Nouveaux Éléments */
.guide-directory-toolbar {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.guide-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-search-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.guide-search-field, .guide-select-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide-search-field label, .guide-select-field label {
  font: 10px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}
.guide-search-field input, .guide-select-field select {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green);
  font: 13px var(--sans);
  border-radius: 2px;
}
.guide-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font: 11px var(--mono);
}
.guide-note-ict {
  color: var(--muted);
  font-size: 10px;
}
.guides-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.guide-pro-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.guide-pro-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 39, 26, 0.06);
  border-color: #bcd0b6;
}
.guide-pro-card.guide-french-card {
  border-left: 4px solid var(--coral);
  background: #fbfdf9;
}
.guide-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.guide-license-badge {
  font: 10px var(--mono);
  color: var(--green);
  background: #e4eee0;
  padding: 3px 7px;
  border-radius: 2px;
}
.guide-french-badge {
  font: 10px var(--mono);
  font-weight: 600;
  color: #fff;
  background: var(--coral);
  padding: 3px 8px;
  border-radius: 2px;
}
.guide-pro-card h3 {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--green);
  margin: 0;
}
.guide-specialty-line {
  font: 12px var(--mono);
  color: #4a5c4e;
}
.guide-region-tag {
  display: inline-block;
  font: 10px var(--mono);
  color: var(--coral);
  background: #fff0eb;
  padding: 2px 6px;
  border-radius: 2px;
  margin-top: 4px;
}
.guide-langs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.guide-lang-chip {
  font: 9px var(--mono);
  color: #566459;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 2px;
}
.guide-lang-chip.chip-french {
  color: var(--coral);
  border-color: #f7b59f;
  background: #fff6f3;
  font-weight: 600;
}
.guide-actions-row {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.guide-btn-call, .guide-btn-wa, .guide-btn-mail {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  font: 11px var(--mono);
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.guide-btn-call {
  background: var(--green);
  color: #fff;
}
.guide-btn-wa {
  background: #25d366;
  color: #fff;
}
.guide-btn-mail {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--green);
}
.guide-btn-call:hover, .guide-btn-wa:hover, .guide-btn-mail:hover {
  opacity: 0.9;
}

/* Pagination Controls */
.pagination-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 30px 0;
}
.pagination-btn {
  padding: 10px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--green);
  font: 11px var(--mono);
  cursor: pointer;
  border-radius: 2px;
}
.pagination-btn:hover:not(:disabled) {
  background: var(--green);
  color: #fff;
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-info {
  font: 11px var(--mono);
  color: var(--muted);
}

/* Hébergements Filtres Étendus */
.lodging-filter-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.lodging-filter-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 10px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}
.lodging-filter-controls select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green);
  font: 12px var(--sans);
}
.cst-badge-elite {
  background: #10b981 !important;
  color: #fff !important;
  font-weight: 600;
}
.cst-badge-basic {
  background: #0ea5e9 !important;
  color: #fff !important;
}
.lodging-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
}
.lodging-amenities-tags span {
  font: 9px var(--mono);
  color: #58665b;
  background: #eff4ec;
  padding: 2px 6px;
  border-radius: 2px;
}
.lodging-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.lodging-subtext {
  font: 10px var(--mono);
  color: var(--muted);
}

/* FAQ Accordion */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: 2px;
}
.faq-card summary {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-card summary::-webkit-details-marker {
  display: none;
}
.faq-card summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  color: var(--coral);
}
.faq-card[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.faq-card p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================================================
   SHOWROOM CLIMAT & MICROCLIMATS (CARNET ÉDITORIAL)
   ========================================================================== */
.climate-showcase {
  margin: 28px 0;
}
.climate-tabs-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.climate-tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font: 11px var(--mono);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--green);
  cursor: pointer;
  transition: all .2s ease;
}
.climate-tab-btn:hover {
  border-color: var(--green);
}
.climate-tab-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--lime);
  box-shadow: 0 4px 14px rgba(23, 60, 46, 0.15);
}

.climate-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .climate-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .climate-cards-grid { grid-template-columns: 1fr; }
}

.climate-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(18, 39, 26, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.climate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(18, 39, 26, 0.12);
  border-color: #bcd0b6;
}
.climate-card-media {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.climate-card-media:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 40, 28, 0.15) 0%, rgba(14, 40, 28, 0.88) 100%);
  z-index: 0;
}
.climate-card-media > * {
  position: relative;
  z-index: 1;
}
.climate-zone-badge {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(14, 40, 28, 0.85);
  backdrop-filter: blur(6px);
  color: var(--yellow);
  font: 10px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.climate-card-media-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.climate-card-media-bottom h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.climate-temp-badge {
  background: var(--yellow);
  color: var(--green);
  padding: 6px 11px;
  border-radius: 999px;
  font: 700 12px var(--mono);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.climate-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.climate-season-row {
  display: grid;
  gap: 10px;
}
.climate-season-block {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.climate-season-block.dry-season {
  background: #fdfaf2;
  border-color: #f0debb;
}
.climate-season-block.green-season {
  background: #f1f7ed;
  border-color: #d1e2cb;
}
.climate-season-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.climate-season-header strong {
  font-size: 12px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.climate-season-header span {
  font: 10px var(--mono);
  color: var(--orange);
  font-weight: 600;
}
.climate-season-block.green-season .climate-season-header span {
  color: #3b7454;
}
.climate-season-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.climate-card-tip {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: #4a5c4e;
  line-height: 1.5;
}
.climate-card-tip strong {
  display: block;
  font: 10px var(--mono);
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: .04em;
}

/* Tableaux Stylisés & Mode Synthèse */
.climate-table-container {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(18, 39, 26, 0.05);
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  font-size: 12px;
}
.styled-table th {
  background: #eef3eb;
  color: var(--green);
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 2px solid #d4dfcf;
}
.styled-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: #4a5c4e;
  line-height: 1.5;
  vertical-align: middle;
}
.styled-table tr:last-child td {
  border-bottom: 0;
}
.styled-table tr:hover td {
  background: #fbfdfa;
}
.table-temp-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e4eee0;
  color: var(--green);
  font: 700 11px var(--mono);
}

/* Formalités d'entrée & Numéros d'urgence */
.formality-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 6px 18px rgba(18, 39, 26, 0.04);
}
.formality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 39, 26, 0.1);
  border-color: #bcd0b6;
}
.formality-badge {
  font: 10px var(--mono);
  color: var(--orange);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.formality-card h3 {
  font-size: 22px;
  letter-spacing: -.05em;
  line-height: 1.1;
  color: var(--green);
  margin: 0 0 12px;
}
.formality-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Emergency buttons with direct call */
.emergency-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.emergency-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--green);
  transition: all .2s ease;
}
.emergency-btn:hover {
  background: var(--green);
  color: var(--lime);
  border-color: var(--green);
  transform: translateX(4px);
}
.emergency-btn b {
  font-size: 13px;
}
.emergency-btn strong {
  font: 700 13px var(--mono);
}

/* Redesigned flight card */
.flight-card {
  background: var(--green);
  color: #f4f7ee;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(11, 40, 30, 0.18);
  border: 1px solid #235844;
}
.flight-copy h2 {
  color: #fff;
}
.flight-copy > p:not(.eyebrow) {
  color: #cad9c8;
}
.flight-metasearch {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px;
}
.flight-field label {
  color: #bed0af;
}
.flight-field select, .flight-field input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}
.flight-controls {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
}
.flight-result strong {
  color: var(--lime);
}
.flight-result span, .flight-result small {
  color: #bed0af;
}

@media(max-width: 1050px) {
  .guides-cards-container { grid-template-columns: repeat(2, 1fr); }
  .guide-search-row { grid-template-columns: 1fr; }
  .lodging-filter-controls { grid-template-columns: 1fr; }
}
@media(max-width: 650px) {
  .guides-cards-container { grid-template-columns: 1fr; }
  .guide-actions-row { flex-direction: column; }
}

/* ==========================================================================
   FICHES REPLIABLES (EDITORIAL ACCORDIONS) & ÉTAPES RICHEMENT ILLUSTRÉES
   ========================================================================== */
.editorial-folds-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.editorial-fold {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.editorial-fold:hover {
  border-color: #abbfa9;
  box-shadow: 0 6px 20px rgba(18, 39, 26, 0.05);
}

.editorial-fold[open] {
  border-color: var(--green);
  box-shadow: 0 10px 30px rgba(18, 39, 26, 0.08);
}

.fold-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--paper);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.15s;
}

.fold-summary::-webkit-details-marker {
  display: none;
}

.fold-summary:hover {
  background: #edf3e9;
}

.fold-summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.fold-stage-pill {
  font: 700 11px var(--mono);
  background: var(--green);
  color: var(--lime);
  padding: 6px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.fold-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fold-title-group h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fold-title-group .fold-subtext {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fold-summary-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fold-metric-chip {
  font: 11px var(--mono);
  color: #3b5a44;
  background: #e4eee0;
  padding: 5px 9px;
  border-radius: 3px;
  white-space: nowrap;
}

.fold-date-chip {
  font: 600 11px var(--mono);
  color: var(--coral);
  background: #fdf1ec;
  padding: 5px 9px;
  border-radius: 3px;
  white-space: nowrap;
}

.fold-chevron {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2ecd9;
  color: var(--green);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.editorial-fold[open] .fold-chevron {
  transform: rotate(180deg);
  background: var(--green);
  color: var(--lime);
}

.fold-content {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.fold-stage-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.fold-stage-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fold-stage-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.fold-stage-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18, 39, 26, 0.65) 100%);
}

.fold-image-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  font: 10px var(--mono);
  color: #fff;
  background: rgba(18, 39, 26, 0.85);
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fold-stage-route-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fold-stage-route-note strong {
  font: 11px var(--mono);
  color: var(--green);
}

.fold-stage-route-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.fold-gmaps-btn {
  margin-top: 6px;
  text-align: center;
  font-size: 10px;
  padding: 8px 12px;
}

.fold-stage-narrative {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fold-stage-intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #384b3e;
}

.fold-subblock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fold-subheading {
  margin: 0;
  font: 700 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.fold-experiences-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fold-exp-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.fold-exp-card:hover {
  transform: translateY(-2px);
  border-color: #9cb597;
  box-shadow: 0 4px 12px rgba(18, 39, 26, 0.06);
}

.fold-exp-type {
  font: 9px var(--mono);
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fold-exp-card strong {
  font-size: 13px;
  line-height: 1.25;
  color: var(--green);
}

.fold-exp-card small {
  font: 10px var(--mono);
  color: var(--muted);
}

.fold-lodging-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #f1f6ed;
  border: 1px solid #d4dfd1;
  border-radius: 3px;
}

.fold-lodging-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fold-lodging-text strong {
  font-size: 14px;
  color: var(--green);
}

.fold-lodging-badge {
  font: 9px var(--mono);
  color: #3b744a;
  font-weight: 600;
}

.fold-lodging-text p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.fold-lodging-price {
  font: 11px var(--mono);
  color: var(--coral);
  font-weight: 600;
  margin-top: 2px;
}

.fold-tip-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #fff9ea;
  border-left: 3px solid var(--yellow);
  border-radius: 0 3px 3px 0;
}

.fold-tip-icon {
  font-size: 20px;
  line-height: 1;
}

.fold-tip-card strong {
  display: block;
  font: 11px var(--mono);
  color: #725b1c;
  margin-bottom: 3px;
}

.fold-tip-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #5c4f2f;
}

.fold-stage-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
}

/* ==========================================================================
   ROUTE RIBBON (BREADCRUMB TIMELINE)
   ========================================================================== */
.route-ribbon-bar {
  background: #e7efdf;
  border: 1px solid #d4dfd0;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 24px 0 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.route-ribbon-bar::-webkit-scrollbar {
  display: none;
}

.ribbon-stop {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ribbon-stop-num {
  font: 700 10px var(--mono);
  background: var(--green);
  color: var(--lime);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.ribbon-stop-name {
  font: 600 12px var(--sans);
  color: var(--green);
}

.ribbon-stop-nights {
  font: 10px var(--mono);
  color: var(--muted);
}

.ribbon-arrow {
  color: #8da488;
  font-size: 14px;
  margin: 0 4px;
}

/* ==========================================================================
   ICÔNES SVG UNIFIÉES & MODERNE (ÉLIMINATION DES EMOJIS SYSTÈME)
   ========================================================================== */
.site-svg-icon {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1em;
  height: 1em;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.site-svg-icon.icon-lg {
  width: 1.25em;
  height: 1.25em;
}
.site-svg-icon.icon-sm {
  width: 0.85em;
  height: 0.85em;
}
.weather-svg-icon {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  vertical-align: middle;
}
.text-button-gps, .map-mode-gps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-button-gps .site-svg-icon, .map-mode-gps .site-svg-icon {
  color: var(--orange);
}
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.search-icon .site-svg-icon {
  color: var(--green);
  opacity: 0.75;
}
.guide-btn-call, .guide-btn-wa, .guide-btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.flight-summary-route {
  display: flex;
  align-items: center;
  gap: 8px;
}
.flight-summary-route .site-svg-icon {
  color: var(--green);
}
.offer-pill-badge {
  font: 10px var(--mono);
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.offer-pill-badge.badge-recommended {
  background: var(--lime);
  color: var(--green);
}
.offer-pill-badge.badge-cheapest {
  background: #fdf3dc;
  color: #8c6314;
  border: 1px solid #ebd59b;
}
.offer-pill-badge.badge-comfort {
  background: #dcefe3;
  color: #174e30;
}

/* ==========================================================================
   MOBILE MENU DRAWER & BURGER BUTTON
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #f0f4ec;
  border: 1px solid #bfc8bc;
  border-radius: 6px;
  padding: 0;
  color: var(--green);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover, .mobile-menu-btn:focus-visible {
  background: #e4eee0;
  border-color: var(--green);
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  stroke-width: 2.2;
}

.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.28s ease;
}

.mobile-menu-drawer.open,
.mobile-menu-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 20, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-menu-drawer.open .drawer-backdrop,
.mobile-menu-drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

.mobile-menu-drawer.open .drawer-content,
.mobile-menu-drawer.is-open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #eef3eb;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f4f3ee;
  border: 1px solid #bfc8bc;
  border-radius: 50%;
  color: var(--green);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}

.drawer-close:hover {
  background: #e4eee0;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid #edf2eb;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  min-height: 48px;
}

.drawer-nav a:hover,
.drawer-nav a:active,
.drawer-nav a.active {
  background: #e7efdf;
  color: var(--orange);
}

.drawer-num {
  font: 10px var(--mono);
  color: var(--muted);
  width: 22px;
  flex-shrink: 0;
}

.drawer-nav a.active .drawer-num {
  color: var(--orange);
  font-weight: 700;
}

.drawer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: currentColor;
  flex-shrink: 0;
}

.drawer-label {
  flex: 1;
}

.drawer-tag {
  font: 9px var(--mono);
  background: #dce7d7;
  color: var(--green);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: #fafaf7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-footer .button {
  width: 100%;
  text-align: center;
  padding: 13px;
  display: block;
}

.drawer-live-note {
  font: 10px var(--mono);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.status-indicator-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: 1px;
}
.status-indicator-dot.dot-green {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}
.status-indicator-dot.dot-amber {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}
.status-indicator-dot.dot-blue {
  background: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.badge-dot-label {
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION DOCK (5 ONGLETS AU POUCE)
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
}

@media(max-width: 850px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .toast {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 10005 !important;
    max-width: calc(100vw - 32px) !important;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  }
  .mobile-bottom-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: rgba(247, 246, 241, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #d5ddd1;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(23, 60, 46, 0.08);
  }
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    min-height: 48px;
    color: #637568;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .dock-item:active {
    background: rgba(23, 60, 46, 0.06);
    transform: scale(0.96);
  }
  .dock-item.active {
    color: var(--green);
    font-weight: 700;
  }
  .dock-item.active .dock-icon {
    color: var(--orange);
  }
  .dock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #637568;
    transition: transform 0.15s ease;
  }
  .dock-item.active .dock-icon svg {
    stroke: var(--orange);
  }
  .dock-label {
    line-height: 1;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
  .main-nav {
    display: none !important;
  }
}

@media(min-width: 851px) {
  .mobile-bottom-dock,
  .mobile-menu-drawer,
  .mobile-menu-btn,
  .mobile-activity-summary-bar {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE CRO FLOATING ACTIVITY BAR
   ========================================================================== */
.mobile-activity-summary-bar {
  display: none;
}

@media(max-width: 850px) {
  .mobile-activity-summary-bar.visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px) + 10px);
    left: 14px;
    right: 14px;
    z-index: 9980;
    background: var(--green);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(23, 60, 46, 0.35);
    animation: slideUpBar 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes slideUpBar {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .mobile-activity-summary-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mobile-activity-summary-info strong {
    font-size: 13px;
    color: var(--lime);
  }
  .mobile-activity-summary-info small {
    font: 10px var(--mono);
    color: #c9dec4;
  }
  .mobile-activity-summary-btn {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(235, 129, 91, 0.4);
    white-space: nowrap;
  }
}

/* ==========================================================================
   MOBILE DETAIL DIALOG EN BOTTOM SHEET ERGONOMIQUE
   ========================================================================== */
@media(max-width: 768px) {
  .detail-modal {
    align-items: flex-end;
  }
  .detail-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 20px 20px 0 0 !important;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }
  .detail-modal.show .detail-dialog,
  .detail-modal:not([aria-hidden="true"]) .detail-dialog {
    transform: translateY(0);
  }
  .detail-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: #eef3eb;
    border: 1px solid #bfc8bc;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--green);
    z-index: 10;
  }
  .stage-actions-box {
    position: sticky;
    bottom: 0;
    background: var(--paper);
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
    margin-top: 20px;
    display: grid;
    gap: 8px;
  }
  .stage-actions-box .button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   INPUTS ET TOUCH TARGETS ERGONOMIQUES (FIX ZOOM SAFARI)
   ========================================================================== */
@media(max-width: 850px) {
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
  .button, button, a.button {
    min-height: 44px;
    touch-action: manipulation;
  }
  .filter-button, .region-button, .wildlife-filter {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 12px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .filter-button:active, .region-button:active, .wildlife-filter:active {
    transform: scale(0.96);
  }
  .fold-stage-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .fold-summary {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .fold-summary-left {
    width: 100%;
  }
  .fold-summary-right {
    width: 100%;
    justify-content: space-between;
  }
  .fold-experiences-list {
    grid-template-columns: 1fr;
  }
  .fold-lodging-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .fold-lodging-card .button {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   ACTIVITÉ & ÉTAPE BANNIÈRE & ACCORDÉONS OFFICIELS
   ========================================================================== */
.activity-hero-banner, .stage-hero-banner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 32px;
  align-items: end;
  padding: 72px max(28px, calc((100% - 1240px)/2)) 58px;
  color: #fff;
  min-height: 440px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(18, 39, 26, 0.08);
}
.activity-hero-banner > *, .stage-hero-banner > * {
  position: relative;
  z-index: 1;
}
.activity-hero-banner h1, .stage-hero-banner h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.07em;
  margin: 0 0 16px;
  color: #fff;
}
.activity-hero-banner h1 em, .stage-hero-banner h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: #d7eea2;
}
.activity-hero-banner p:not(.eyebrow), .stage-hero-banner p:not(.eyebrow) {
  max-width: 620px;
  line-height: 1.6;
  color: #e3ebdf;
  margin: 0;
  font-size: 15px;
}
.activity-hero-banner .page-hero-note, .stage-hero-banner .page-hero-note {
  color: var(--green);
  background: #eff4dbeb;
  align-self: end;
  position: relative;
  z-index: 2;
}
@media(max-width: 760px) {
  .activity-hero-banner, .stage-hero-banner {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    min-height: auto;
    gap: 24px;
  }
}
.activity-banner-badge, .stage-banner-badge {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  font: 11px var(--mono);
  color: var(--lime);
  background: rgba(18, 39, 26, 0.85);
  padding: 5px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.activity-meta-strip, .stage-meta-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  font: 11px var(--mono);
  color: var(--green);
}
.activity-meta-strip span, .stage-meta-strip span {
  background: #e7efdf;
  padding: 4px 8px;
  border-radius: 2px;
}
.official-card-fold {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.official-fold-trigger {
  font: 10px var(--mono);
  color: var(--coral);
  cursor: pointer;
  outline: none;
}
.official-fold-body {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   STUDIO DE CRÉATION SUR-MESURE & PAGES DE PRÉSENTATION
   ========================================================================== */

.stage-nav-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 28px;
  background: #eef3eb;
  border-bottom: 1px solid var(--line);
  max-width: 100%;
  scrollbar-width: thin;
}
.stage-nav-pills::-webkit-scrollbar {
  height: 4px;
}
.stage-pill {
  font: 11px var(--mono);
  color: var(--green);
  background: #fff;
  border: 1px solid rgba(23,60,46,0.2);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}
.stage-pill:hover, .stage-pill.active {
  background: var(--green);
  color: var(--lime);
  border-color: var(--green);
}

.stage-tour-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.stage-tour-btn {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stage-tour-btn.in-tour {
  background: #234c38;
  color: var(--lime);
  border: 1px solid var(--lime);
}

.studio-hero {
  padding-top: 50px;
  padding-bottom: 30px;
}
.studio-presets {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  font: 11px var(--mono);
  color: var(--muted);
}
.studio-preset-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font: 11px var(--mono);
  color: var(--green);
  transition: all 0.2s;
}
.studio-preset-btn:hover {
  background: var(--green);
  color: var(--lime);
}

.studio-stage-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.studio-stage-item {
  background: #1c3c2f;
  border: 1px solid #365b49;
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.studio-stage-item:hover {
  border-color: #5d8f76;
}
.studio-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.studio-stage-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-stage-idx {
  font: 12px var(--mono);
  color: var(--yellow);
  background: rgba(240, 199, 102, 0.15);
  padding: 3px 8px;
  border-radius: 3px;
}
.studio-stage-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.studio-stage-date {
  font: 10px var(--mono);
  color: #a7bfae;
  margin-left: 6px;
}
.studio-stage-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stage-move-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 11px;
}
.stage-move-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.2);
}
.stage-move-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.stage-del-btn {
  background: transparent;
  color: #e57373;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}
.stage-del-btn:hover {
  color: #ff5252;
}

.studio-stage-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font: 11px var(--mono);
  color: #cbdad0;
}
.nights-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.2);
  padding: 3px 8px;
  border-radius: 4px;
}
.nights-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 0;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}
.nights-btn:hover:not(:disabled) {
  background: var(--orange);
}
.nights-count {
  color: var(--lime);
  font-weight: 700;
  min-width: 55px;
  text-align: center;
}
.studio-stage-link {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
}

.studio-transfer-banner {
  background: rgba(235, 129, 91, 0.12);
  border-left: 2px dashed var(--orange);
  padding: 6px 12px;
  font: 10px var(--mono);
  color: #f7d5c7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 4px 4px 0;
}

.studio-stage-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
}
.studio-act-chip {
  background: rgba(214, 238, 157, 0.15);
  border: 1px solid rgba(214, 238, 157, 0.3);
  color: var(--lime);
  padding: 3px 8px;
  border-radius: 3px;
  font: 10px var(--mono);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.studio-act-chip button {
  background: transparent;
  color: #ff9999;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.stage-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 18, 0.85);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.stage-picker-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 840px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.stage-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.stage-picker-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--panel);
}
.stage-picker-card img {
  height: 120px;
  width: 100%;
  object-fit: cover;
}
.stage-picker-card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.stage-picker-card-body h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
}
.stage-picker-card-body p {
  margin: 0 0 12px 0;
  font-size: 11px;
  color: var(--muted);
  flex: 1;
}

.tour-pres-hero {
  background: linear-gradient(180deg, rgba(18,39,26,0.3) 0%, rgba(18,39,26,0.95) 100%), var(--hero-img, #173c2e);
  background-size: cover;
  background-position: center;
  padding: 60px 28px 50px;
  color: #fff;
}
.tour-pres-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 30px 0;
}
.tour-pres-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px;
  border-radius: 6px;
}
.tour-pres-stat-card span {
  font: 10px var(--mono);
  color: var(--lime);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.tour-pres-stat-card strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: block;
}
.tour-pres-stat-card small {
  font: 10px var(--mono);
  color: #b7cbbb;
  display: block;
  margin-top: 4px;
}
.tour-pres-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.tour-step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tour-step-head {
  padding: 18px 24px;
  background: #f7f9f5;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tour-step-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .tour-step-body {
    grid-template-columns: 1fr;
  }
}
