/* ==========================================================================
   Domaine Sylvain Faudot — styles des pages intérieures
   Chargé après v2.css sur vins, actualités, événements, hébergement,
   contact et mentions légales.
   ========================================================================== */

/* --- Composants hérités (extraits de responsive.css / style.css) --- */
.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 28px 40px;
  background: rgba(243, 223, 193, 0.92);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(43, 27, 17, 0.1);
}

.legal-page section {
  scroll-margin-top: var(--navbar-scroll-offset);
}

.legal-updated {
  text-align: center;
  font-size: 15px !important;
  margin-bottom: 20px;
  font-style: italic;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin: 8px 0 28px;
  padding: 16px 18px;
  border-top: 1px solid rgba(86, 53, 31, 0.14);
  border-bottom: 1px solid rgba(86, 53, 31, 0.14);
}

.legal-toc a {
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.legal-toc a:hover {
  border-bottom-color: #56351f;
}

.legal-divider {
  border: 0;
  border-top: 1px solid rgba(86, 53, 31, 0.18);
  margin: 42px 0 36px;
}

.legal-page p, .legal-page li {
  font-size: 17px;
  line-height: 1.7;
  color: #745239;
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-page ul {
  margin: 10px 0 0 20px;
}

.legal-page li + li {
  margin-top: 6px;
}

.legal-page a {
  color: #56351f;
}

@media (max-width: 1100px) {
.page-header, .legal-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-header {
    padding: 24px 20px;
}

.page-hero-heading {
    flex-wrap: wrap;
    gap: 20px;
}

.page-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.divider-band-with-logo {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.wine-story-grid, .wine-story-grid--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
}

.wine-story-figure {
    order: -1;
}

.wine-story-grid--reverse .wine-story-content {
    order: 0;
}

.wine-story-grid--reverse .wine-story-figure {
    order: -1;
}
}

@media (max-width: 820px) {
.presentation, .page-hero p, .event-content p, .lodging-content p {
    font-size: 17px;
}

.page-header, main.page-header, .legal-page {
    margin-top: 20px;
}

.page-banner {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
}

.wine-range-grid {
    gap: 14px;
}

.wine-range-grid--count-4, .wine-range-grid--count-5, .wine-range-grid--count-3, .wine-range-grid--count-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wine-range-grid--count-1 {
    max-width: min(100%, 260px);
    margin-inline: auto;
}

.bottle-card-slot {
    gap: 8px;
    align-items: stretch;
}

.bottle-card {
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: 100%;
}

.bottle-card-inner {
    height: 100%;
}

.bottle-card-front {
    padding: 20px 16px;
}

.bottle-card-front:has(img) {
    padding: 0;
    background: #6f6256;
    align-items: stretch;
    justify-content: stretch;
}

.bottle-card img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
}

.bottle-card--savagnin-2021 .bottle-card-front:has(img), .bottle-card--full .bottle-card-front:has(img), .bottle-card--cremant .bottle-card-front:has(img) {
    padding: 0;
    align-items: center;
    justify-content: center;
}

.bottle-card--savagnin-2021 img, .bottle-card--full img, .bottle-card--cremant img {
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
}

.bottle-card.bottle-card--leclos img {
    object-position: 50% 46%;
}

.bottle-card-back {
    padding: 14px 12px;
}

.bottle-card-caption {
    margin: 0;
    padding: 10px 10px;
    font-size: clamp(10px, 2.9vw, 12px);
    line-height: 1.35;
    border-radius: 12px;
}

.divider-band-with-logo {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
    text-align: center;
}

.divider-band-with-logo .logo-frame {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.divider-band-with-logo span {
    text-align: center;
}

.lodging-carousel-main {
    flex-direction: column;
    gap: 10px;
}

.carousel-btn {
    width: 100%;
    border-radius: 999px;
    height: 44px;
}

.lodging-carousel-viewport {
    width: 100%;
    min-height: 260px;
}

.lodging-carousel-viewport img {
    max-height: 380px;
}

.lodging-carousel-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.lodging-thumb, .lodging-thumb--hero, .lodging-thumb:not(.lodging-thumb--hero) {
    width: 76px;
    height: 58px;
}

.lodging-booking-logos {
    flex-direction: column;
    width: 100%;
}

.booking-logo-wrap {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    box-sizing: border-box;
}

.booking-logo-wrap--airbnb {
    padding: 22px 28px;
    min-height: 88px;
    width: min(100%, 320px);
}

.booking-logo-wrap--airbnb img {
    display: block;
    width: min(260px, 82vw);
    height: auto;
    max-width: 100%;
    max-height: none;
    min-height: 40px;
    object-fit: contain;
    object-position: center;
}

.booking-logo-wrap--gdf img {
    max-width: min(200px, 72vw);
    height: auto;
    max-height: 56px;
}

.event-booking, .lodging-booking {
    padding: 22px 18px;
}

.shotgun-logo-wrap {
    padding: 18px 20px;
    width: min(100%, 320px);
    box-sizing: border-box;
}

.page-hero-heading {
    flex-direction: column;
    align-items: flex-start;
}

.logo-frame--hero {
    width: 100%;
    min-width: 0;
}

.form-row--2 {
    grid-template-columns: 1fr;
}

.form-actions {
    flex-direction: column;
    align-items: stretch;
}

.form-submit, .form-submit-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.legal-page {
    padding: 24px 18px;
}
}

@media (max-width: 480px) {
.page-header, main.page-header {
    margin-top: 24px;
}

.booking-logo-wrap--airbnb {
    padding: 24px 18px;
    min-height: 84px;
}

.booking-logo-wrap--airbnb img {
    width: min(240px, 88vw);
    height: auto;
}

.event-title {
    font-size: clamp(22px, 6vw, 32px);
    padding-left: 16px;
    padding-right: 16px;
}

.logo-frame--hero {
    width: 100%;
    padding: 16px 20px;
}
}

/* ==========================================================================
   Design moderne des pages intérieures (s'appuie sur v2.css)
   ========================================================================== */

/* Ouverture de page
   ========================================================================== */
.page-intro {
  position: relative;
  min-height: clamp(400px, 64vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) 0 clamp(44px, 6vw, 76px);
  background: var(--brown-dark);
  color: var(--beige-very-light);
  overflow: hidden;
  isolation: isolate;
}

.page-intro--compact {
  min-height: clamp(320px, 44vh, 440px);
}

.page-intro-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 14s var(--ease) forwards;
}

.page-intro-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(43, 27, 17, 0.94) 0%, rgba(43, 27, 17, 0.55) 45%, rgba(43, 27, 17, 0.4) 100%),
    linear-gradient(90deg, rgba(43, 27, 17, 0.6) 0%, rgba(43, 27, 17, 0) 70%);
}

.page-intro--plain {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(185, 150, 104, 0.22) 0%, rgba(43, 27, 17, 0) 60%),
    var(--brown-dark);
}

.page-intro-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 1s var(--ease) forwards;
}

.page-intro-content > :nth-child(1) { animation-delay: 0.1s; }
.page-intro-content > :nth-child(2) { animation-delay: 0.22s; }
.page-intro-content > :nth-child(3) { animation-delay: 0.4s; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
}

.breadcrumb a {
  text-decoration: none;
  color: rgba(251, 243, 231, 0.7);
  transition: color var(--t-fast);
}

.breadcrumb a:hover {
  color: var(--beige-very-light);
}

.breadcrumb-sep {
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.page-intro h1 {
  max-width: 14ch;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--beige-very-light);
  text-wrap: balance;
}

.page-intro-sub {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.3vw, 30px);
  color: var(--beige);
}

/* Corps de page
   ========================================================================== */
main.page-header,
main.legal-page {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 64px);
  width: min(1080px, 100% - 2 * var(--gutter));
  max-width: none;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 10vw, 150px);
  background: none;
  border-radius: 0;
  box-shadow: none;
}

main.page-header p,
main.legal-page p,
main.legal-page li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--brown-soft);
  text-wrap: pretty;
}

main.page-header h2,
main.legal-page h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--brown);
}

main.page-header a:not([class]),
main.legal-page a:not([class]) {
  color: var(--brown);
  text-decoration-color: var(--beige-deep);
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

main.page-header a:not([class]):hover,
main.legal-page a:not([class]):hover {
  color: var(--brown-dark);
}

.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.back-link:hover {
  color: var(--brown-dark);
  border-color: var(--brown);
}

/* Nos vins
   ========================================================================== */
/* Bandeau pleine largeur, collé sous l'ouverture de page */
.wine-philosophy {
  position: relative;
  margin: calc(-1 * clamp(64px, 8vw, 120px)) calc(50% - 50vw) 0;
  padding: clamp(48px, 6vw, 88px) calc(50vw - 50%) clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line-light);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(185, 150, 104, 0.24) 0%, rgba(43, 27, 17, 0) 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(116, 82, 57, 0.35) 0%, rgba(43, 27, 17, 0) 70%),
    var(--brown-dark);
}

.wine-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

main.page-header .wine-philosophy-grid p {
  padding: 0 clamp(20px, 2.8vw, 40px);
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(251, 243, 231, 0.82);
}

main.page-header .wine-philosophy-grid p:first-child {
  padding-left: 0;
}

main.page-header .wine-philosophy-grid p:last-child {
  padding-right: 0;
}

main.page-header .wine-philosophy-grid p + p {
  border-left: 1px solid var(--line-light);
}

@media (max-width: 900px) {
  .wine-philosophy-grid {
    grid-template-columns: 1fr;
  }

  main.page-header .wine-philosophy-grid p,
  main.page-header .wine-philosophy-grid p:first-child,
  main.page-header .wine-philosophy-grid p:last-child {
    padding: 0;
  }

  main.page-header .wine-philosophy-grid p + p {
    margin-top: 24px;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }
}

.wine-accordions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wine-accordion-trigger.divider-band-with-logo {
  grid-template-columns: 132px minmax(0, 1fr) 48px;
  justify-items: start;
  gap: clamp(16px, 3vw, 36px);
  width: 100%;
  padding: 18px clamp(18px, 3vw, 32px);
  background: var(--beige-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--brown-dark);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.wine-accordion-trigger.divider-band-with-logo:hover {
  background: var(--beige);
  border-color: rgba(86, 53, 31, 0.24);
}

.wine-accordion-trigger.divider-band-with-logo:active {
  transform: scale(0.995);
}

.divider-band-with-logo span:not(.wine-accordion-chevron) {
  text-align: left;
}

.divider-band-with-logo .logo-frame {
  width: 132px;
  padding: 10px 14px;
  background: var(--beige-very-light);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.divider-band-with-logo .logo-frame img {
  mix-blend-mode: multiply;
}

.wine-accordion-chevron {
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(86, 53, 31, 0.22);
  background: transparent;
  font-size: 11px;
}

.wine-accordion.is-open .wine-accordion-chevron {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--beige-very-light);
}

.wine-range {
  padding: clamp(20px, 3vw, 32px);
  background: rgba(243, 223, 193, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* Deux cuvées : même taille de carte que les rangées de trois, centrées */
.wine-range-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 66%);
  margin-inline: auto;
}

@media (max-width: 820px) {
  .wine-range-grid--count-2 {
    width: 100%;
  }
}

.wine-range-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
}

.bottle-card-caption {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.3vw, 16px);
  border-radius: 14px;
}

.bottle-card-details h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 500;
}

.wine-story-figure {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(43, 27, 17, 0.14);
}

main.page-header .wine-story-content p {
  font-size: 17px;
}

/* Actualités
   ========================================================================== */
.news-lead {
  max-width: 640px;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 300;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
  color: var(--brown) !important;
}

/* Onglets */
.news-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--beige-light);
  border: 1px solid var(--line);
}

.news-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 52px;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brown);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.news-tab:hover {
  background: rgba(251, 243, 231, 0.7);
}

.news-tab[aria-selected='true'] {
  background: var(--brown-dark);
  color: var(--beige-very-light);
  box-shadow: 0 8px 20px rgba(43, 27, 17, 0.18);
}

.news-tab-label {
  font-size: 15px;
  font-weight: 500;
}

.news-tab-count {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Panneau */
.news-panel {
  animation: panel-in 0.5s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.news-panel-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

main.page-header .news-panel-head h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
}

/* Mosaïque */
.news-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 19vw, 250px);
  grid-auto-flow: dense;
  gap: 12px;
}

.news-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--beige);
  isolation: isolate;
}

.news-item--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.news-item--tall {
  grid-row: span 2;
}

.news-item--wide {
  grid-column: span 2;
}

.news-item--panorama {
  grid-column: 1 / -1;
}

.news-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.news-open img,
.news-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.news-item:hover .news-open img,
.news-item:hover .news-video {
  transform: scale(1.04);
}

.news-open:focus-visible {
  outline-offset: -4px;
}

.news-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 36px 18px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--beige-very-light);
  background: linear-gradient(to top, rgba(43, 27, 17, 0.8), rgba(43, 27, 17, 0));
  pointer-events: none;
}

.news-item--feature figcaption {
  padding: 60px 26px 22px;
  font-size: clamp(16px, 1.6vw, 20px);
}

.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(43, 27, 17, 0.55);
  color: var(--beige-very-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.news-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0655a;
  animation: live-dot 1.6s ease-in-out infinite;
}

@keyframes live-dot {
  50% {
    opacity: 0.3;
  }
}

/* Plein écran */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--beige-very-light);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(20, 12, 7, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
  animation: panel-in 0.35s var(--ease);
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1400px, 92vw);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80dvh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  font-size: 15px;
  text-align: center;
  color: rgba(251, 243, 231, 0.88);
}

.lightbox-count {
  position: absolute;
  top: 22px;
  left: 24px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(251, 243, 231, 0.7);
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(251, 243, 231, 0.25);
  border-radius: 50%;
  background: rgba(43, 27, 17, 0.4);
  color: var(--beige-very-light);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.lightbox-btn:hover {
  background: rgba(251, 243, 231, 0.14);
  border-color: var(--beige-very-light);
}

.lightbox-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-close {
  top: 14px;
  right: 16px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

body.lightbox-open {
  overflow: hidden;
}

/* Événement
   ========================================================================== */
.event-poster {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(43, 27, 17, 0.14);
}

.event-content {
  max-width: 760px;
}

.event-highlights li::before,
.lodging-list li::before {
  background: var(--beige-deep);
}

.event-warning {
  border-radius: var(--radius-md);
  background: var(--beige-light);
  border-color: var(--line);
  font-family: var(--font-body);
  font-weight: 500;
}

.event-booking,
.lodging-booking {
  gap: 22px;
  padding: clamp(32px, 5vw, 56px) 24px;
  background: var(--brown-dark);
  border: 0;
  border-radius: var(--radius-lg);
}

.event-booking-title,
.lodging-booking-title {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  font-weight: 400;
  line-height: 1.1;
  color: var(--beige-very-light) !important;
}

.shotgun-logo-wrap,
.booking-logo-wrap {
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.shotgun-logo-wrap:hover,
.booking-logo-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

/* Hébergement
   ========================================================================== */
.lodging-carousel-viewport {
  padding: 0;
  border: 0;
  background: var(--beige);
  border-radius: var(--radius-lg);
}

.lodging-carousel-viewport img {
  border-radius: 0;
}

.carousel-btn {
  display: grid;
  place-items: center;
  border-color: var(--line);
  background: var(--beige-very-light);
  font-size: 22px;
}

.carousel-btn:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--beige-very-light);
}

.lodging-thumb {
  border-radius: 14px;
}

.lodging-thumb.active {
  border-color: var(--brown);
}

/* Contact
   ========================================================================== */
.form-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 52px;
  padding: 14px 18px;
  font: 400 16px/1.5 var(--font-body);
  color: var(--brown-dark);
  background: #fffaf2;
  border: 1px solid rgba(86, 53, 31, 0.18);
  border-radius: 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(185, 150, 104, 0.25);
}

.form-submit,
.form-submit-secondary {
  min-height: 52px;
  padding: 0 28px;
  font: 500 15px/1 var(--font-body);
  letter-spacing: 0.01em;
}

.form-submit:hover {
  background: var(--brown-dark);
}

.form-submit:active,
.form-submit-secondary:active {
  transform: scale(0.98);
}

.contact-info {
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--brown-dark);
  border: 0;
  border-radius: var(--radius-lg);
}

main.page-header .contact-info h2 {
  color: var(--beige-very-light);
}

main.page-header .contact-info p,
.contact-hours span {
  color: rgba(251, 243, 231, 0.8);
}

main.page-header .contact-info a {
  color: var(--beige-light);
}

.contact-hours {
  background: rgba(251, 243, 231, 0.06);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.contact-hours strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--beige);
}

/* Information RGPD au point de collecte */
main.page-header .form-privacy {
  max-width: none;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--brown-soft);
}

.form-success,
.form-error {
  border-radius: var(--radius-md);
}

/* Page 404 */
.notfound-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Mentions légales
   ========================================================================== */
main.legal-page {
  width: min(820px, 100% - 2 * var(--gutter));
  gap: 0;
}

main.legal-page h1 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--brown);
  text-align: left;
}

main.legal-page .legal-part-title {
  margin: 72px 0 14px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Informations légales restant à compléter : bien visibles tant qu'elles manquent */
.legal-todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: #ffe08a;
  color: var(--brown-dark);
  font-weight: 600;
}

main.legal-page h2 {
  margin: 44px 0 14px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.legal-page ul + p {
  margin-top: 14px;
}

.legal-updated {
  text-align: left;
  color: var(--brown-soft);
}

.legal-toc {
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  margin: 12px 0 20px;
  border: 0;
}

.legal-toc a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown);
  background: rgba(243, 223, 193, 0.4);
}

.legal-toc a:hover {
  border-color: var(--brown);
}

.legal-page section,
.legal-page h1 {
  scroll-margin-top: calc(var(--nav-h) + 32px);
}

/* Responsive pages intérieures
   ========================================================================== */
@media (max-width: 820px) {
  main.page-header,
  main.legal-page {
    margin-top: 0;
  }

  .wine-accordion-trigger.divider-band-with-logo {
    grid-template-columns: 84px minmax(0, 1fr) 44px;
    justify-items: start;
    text-align: left;
    padding: 14px 16px;
  }

  .divider-band-with-logo .logo-frame {
    width: 84px;
    max-width: none;
    margin: 0;
    padding: 6px 8px;
  }

  .divider-band-with-logo span:not(.wine-accordion-chevron) {
    text-align: left;
  }

  .wine-accordion-chevron {
    width: 44px;
    height: 44px;
  }

  .news-tabs {
    align-self: stretch;
    border-radius: 22px;
  }

  .news-tab {
    flex: 1 1 0;
    border-radius: 16px;
    padding: 8px 14px;
  }

  .news-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(140px, 36vw, 220px);
    gap: 8px;
  }

  .news-item figcaption {
    padding: 28px 12px 10px;
    font-size: 12px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-img {
    max-height: 70dvh;
  }

  .form-submit,
  .form-submit-secondary {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-intro-media img {
    transform: none;
  }

  .page-intro-content > * {
    opacity: 1;
    transform: none;
  }
}
