/* Le Campanella — reproduction de la composition et des styles du site original. */
:root {
  --gold: #d0b084;
  --link: #a58b67;
  --ink: #000;
  --heading: #222;
  --paper: #fff;
  --content-width: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0; color: #333; background: var(--paper); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--link); text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
p { margin: 0 0 .9rem; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid #84663e; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 1000; padding: 10px 15px; background: white; color: black; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; width: 100%; min-height: 78px; transition: background-color .3s; }
.site-header.scrolled, .site-header.menu-open { background: #ffffffe0; }
.brand { width: 19.43%; padding: 10px; flex-shrink: 0; text-align: center; }
.brand a { display: block; }
.brand img { width: 800px; }
#main-navigation { flex: 1; padding-right: 30px; }
#main-navigation ul { display: flex; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
#main-navigation a { display: flex; padding: 30px 20px; color: #000; font: 400 18px/18px Montserrat, sans-serif; white-space: nowrap; transition: color .2s; }
#main-navigation a:hover { color: var(--gold); }
.menu-toggle { display: none; }
.hero { position: relative; margin-top: -98px; background: url("assets/images/campanella-1-1.webp") center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / .7); }
.hero-content { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; max-width: var(--content-width); padding: 10px; margin: auto; }
.hero-logo { display: block; width: 768px; margin-bottom: 20px; }
.outline-button { display: block; position: relative; padding: 15px; border: 2px solid currentColor; text-align: center; font: 16px/24px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; transition: color .3s, border-color .3s, background-color .3s; }
.reserve-button { color: #000; }
.outline-button:hover { background: var(--gold); border-color: var(--gold); color: white; }
.angle { position: absolute; left: 0; right: 0; overflow: hidden; line-height: 0; pointer-events: none; }
.angle svg { display: block; width: calc(100% + 1.3px); height: 70px; position: relative; left: 50%; transform: translateX(-50%); fill: white; }
.angle-top { top: -1px; }
.angle-bottom { bottom: -1px; transform: rotate(180deg); }
.container { max-width: var(--content-width); padding: 10px; margin: 0 auto; }
.content-section { padding: 120px 0 80px; }
.section-heading { margin-bottom: 40px; text-align: center; }
.section-heading h1, .section-heading h2 { margin: 0; padding: 0; color: var(--heading); font: 300 40px/1.2 Montserrat, sans-serif; text-transform: uppercase; overflow-wrap: break-word; }
.separator { height: 2px; width: 200px; margin: 12px auto 0; background: var(--gold); }
.copy { display: flow-root; color: #000; text-align: justify; font: 300 18px/27px Montserrat, sans-serif; margin-bottom: 20px; }
.photo-grid { display: grid; gap: 20px; align-items: start; }
.photo-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-link { display: block; }
.photo-link img { display: block; width: 100%; border-radius: 25px; }
.photo-break { height: 501px; position: relative; background: url("assets/images/campanella-100.webp") center/cover no-repeat; }
.photo-break::before { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / .4); }
.wine-section { padding: 80px 0; background: url("assets/images/campanella-7.webp") center/cover no-repeat; }
.wine-panel { max-width: var(--content-width); padding: 70px; margin: auto; background: rgb(255 255 255 / .95); }
.wine-button { width: 80%; margin: 0 auto 20px; color: var(--gold); }
.wine-mobile-photo { display: none; width: 100%; border-radius: 25px; }
.instagram-feed { padding-bottom: 10px; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 5px; }
.instagram-photo { position: relative; display: block; padding: 5px; aspect-ratio: 1; line-height: 0; }
.instagram-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.instagram-photo:hover { opacity: .85; }
.instagram-photo:nth-child(n+9) { display: none; }
.instagram-photo.revealed { display: block; }
.video-icon { position: absolute; width: 40px; height: 40px; left: calc(50% - 20px); top: calc(50% - 20px); filter: drop-shadow(0 1px 3px #555); }
.instagram-actions { text-align: center; }
.load-more, .instagram-follow { display: inline-flex; align-items: center; border: 0; border-radius: 4px; margin: 5px 0 0; padding: 7px 14px; font: 13px/19.5px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: white; vertical-align: top; }
.load-more { background: #333; }
.load-more:hover { background: #555; }
.instagram-follow { background: #408bd1; margin-left: 5px; }
.instagram-follow:hover { background: #3273b0; }
.instagram-follow svg { width: 15px; height: 15px; margin-right: 7px; }
.compact-section { padding: 80px 0 0; }
.booking-widget { width: 100%; line-height: 0; }
iframe { border: 0; max-width: 100%; }
.booking-widget iframe { display: block; width: 100%; height: 800px; min-height: 600px; }
.contact-details { text-align: center; margin-bottom: 0; }
.map-section { padding: 50px 0 80px; line-height: 0; }
.map-section iframe { width: 100%; height: 400px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; padding: 50px 0; color: #000; }
.site-footer > * { padding: 10px; }
.footer-logo { width: 33.922%; text-align: center; }
.footer-logo img { width: 300px; }
.footer-navigation { width: 12.163%; }
.footer-navigation ul { list-style: none; margin: 0; padding: 0; }
.footer-navigation a { display: block; color: #000; padding: 8px 5px; font: 400 18px/18px Montserrat, sans-serif; }
.footer-navigation a:hover { color: var(--gold); }
.footer-details { width: 28.894%; font: 400 16px/24px Montserrat, sans-serif; }
.footer-social { width: 25%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-social h2 { margin: 0 0 20px; color: #000; font: 500 22px/22px Montserrat, sans-serif; }
.footer-social a { color: #000; display: inline-flex; padding: 23px; margin-bottom: 20px; }
.footer-social svg { width: 46px; height: 46px; }
.lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 50px 70px; border: 0; background: rgb(0 0 0 / .9); color: white; }
.lightbox::backdrop { background: rgb(0 0 0 / .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figure img { max-height: calc(100dvh - 130px); width: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; }
.lightbox button { position: absolute; border: 0; padding: 12px; background: transparent; color: white; }
.lightbox button svg { display: block; width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
.lightbox-close { right: 12px; top: 12px; }
.lightbox-prev { left: 12px; top: calc(50% - 24px); }
.lightbox-next { right: 12px; top: calc(50% - 24px); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 1024px) {
  :root { --content-width: 1024px; }
  .site-header { min-height: 0; }
  #main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px 0 0; }
  #main-navigation ul { display: block; background: white; }
  #main-navigation a { padding: 15px; border-top: 1px solid #ccc; font-size: 16px; line-height: 24px; }
  .menu-open #main-navigation { display: block; }
  .menu-toggle { display: block; margin: 0 20px 0 auto; padding: 7px 10px; background: transparent; border: 0; width: 38px; height: 28px; }
  .menu-toggle span { display: block; height: 2px; width: 18px; background: black; }
  .menu-toggle span + span { margin-top: 3px; }
  .section-heading { text-align: left; }
  .separator { margin-left: 0; }
  .wine-section { padding: 0; }
  .wine-panel { background: white; }
  .wine-mobile-photo { display: block; }
  .instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instagram-photo:nth-child(n+5) { display: none; }
  .instagram-photo.revealed { display: block; }
  .footer-logo, .footer-navigation, .footer-details { width: 33%; }
  .footer-social { width: 100%; }
}
@media (max-width: 767px) {
  .brand { width: 50%; }
  .content-section { padding: 80px 20px; }
  .compact-section { padding: 80px 20px 0; }
  .wine-panel { padding: 50px 30px; }
  .photo-grid.four, .photo-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding: 80px 0 50px; }
  .footer-logo, .footer-navigation, .footer-details, .footer-social { width: 100%; }
}
@media (max-width: 479px) {
  .photo-grid.four, .photo-grid.three { grid-template-columns: minmax(0, 1fr); }
  .lightbox { padding: 55px 40px; }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
