/* =====================================================================
   destinations-v2.css · pages destination (chargé avec destinations-v2.js)
   ===================================================================== */
/* Titres de section : petit filet doré */
.rcd main section h2::before, .rcd section .content-wrap > h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--accent, #8C6A2C); margin: 0 0 .9rem; }
.rcd section h2[style*="center"]::before { margin-inline: auto; }
.rcd section h2 { scroll-margin-top: 110px; }

/* 1 · Sur cette page */
.rcd-sommaire { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: .7rem max(16px, calc((100% - 1200px) / 2)); background: rgba(245,242,236,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #E4DDCE; }
.rcd-sommaire::-webkit-scrollbar { display: none; }
.rcd-sommaire span { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #8C6A2C); margin-right: .4rem; }
.rcd-sommaire a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #D3C9B4; background: #FBF9F4; color: var(--text, #1A1916) !important; font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.rcd-sommaire a:hover { background: #0B0B0D; border-color: #0B0B0D; color: #FBF9F4 !important; }

/* En bref */
.rcd .glance { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.rcd .glance > div { background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-top: 3px solid var(--accent, #8C6A2C); border-radius: 14px; padding: .9rem 1rem; }
.rcd .glance dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #8C6A2C); margin-bottom: .3rem; }
.rcd .glance dd { margin: 0; font-size: .93rem; line-height: 1.5; }

/* 2 · Programme heure par heure */
.rcd .rcd-frise { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0 0 0 1.6rem; position: relative; }
.rcd .rcd-frise::before { content: ""; position: absolute; left: 6px; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(#CFAE74, #E4DDCE); }
.rcd .rcd-frise li { position: relative; margin: 0 0 .9rem; padding: .9rem 1.1rem; background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-radius: 14px; line-height: 1.55; }
.rcd .rcd-frise li::before { content: ""; position: absolute; left: calc(-1.6rem + 1px); top: 1.15rem; width: 12px; height: 12px; border-radius: 50%; background: #0B0B0D; border: 3px solid #CFAE74; }
.rcd .rcd-frise li strong { display: block; font-size: 1.02rem; margin-bottom: .2rem; }
.rcd-heure { display: inline-block; margin-right: .6rem; padding: .12rem .55rem; border-radius: 999px; background: #0B0B0D; color: #CFAE74; font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; vertical-align: 1px; }

/* 3 · Étapes numérotées */
.rcd .rcd-etapes { list-style: none; counter-reset: et; margin: 1.3rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.rcd .rcd-etapes li { counter-increment: et; position: relative; margin: 0; padding: 3.2rem 1.1rem 1.1rem; background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-radius: 16px; line-height: 1.5; font-size: .93rem; }
.rcd .rcd-etapes li::before { content: counter(et); position: absolute; top: 1rem; left: 1.1rem; width: 32px; height: 32px; border-radius: 50%; background: #0B0B0D; color: #CFAE74; display: grid; place-items: center; font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.rcd .rcd-etapes li strong { display: block; margin-bottom: .2rem; }

/* 4 · Conseils */
.rcd .rcd-conseils { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rcd .rcd-conseils li { position: relative; margin: 0; padding: 1rem 1.1rem 1rem 3.1rem; background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-radius: 14px; line-height: 1.55; font-size: .93rem; }
.rcd .rcd-conseils li::before { content: "✓"; position: absolute; left: 1rem; top: 1rem; width: 24px; height: 24px; border-radius: 50%; background: #F1E9D6; color: var(--accent, #8C6A2C); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.rcd .rcd-conseils li strong { display: block; margin-bottom: .15rem; }
.rcd .rcd-coches { list-style: none; padding: 0; }
.rcd .rcd-coches li { position: relative; padding: .45rem 0 .45rem 1.9rem; line-height: 1.55; }
.rcd .rcd-coches li::before { content: "✓"; position: absolute; left: 0; top: .5rem; width: 20px; height: 20px; border-radius: 50%; background: #F1E9D6; color: var(--accent, #8C6A2C); display: grid; place-items: center; font-weight: 800; font-size: .72rem; }

/* Listes de liens en pastilles */
.rcd .rcd-liens { list-style: none; margin: 1rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rcd .rcd-liens li { margin: 0; padding: 0; }
.rcd .rcd-liens li::before { content: none !important; }
.rcd .rcd-liens a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid #D3C9B4; background: #FBF9F4; color: var(--text, #1A1916) !important; font-size: .88rem; font-weight: 700; text-decoration: none; }
.rcd .rcd-liens a::after { content: "→"; color: var(--accent, #8C6A2C); }
.rcd .rcd-liens a:hover { background: #0B0B0D; border-color: #0B0B0D; color: #FBF9F4 !important; }
.rcd ol.rcd-etapes { list-style: none; }

/* 5 · Inclus / non inclus */
.rcd-inclus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.2rem 0; }
.rcd-inclus > div { border-radius: 16px; padding: 1.2rem 1.3rem; }
.rcd-oui { background: #EEF3E8; border: 1px solid #CFDDBF; }
.rcd-non { background: #F6ECE6; border: 1px solid #E5CDBF; }
.rcd-inclus h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; font-size: 1.05rem; }
.rcd-inclus h3::before { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.rcd-oui h3::before { content: "✓"; background: #4E7A35; }
.rcd-non h3::before { content: "✕"; background: #A0543A; }
.rcd-inclus ul { list-style: none; margin: 0; padding: 0; }
.rcd-inclus li { padding: .45rem 0; border-top: 1px solid rgba(0,0,0,.07); line-height: 1.5; font-size: .93rem; }
.rcd-inclus li:first-child { border-top: 0; }

/* 6 · Tableaux comparatifs */
.rcd table.rcd-tab { width: 100%; border-collapse: separate !important; border-spacing: 0; background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-radius: 16px; overflow: hidden; }
.rcd table.rcd-tab th, .rcd table.rcd-tab td { border-bottom: 1px solid #E4DDCE !important; vertical-align: top; }
.rcd table.rcd-tab thead th, .rcd table.rcd-tab tr.rcd-tete th { background: #0B0B0D; color: #E4DDCE; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.rcd table.rcd-tab tbody tr:last-child > * { border-bottom: 0 !important; }
.rcd table.rcd-tab tr.rcd-nous { background: #F7F1E4; }
.rcd table.rcd-tab tr.rcd-nous > :first-child { box-shadow: inset 4px 0 0 var(--accent, #8C6A2C); }

/* Galerie photo */
.rcd .photo-grid figure, .rcd .photo-grid > * { border-radius: 14px; overflow: hidden; }
.rcd .photo-grid img { transition: transform .5s; }
.rcd .photo-grid > *:hover img { transform: scale(1.04); }

/* 7 · Questions fréquentes */
.rcd .faq details { background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.rcd .faq details[open] { border-color: #CFAE74; box-shadow: 0 8px 22px rgba(26,25,22,.06); }
.rcd .faq summary { padding: 1rem 1.2rem; font-weight: 800; cursor: pointer; min-height: 52px; }
.rcd .faq details p { padding: 0 1.2rem 1.1rem; margin: 0; line-height: 1.6; }
.rcd .faq.rcd-faq-courte details:nth-of-type(n+7) { display: none; }
.rcd-faq-btn { display: flex; align-items: center; justify-content: center; margin: .6rem auto 0; min-height: 48px; padding: 0 1.4rem; border-radius: 12px; border: 2px solid #0B0B0D; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }

/* 8 · Barre de réservation (téléphone) */
.rcd-barre { display: none; }
@media (max-width: 760px) {
  .rcd-barre { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem .6rem .6rem 1rem;
    background: #0B0B0D; color: #FBF9F4; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: translateY(140%); transition: transform .35s; }
  .rcd-barre.is-on { transform: none; }
  .rcd-barre span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .rcd-barre small { font-size: .72rem; color: #E4DDCE; }
  .rcd-barre strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; font-weight: 600; }
  .rcd-barre em { font-style: normal; font-size: .75rem; color: #E4DDCE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rcd-barre a { flex: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.1rem; border-radius: 12px; background: #CFAE74; color: #0B0B0D !important; font-weight: 800; text-decoration: none; }
  .rcd .rcd-conseils, .rcd-inclus { grid-template-columns: 1fr; }
  .rcd .rcd-frise { padding-left: 1.3rem; }
  .rcd .rcd-frise li::before { left: calc(-1.3rem + 1px); }
  /* Tableaux en cartes */
  .rcd table.rcd-tab, .rcd table.rcd-tab tbody, .rcd table.rcd-tab tr, .rcd table.rcd-tab td, .rcd table.rcd-tab th { display: block; width: 100% !important; }
  .rcd table.rcd-tab { background: none; border: 0; min-width: 0 !important; }
  .rcd table.rcd-tab thead { display: none; }
  .rcd table.rcd-tab tbody tr { background: var(--surface, #FBF9F4); border: 1px solid #E4DDCE; border-radius: 14px; margin-bottom: 10px; padding: .4rem 0; }
  .rcd table.rcd-tab tbody tr > * { border: 0 !important; padding: .3rem 1rem !important; }
  .rcd table.rcd-tab tbody tr > :first-child { font-size: 1.02rem; font-weight: 800; padding-top: .7rem !important; }
  .rcd table.rcd-tab td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent, #8C6A2C); }
  .rcd .rcs-tab:has(> table.rcd-tab) { overflow: visible; } .rcd .rcs-tab > table.rcd-tab { min-width: 0; }
  .rcd table.rcd-tab tr.rcd-tete { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rcd-barre { transition: none; } .rcd .photo-grid img { transition: none; } }
.rcd-inclus li { padding-left: 0 !important; }
.rcd-inclus li::before { content: none !important; }

/* Ajout local (05/12) : les boutons flottants du site (assistant, WhatsApp, haut de page) remontent au-dessus de la barre de réservation, comme pour #simMbar dans site.js */
@media (max-width: 760px) {
  body:has(.rcd-barre.is-on) .rca-btn, body:has(.rcd-barre.is-on) .rc-wa { bottom: calc(92px + env(safe-area-inset-bottom)) !important; transition: bottom .35s; }
  body:has(.rcd-barre.is-on) .back-to-top { bottom: calc(158px + env(safe-area-inset-bottom)) !important; }
}
