/* Page Infos pratiques — même ADN que menu / accueil */

.page-infos {
  color: var(--black);
  background: #fff;
}

.page-infos .site-header--menu.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (min-width: 769px) {
  .page-infos .site-header--menu:not(.is-scrolled) .nav-main {
    color: var(--black);
  }

  .page-infos .site-header--menu:not(.is-scrolled) .nav-main a {
    color: inherit;
    text-shadow: none;
  }
}

.page-infos .site-header--menu.is-scrolled .nav-main {
  color: #fff;
}

.page-infos .site-header--menu.is-scrolled .nav-main a {
  text-shadow: none;
}

.page-infos .logo-wrap__menu-scrolled {
  display: none;
}

.page-infos .site-header--menu:not(.is-scrolled) .logo-wrap__menu-top {
  display: block;
}

.page-infos .site-header--menu:not(.is-scrolled) .logo-wrap__menu-scrolled {
  display: none;
}

.page-infos .site-header--menu.is-scrolled .logo-wrap__menu-top {
  display: none;
}

.page-infos .site-header--menu.is-scrolled .logo-wrap__menu-scrolled {
  display: block;
}

.page-infos .site-header--menu:not(.is-scrolled) .logo-wrap__menu-top {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.12));
  max-height: calc(58px * 1.2);
}

.page-infos .site-header--menu.is-scrolled .logo-wrap__menu-scrolled {
  max-height: 52px;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.page-infos .site-header--menu:not(.is-scrolled) .btn-header-reserve {
  color: #faf8f4;
  background: var(--terracotta);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 14px rgba(166, 89, 71, 0.35);
}

.page-infos .site-header--menu:not(.is-scrolled) .btn-header-reserve:hover {
  background: var(--terracotta-dark);
  color: #faf8f4;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 18px rgba(135, 69, 56, 0.4);
}

.page-infos .site-header--menu.is-scrolled .btn-header-reserve {
  color: var(--black);
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.infos-main {
  padding-top: var(--site-header-h-expanded);
  min-height: 100vh;
  background: #fff;
}

.infos-hero {
  padding: clamp(1.75rem, 4vw, 2.5rem) 1.25rem clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
  background: var(--beige-100);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

/* Titre sur le fond blanc (.infos-main), sous la bandeau photo beige */
.infos-page-title {
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 500;
  font-style: italic;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
}

.infos-hero__figure {
  margin: 0 auto;
  width: 50%;
  max-width: 960px;
  min-width: min(100%, 280px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.infos-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.infos-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 1.25rem 3.5rem;
}

.infos-lead {
  margin: 0 0 2rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.72);
  text-align: center;
}

/* Grille : mobile = 1 col ; ordi ≥769px = 3 carrés puis plan centré, plus étroit */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  justify-items: stretch;
}

@media (min-width: 769px) {
  .infos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .infos-tile--contact,
  .infos-tile--hours,
  .infos-tile--address {
    aspect-ratio: 1;
  }

  .infos-tile--map {
    grid-column: 1 / -1;
    justify-self: center;
    align-self: start;
    width: 100%;
    max-width: min(100%, 36rem);
    min-width: 0;
    box-sizing: border-box;
  }

  .infos-tile--map .infos-tile__body--map {
    min-height: 0;
    min-width: 0;
  }

  .infos-tile--map .infos-map {
    max-height: 420px;
  }
}

.infos-tile:not(.infos-tile--map) {
  aspect-ratio: 1;
}

.infos-tile {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.infos-tile__title {
  flex-shrink: 0;
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.8vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.15;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.infos-tile__body {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}

.infos-tile__body--map {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
}

/* Trois premières tuiles : fond beige sur page blanche */
.infos-tile--contact,
.infos-tile--hours,
.infos-tile--address {
  background: var(--beige-200);
  color: rgba(10, 10, 10, 0.88);
  border-color: rgba(10, 10, 10, 0.07);
}

.infos-tile--contact .infos-tile__title,
.infos-tile--hours .infos-tile__title,
.infos-tile--address .infos-tile__title {
  color: var(--terracotta-dark);
  border-bottom-color: rgba(166, 89, 71, 0.35);
}

.infos-tile--contact .infos-list a,
.infos-tile--hours .infos-list a {
  color: var(--terracotta-dark);
  border-bottom-color: rgba(166, 89, 71, 0.4);
}

.infos-tile--contact .infos-list a:hover,
.infos-tile--hours .infos-list a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.infos-tile--contact .infos-hint {
  color: rgba(10, 10, 10, 0.55);
}

.infos-tile--hours .infos-note {
  color: rgba(10, 10, 10, 0.55);
}

.infos-tile--hours .infos-list li {
  color: rgba(10, 10, 10, 0.85);
}

.infos-tile--hours .infos-hint {
  color: rgba(10, 10, 10, 0.45);
}

.infos-address-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-style: normal;
  text-align: left;
  color: rgba(10, 10, 10, 0.9);
  line-height: 1.65;
  cursor: pointer;
  border-radius: 0;
}

.infos-address-trigger:hover,
.infos-address-trigger:focus-visible {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.infos-address-trigger:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* Terracotta foncé + carte */
.infos-tile--map {
  background: var(--terracotta-dark);
  color: #faf8f4;
}

.infos-tile--map .infos-tile__title {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.infos-tile--map .infos-map {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 140px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
}

.infos-tile--map .infos-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
}

.infos-tile--map .infos-btn-maps {
  flex-shrink: 0;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  margin-top: auto;
  margin-inline: auto;
}

.infos-address {
  font-style: normal;
}

.infos-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.infos-list li {
  margin-bottom: 0.45rem;
}

.infos-list li:last-child {
  margin-bottom: 0;
}

.infos-list a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.infos-hint {
  font-weight: 500;
  font-size: 0.82rem;
}

.infos-note {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
}

.infos-hours-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--terracotta);
  font-weight: 500;
}

.infos-btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-btn-pill);
  border: none;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.infos-tile--map .infos-btn-maps {
  color: var(--terracotta-dark);
  background: #faf8f4;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.infos-tile--map .infos-btn-maps:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.infos-tile--map .infos-btn-maps:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Choix d’itinéraire : Google Maps, Waze, Plans */
.infos-route-dialog {
  width: min(calc(100vw - 2rem), 22rem);
  max-height: min(90vh, 24rem);
  padding: 0;
  border: none;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.infos-route-dialog::backdrop {
  background: rgba(10, 10, 10, 0.45);
}

.infos-route-dialog__panel {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  color: var(--black);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.infos-route-dialog__close-form {
  position: absolute;
  top: 0.65rem;
  right: 0.5rem;
  margin: 0;
  padding: 0;
}

.infos-route-dialog__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-btn-pill);
  background: rgba(10, 10, 10, 0.06);
  color: var(--black);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.infos-route-dialog__close:hover {
  background: rgba(10, 10, 10, 0.1);
}

.infos-route-dialog__title {
  margin: 0 2.25rem 0.5rem 0;
  padding: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  font-style: italic;
  color: var(--terracotta-dark);
  line-height: 1.2;
}

.infos-route-dialog__lead {
  margin: 0 0 1rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  color: rgba(10, 10, 10, 0.65);
  line-height: 1.45;
}

.infos-route-dialog__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.infos-route-dialog__list li {
  margin-bottom: 0.5rem;
}

.infos-route-dialog__list li:last-child {
  margin-bottom: 0;
}

.infos-route-dialog__app {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--terracotta-dark);
  background: var(--beige-200);
  border: 1px solid rgba(10, 10, 10, 0.08);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.infos-route-dialog__app:hover {
  background: var(--beige-300);
  color: var(--black);
  border-color: rgba(10, 10, 10, 0.12);
}

.page-infos .site-footer__link--dialog {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .page-infos .site-header--menu:not(.is-scrolled) .logo-wrap__menu-top {
    max-height: calc(50px * 1.2);
  }

  .page-infos .site-header--menu.is-scrolled .logo-wrap__menu-scrolled {
    max-height: 44px;
  }

  .infos-hero__figure {
    width: 100%;
    max-width: none;
  }

  .infos-grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 400px);
    margin-inline: auto;
  }

  .infos-tile:not(.infos-tile--map) {
    aspect-ratio: 1;
    max-width: 100%;
  }

  .infos-tile--map {
    max-width: 100%;
    min-width: 0;
  }

  .infos-tile--map .infos-map {
    min-height: 160px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .infos-tile {
    padding: 1.15rem 1rem 1rem;
  }
}
