@charset "UTF-8";

/* ==========================================================================
   Page Prestations
   ========================================================================== */

.prestations-page {
  background: var(--bg);
}

/* Fil d'Ariane dans le hero (texte clair sur image) */
.breadcrumb-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 253, 249, 0.75);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.breadcrumb-hero a { color: rgba(255, 253, 249, 0.9); text-decoration: none; }
.breadcrumb-hero a:hover { color: var(--white); }
.breadcrumb-hero span[aria-current] { color: var(--white); }

/* --------------------------------------------------------------------------
   Section sommaire des 3 évasions (cards intro)
   -------------------------------------------------------------------------- */
.section-summary { background: var(--bg); padding: 88px 0; }

/* Wrapper du carrousel : permet de positionner les flèches en absolu, sort du container parent */
.summary-carousel {
  position: relative;
  margin-top: 48px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Carrousel horizontal pleine largeur, toujours actif */
.summary-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 8px 20px 16px;
  scroll-padding-left: 20px;
}
.summary-cards::-webkit-scrollbar { display: none; }
.summary-card {
  flex: 0 0 auto;
  width: clamp(260px, 26vw, 340px);
  scroll-snap-align: start;
}

/* Flèches de navigation (visibles dès qu'on a la place pour les afficher confortablement) */
.summary-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 32%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(77, 72, 39, 0.18);
  z-index: 5;
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.summary-nav:hover {
  background: var(--ink);
  color: var(--white);
}
.summary-nav:focus { outline: none; }
.summary-nav:focus-visible { outline: none; }
.summary-nav-prev { left: 40px; }
.summary-nav-next { right: 40px; }
.summary-nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.summary-nav span {
  display: block;
  line-height: 0.9;
  margin-top: -2px;
}

/* Tablette / laptop : flèches plus proches du bord */
@media (max-width: 1024px) {
  .summary-nav-prev { left: 24px; }
  .summary-nav-next { right: 24px; }
}

/* Sur petit écran : flèches plus petites et plus proches du bord */
@media (max-width: 768px) {
  .summary-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .summary-nav-prev { left: 16px; }
  .summary-nav-next { right: 16px; }
  .summary-cards {
    padding: 8px 24px 16px;
    scroll-padding-left: 24px;
  }
}
.summary-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  margin: 0;
}
.summary-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.summary-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.summary-card-place {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bf9670;
  margin-bottom: 8px;
}
.summary-card-body h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
  font-family: var(--font-serif);
  color: var(--ink);
}
.summary-card-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 14px;
}
.summary-card-link {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  align-self: flex-start;
  text-decoration: none;
  transition: color .2s ease;
}
.summary-card-link:hover {
  color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   Section détaillée (3 fois : vignes, ferme, oliviers)
   -------------------------------------------------------------------------- */
.section-detail { padding: 100px 0; }
.section-detail:nth-of-type(odd) { background: var(--bg-alt); }
.section-detail:nth-of-type(even) { background: var(--bg); }

.detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.section-detail-reverse .detail-grid {
  /* En reverse, l'image vient en 2nd dans le DOM mais on garde l'ordre visuel */
  grid-template-columns: 1.05fr 0.95fr;
}

.detail-media {
  position: relative;
  margin: 0;
}
.detail-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(77, 72, 39, 0.2);
}
.detail-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid #bf9670;
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.55;
}
.section-detail-reverse .detail-media::before {
  inset: 18px 18px -18px -18px;
}
.detail-place {
  position: absolute;
  left: -22px;
  bottom: 28px;
  background: var(--ink);
  color: #f3e7c7;
  padding: 12px 22px 12px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
}
.detail-place img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3e7c7;
  padding: 4px;
  flex-shrink: 0;
}

.detail-text { max-width: 580px; }
.detail-text .eyebrow { color: #bf9670; }
.detail-text .section-title {
  text-align: left;
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}
.detail-text .section-title::before { margin-left: 0; }
.detail-text .section-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 700;
  font-size: 1.6em;
  line-height: 0.85;
  color: #bf9670;
  display: inline-block;
  margin-left: 0.05em;
  margin-right: 0.4rem;
  vertical-align: 0;
}

.detail-lead {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 28px;
}

.detail-block-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.detail-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 1.5px;
  background: #bf9670;
}
.detail-list strong { color: var(--ink); font-weight: 600; }

.detail-meta-note {
  margin: 0 0 12px;
  padding: 12px 16px;
  background: var(--white);
  border-left: 3px solid #bf9670;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}
.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.detail-meta-item { display: flex; flex-direction: column; gap: 4px; }
.detail-meta-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.detail-meta-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}

.detail-extra {
  margin: 0 0 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.detail-extra summary {
  cursor: pointer;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  list-style: none;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.detail-extra summary::-webkit-details-marker { display: none; }
.detail-extra summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: #bf9670;
  transition: transform .25s ease;
}
.detail-extra[open] summary::after { transform: translateY(-50%) rotate(45deg); }

/* Animation douce ouverture / fermeture du contenu */
.detail-extra::details-content {
  transition: opacity .35s ease, transform .35s ease, content-visibility .35s allow-discrete;
}
.detail-extra-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.detail-extra[open] .detail-extra-wrap {
  grid-template-rows: 1fr;
}
.detail-extra-wrap > div {
  overflow: hidden;
}
.detail-extra-body {
  padding: 0 22px 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.detail-extra[open] .detail-extra-body {
  opacity: 1;
  transform: translateY(0);
}
.detail-extra-body h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 14px 0 8px;
  color: var(--ink);
}
.detail-extra-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 6px;
}
.detail-extra-body li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.detail-extra-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1.5px;
  background: #bf9670;
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.detail-legal {
  margin-top: 22px;
  text-align: left;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   Section "Bon à savoir"
   -------------------------------------------------------------------------- */
.section-info {
  background-color: var(--bg);
  background-image: url("/images/accueil/image-olivier-formulaire.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 50% auto;
  padding: 88px 0;
  position: relative;
}
.section-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.88;
  pointer-events: none;
}
.section-info > * { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .section-info { background-image: none; }
  .section-info::before { display: none; }
}
.info-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 56px;
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}
.info-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  text-align: left;
}
.info-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.info-value {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Section "Autres prestations"
   -------------------------------------------------------------------------- */
.section-others { background: var(--bg-alt); padding: 88px 0; }
.others-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px;
  margin-top: 48px;
}
.other-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.other-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.other-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.other-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.other-card:hover .other-card-media img { transform: scale(1.04); }

.other-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.other-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--ink);
}
.other-card-body p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  flex: 1;
  margin-bottom: 14px;
}
.other-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.4;
}
.other-card-actions .card-link,
.other-card-actions .card-link-button {
  margin: 0;
  padding: 0 0 2px;
  align-self: auto;
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  border: 0;
  border-bottom: 1.5px solid currentColor;
  background: none;
}
.other-card-actions .card-link-button {
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.other-card-actions .card-link:hover,
.other-card-actions .card-link-button:hover {
  color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   Section CTA finale
   -------------------------------------------------------------------------- */
.section-cta {
  background: var(--bg);
  padding: 100px 0;
}
.cta-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .detail-grid,
  .section-detail-reverse .detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .detail-media { max-width: 480px; margin: 0 auto; }
  .detail-text { max-width: 720px; margin: 0 auto; }
  .section-detail-reverse .detail-grid > .detail-media { order: -1; }
  .info-card { padding: 44px 36px; }
}

@media (max-width: 768px) {
  .section-detail { padding: 64px 0; }
  .section-summary,
  .section-info,
  .section-others,
  .section-cta { padding: 64px 0; }

  /* Ajustements carrousel sur smartphone */
  .summary-cards {
    margin-top: 32px;
    gap: 14px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .summary-card { width: 78vw; max-width: 320px; }
  .summary-card-body { padding: 18px 20px 20px; }
  /* Désactive la cascade sur le carrousel : chaque carte reste visible immédiatement */
  .summary-cards.reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
  }

  .detail-text .section-title { font-size: 1.6rem; }
  .detail-lead { font-size: 1rem; }

  /* Cadre décalé : on garde le sens original mais avec un dépassement plus petit pour ne pas toucher le bord */
  .detail-media::before { inset: 8px -8px -8px 8px; }
  .section-detail-reverse .detail-media::before { inset: 8px 8px -8px -8px; }

  .info-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .info-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .summary-cards {
    padding-left: 18px;
    padding-right: 18px;
    gap: 12px;
  }
  .summary-card { width: 82vw; max-width: none; }

  .detail-place {
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;
    font-size: 0.82rem;
    white-space: nowrap;
    padding: 10px 24px 10px 14px;
    max-width: none;
    justify-content: center;
  }
  .detail-place span { white-space: nowrap; }
  .detail-place img { width: 28px; height: 28px; }
  .detail-meta { grid-template-columns: 1fr; padding: 14px 18px; }
  .detail-cta { flex-direction: column; align-items: stretch; }
  .detail-cta .btn { width: 100%; }
}

