@import url('fonts/fonts.css');
:root {
  --green: #173e33;
  --lime: #d6ee8b;
  --cream: #f5f4ee;
  --ink: #223b32;
  --muted: #68756c;
  --line: #d9dfd5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    15px 'DM Sans',
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a4bd58;
  outline-offset: 4px;
}
header {
  height: 88px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfbf6;
}
.logo {
  font:
    800 34px Manrope,
    sans-serif;
  letter-spacing: -2px;
}
.logo span {
  color: #789455;
  font-size: 31px;
  margin-left: 5px;
}
nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 13px;
  font-weight: 600;
}
.saved-link b {
  background: #e8ecdf;
  border-radius: 50%;
  padding: 3px 7px;
  margin-left: 7px;
  font-size: 11px;
}
.edition,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
}
.hero {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(9, 29, 24, 0.73), rgba(9, 29, 24, 0.12)),
    url('assets/hero.jpg') center 48% / cover;
  color: white;
  padding: 80px 7% 120px;
}
.hero .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #ecf5d9;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font:
    500 clamp(54px, 6.8vw, 100px) / 1.03 Manrope,
    sans-serif;
  letter-spacing: -5px;
  margin: 26px 0;
  max-width: 900px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--lime);
}
.hero p {
  max-width: 470px;
  line-height: 1.7;
  color: #edf0e9;
  font-size: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  border-radius: 6px;
  padding: 16px 23px;
  background: var(--green);
  color: white;
  font-weight: 600;
  font-size: 13px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn:hover {
  background: #285846;
  transform: translateY(-2px);
}
.btn.light {
  background: var(--lime);
  color: var(--green);
}
.btn.outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line);
}
.hero .btn {
  margin-top: 15px;
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #e0e5d8;
}
.hero-bottom span:last-child {
  font-size: 9px;
}
.searchbar {
  position: relative;
  margin: -38px auto 0;
  max-width: 1120px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 0.8fr auto;
  gap: 20px;
  box-shadow: 0 12px 40px #183c3210;
  align-items: end;
}
.searchbar label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
input,
select,
textarea {
  color: var(--green);
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 12px;
  border-radius: 5px;
  width: 100%;
  min-width: 0;
}
label input,
label select {
  display: block;
  margin-top: 8px;
}
.searchbar input,
.searchbar select {
  border: 0;
  padding: 6px 0;
  font-size: 14px;
  letter-spacing: 0;
}
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 65px 28px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
h2 {
  font:
    500 clamp(30px, 3.5vw, 46px) / 1.15 Manrope,
    sans-serif;
  letter-spacing: -1.8px;
  margin: 14px 0;
}
h3 {
  font:
    600 23px/1.25 Manrope,
    sans-serif;
  letter-spacing: -0.6px;
  margin: 12px 0;
}
.subtle {
  color: var(--muted);
  line-height: 1.65;
}
.small {
  font-size: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e1e5da;
  transition: transform 0.25s;
}
.card:hover {
  transform: translateY(-4px);
}
.card-photo {
  height: 235px;
  position: relative;
  background: #526a58;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-label {
  position: absolute;
  bottom: 10px;
  left: 14px;
  color: white;
  font-size: 9px;
  text-shadow: 0 1px 3px #000;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 6px 9px;
  background: #f3f3e9;
  color: #526145;
  font-size: 10px;
  font-weight: 600;
}
.card-photo > .badge {
  position: absolute;
  top: 16px;
  left: 16px;
}
.heart {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: #ffffffed;
  font-size: 21px;
  color: var(--green);
}
.card-body {
  padding: 23px;
}
.card-body h3 {
  margin: 10px 0;
}
.card-body p {
  min-height: 42px;
}
.metrics {
  display: flex;
  gap: 13px;
  font-size: 11px;
  color: #526359;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.price {
  font:
    600 25px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  border-radius: 50%;
  height: 37px;
  width: 37px;
}
.note {
  border: 1px solid #dbdec8;
  background: #ecefdf;
  border-radius: 7px;
  padding: 18px 22px;
  line-height: 1.6;
  font-size: 13px;
  margin: 24px 0;
}
.note.warn {
  background: #f6eedf;
  border-color: #e8d7b9;
}
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--green);
  color: white;
  border-radius: 10px;
  overflow: hidden;
}
.promise > div {
  padding: 50px;
}
.promise h2 {
  color: #f0f5dc;
}
.promise p {
  color: #cfdbce;
  line-height: 1.7;
}
.promise-list {
  border-left: 1px solid #486055;
}
.promise-list article {
  padding: 18px 0;
  border-bottom: 1px solid #486055;
}
.promise-list article:last-child {
  border-bottom: 0;
}
.number {
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 2px;
}
.form-shell {
  max-width: 760px;
  margin: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid label {
  font-size: 12px;
  font-weight: 600;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.steps {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0 35px;
}
.steps b {
  color: var(--green);
}
.form-panel {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin: 16px 0;
}
.checkline input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.results-head {
  background: #e9eddf;
  padding: 40px 6%;
}
.results-head h1 {
  font: 500 42px Manrope;
  letter-spacing: -2px;
  margin: 12px 0;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed #a7b3a0;
  border-radius: 12px;
}
.detail-hero {
  height: 390px;
  position: relative;
  color: #fff;
  background: var(--green);
}
.detail-hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.detail-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #102e2bc9);
}
.detail-title {
  position: absolute;
  bottom: 35px;
  left: 7%;
  z-index: 1;
}
.detail-title h1 {
  font: 500 57px Manrope;
  letter-spacing: -2px;
  margin: 15px 0;
}
.back {
  display: inline-block;
  font-size: 12px;
  margin-bottom: 22px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 325px;
  gap: 44px;
}
.detail-layout aside {
  align-self: start;
  position: sticky;
  top: 20px;
  background: white;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.detail-layout aside .btn {
  width: 100%;
  margin-top: 13px;
}
.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
  overflow: auto;
}
.tabs a {
  padding: 0 0 15px;
  font-size: 12px;
  white-space: nowrap;
}
.detail-section {
  scroll-margin-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.timeline {
  border-left: 1px solid #a7b89d;
  margin: 20px 0 20px 7px;
  padding-left: 24px;
}
.timeline article {
  position: relative;
  padding: 0 0 25px;
}
.timeline article:before {
  content: '';
  position: absolute;
  left: -29px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #638064;
}
.timeline article p {
  line-height: 1.6;
  font-size: 13px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 22px 0;
}
.facts div {
  padding: 18px;
  background: #e9edde;
  border-radius: 6px;
}
.facts b {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
}
.facts span {
  font-size: 11px;
  color: var(--muted);
}
.budget-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  gap: 20px;
}
.budget-row.total {
  font-weight: 700;
  font-size: 17px;
}
.link {
  color: #315d43;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}
.map {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9eddf;
}
.checklist label {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 10px 0;
}
.checklist label:has(input:checked) {
  background: #e6edda;
}
.progress {
  height: 6px;
  background: #dce1d5;
  border-radius: 8px;
  overflow: hidden;
  margin: 25px 0;
}
.progress > div {
  height: 100%;
  background: #6d8c47;
  transition: width 0.3s;
}
.sources a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: underline;
  font-size: 13px;
  line-height: 1.5;
}
details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  line-height: 1.7;
  color: var(--muted);
}
footer {
  background: #e9ecdf;
  padding: 36px 5%;
  display: flex;
  gap: 35px;
  align-items: center;
  flex-wrap: wrap;
}
footer p {
  font-size: 13px;
}
footer > a:not(.logo) {
  margin-left: auto;
  font-size: 12px;
}
footer small {
  width: 100%;
  font-size: 10px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: var(--green);
  color: white;
  padding: 14px 25px;
  border-radius: 7px;
  box-shadow: 0 10px 35px #0002;
  display: none;
  max-width: 90vw;
}
.review textarea {
  min-height: 100px;
  margin: 15px 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
@media (max-width: 760px) {
  header {
    height: 74px;
    padding: 0 6%;
  }
  .logo {
    font-size: 29px;
  }
  nav {
    gap: 18px;
    font-size: 11px;
  }
  header nav > a:nth-child(2),
  .edition,
  .saved-link span {
    display: none;
  }
  .hero {
    min-height: 600px;
    padding: 70px 7% 110px;
  }
  .hero h1 {
    font-size: 58px;
    letter-spacing: -3px;
  }
  .hero p {
    font-size: 14px;
    max-width: 320px;
  }
  .hero-bottom {
    display: block;
    line-height: 1.8;
  }
  .hero-bottom span {
    display: block;
  }
  .searchbar {
    margin: -35px 20px 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px;
  }
  .searchbar .btn {
    width: 100%;
    padding: 14px 10px;
  }
  .section {
    padding: 45px 20px;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card-photo {
    height: 250px;
  }
  .card-body p {
    min-height: 0;
  }
  .promise {
    grid-template-columns: 1fr;
  }
  .promise > div {
    padding: 30px;
  }
  .promise-list {
    border-left: 0;
    border-top: 1px solid #486055;
  }
  .form-panel {
    padding: 23px;
  }
  .form-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-layout aside {
    position: static;
    grid-row: 1;
  }
  .detail-title h1 {
    font-size: 43px;
  }
  .detail-hero {
    height: 330px;
  }
  .facts {
    gap: 8px;
  }
  .facts div {
    padding: 12px;
  }
  .facts b {
    font-size: 17px;
  }
  .results-head h1 {
    font-size: 33px;
  }
  .steps {
    font-size: 10px;
    gap: 10px;
  }
  footer {
    gap: 15px;
  }
  footer > a:not(.logo) {
    margin-left: 0;
  }
  .btn {
    min-height: 46px;
  }
  .hero h1 {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  header,
  footer,
  .tabs,
  .btn,
  .heart,
  iframe,
  #toast {
    display: none !important;
  }
  .detail-layout {
    display: block;
  }
  .section {
    padding: 15px;
  }
  .detail-hero {
    height: 180px;
  }
  aside {
    position: static !important;
  }
  body {
    background: white;
  }
  .checklist label {
    break-inside: avoid;
  }
}
.hero-bottom {
  bottom: 58px;
}
.hero-bottom span:last-child {
  max-width: 300px;
  text-align: right;
}
.btn,
.arrow,
.metrics,
.back {
  font-family: 'DM Sans', 'Arial', sans-serif;
}
@media (max-width: 760px) {
  .hero-bottom {
    bottom: 49px;
  }
  .hero-bottom span:last-child {
    text-align: left;
    max-width: 100%;
    font-size: 8px;
  }
}
.icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  display: inline-block;
}
.btn > span {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.hero .btn span span {
  display: none;
}

/* Moteur V2 : aventures calculées sans photo sous licence — même palette et mêmes composants. */
.card-photo.moteur-visuel,
.detail-hero.moteur-visuel {
  background: linear-gradient(135deg, var(--green), #2f5c49);
}
.card-photo.moteur-visuel > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 24px;
  color: var(--lime);
}
.card-photo.moteur-visuel > a b {
  font: 600 40px Manrope, sans-serif;
  letter-spacing: -1.5px;
}
.card-photo.moteur-visuel > a span {
  color: #e6ebe2;
  font-size: 12px;
}
.moteur {
  margin: 10px 0 46px;
}
.moteur-groupe {
  margin: 28px 0;
}
.moteur-ecartees summary,
.moteur-groupe summary {
  cursor: pointer;
  font-weight: 600;
  margin: 10px 0;
}

/* Bêta V2.2 : accessibilité (lien d'évitement, focus de titre) et questionnaire, sans changer le style */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 16px; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; }
.checklist .checkline a { word-break: break-word; }

/* V2.3 : cartes éditoriales des aventures (composants et palette d'Astra, deux colonnes larges) */
.cards.cartes-aventures { grid-template-columns: repeat(2, 1fr); }
.carte-aventure .card-photo { height: 260px; }
.carte-aventure .card-photo > .badge { top: auto; bottom: 30px; z-index: 1; }
.carte-aventure .card-photo:not(.moteur-visuel):after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #102e2bb3); pointer-events: none; }
.carte-aventure .card-photo > .photo-label { z-index: 1; }
.prix-budget { font-size: 19px; letter-spacing: -0.5px; }
.carte-aventure .card-body p.subtle { min-height: 0; margin: 0 0 4px; }
.carte-aventure .metrics { line-height: 1.35; }
.carte-aventure .horaires { margin: 14px 0 8px; min-height: 0; }
.contraintes { margin: 0; padding: 0 0 14px; list-style: none; color: #526359; border-bottom: 1px solid var(--line); }
.contraintes li { padding-left: 16px; position: relative; margin: 5px 0; }
.contraintes li:before { content: ''; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #c58b2c; }
.cta-fiche { display: inline-block; margin-top: 14px; }
.detail-hero > .photo-label { z-index: 1; left: auto; right: 14px; }
@media (max-width: 760px) {
  .cards.cartes-aventures { grid-template-columns: 1fr; }
}
