:root {
  --fb-bg: #f4f8fc;
  --fb-bg-alt: #ecf4fb;
  --fb-panel: rgba(255, 255, 255, 0.92);
  --fb-panel-strong: #ffffff;
  --fb-line: rgba(28, 84, 128, 0.12);
  --fb-ink: #17324a;
  --fb-muted: #56758f;
  --fb-accent: #1d78b5;
  --fb-accent-2: #54a6dc;
  --fb-accent-soft: rgba(29, 120, 181, 0.12);
  --fb-shadow: 0 24px 80px rgba(16, 24, 40, 0.12);
  --fb-radius-xl: 28px;
  --fb-radius-lg: 20px;
  --fb-radius-md: 14px;
  --fb-max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--fb-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, var(--fb-bg) 0%, var(--fb-bg-alt) 100%);
  -webkit-font-smoothing: antialiased;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--fb-bg);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader::after {
  animation-delay: -0.5s;
}

#preloader::before,
#preloader::after {
  content: "";
  position: absolute;
  border: 4px solid #59bec5;
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

.skiptranslate {
  opacity: 0;
  display: none;
  position: absolute !important;
  top: -5000px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.fb-shell {
  width: min(var(--fb-max-width), calc(100% - 40px));
  margin: 0 auto;
}

.fb-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--fb-line);
}

.fb-topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-brand img {
  width: 44px;
  height: 44px;
}

.fb-brand-copy strong,
.fb-brand-copy span {
  display: block;
}

.fb-brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.fb-brand-copy span {
  color: var(--fb-muted);
  font-size: 0.92rem;
}

.fb-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fb-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--fb-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--fb-ink);
}

.fb-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fb-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--fb-muted);
  font-size: 0.95rem;
}

.fb-nav a.active,
.fb-nav a:hover {
  color: var(--fb-accent);
  background: var(--fb-accent-soft);
}

.fb-main {
  padding: 24px 0 48px;
}

.fb-hero {
  position: relative;
  min-height: 700px;
  padding: 44px;
  border-radius: var(--fb-radius-xl);
  overflow: hidden;
  box-shadow: var(--fb-shadow);
  background:
    linear-gradient(135deg, rgba(6, 47, 75, 0.72), rgba(22, 109, 167, 0.28)),
    url("../img/pis-pellaires-26/01-IMG_4939.jpg") center/cover;
}

.fb-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 612px;
  color: white;
}

.fb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.fb-hero h1 {
  max-width: 9ch;
  margin: 18px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.94;
}

.fb-hero p {
  max-width: 60ch;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.fb-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.fb-btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--fb-accent), var(--fb-accent-2));
}

.fb-btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.fb-notes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fb-note {
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fb-note strong,
.fb-note span {
  display: block;
}

.fb-note span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.fb-section {
  padding: 28px 0;
}

.fb-section-head {
  margin-bottom: 22px;
}

.fb-kicker {
  color: var(--fb-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

.fb-section-head h2 {
  margin: 8px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.fb-section-head p {
  margin: 0;
  color: var(--fb-muted);
  line-height: 1.7;
}

.fb-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.fb-gallery-main,
.fb-gallery-side,
.fb-gallery-side > div {
  position: relative;
}

.fb-gallery a {
  display: block;
  color: inherit;
}

.fb-gallery-hidden {
  display: none;
}

.fb-gallery-main {
  height: 520px;
}

.fb-gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  height: 520px;
}

.fb-gallery-main > a,
.fb-gallery-side > div,
.fb-gallery-side > div > a {
  height: 100%;
}

.fb-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
}

.fb-gallery-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2937;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.fb-gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--fb-muted);
  font-size: 0.95rem;
}

.fb-gallery-caption strong {
  color: var(--fb-ink);
}

.fb-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fb-card,
.fb-testimonial,
.fb-panel {
  border-radius: var(--fb-radius-lg);
  background: var(--fb-panel-strong);
  border: 1px solid var(--fb-line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.fb-card {
  padding: 24px;
}

.fb-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.fb-card p {
  margin: 0;
  color: var(--fb-muted);
  line-height: 1.65;
}

.fb-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fb-testimonial {
  padding: 24px;
}

.fb-stars {
  margin-bottom: 10px;
  color: var(--fb-accent);
  letter-spacing: 0.08em;
}

.fb-testimonial p {
  margin: 0 0 18px;
  color: var(--fb-muted);
  line-height: 1.72;
}

.fb-testimonial strong,
.fb-testimonial span {
  display: block;
}

.fb-testimonial span {
  color: var(--fb-muted);
  font-size: 0.92rem;
}

.fb-panel {
  padding: 28px;
}

.fb-arrival-panel {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.96));
}

.fb-arrival-head {
  text-align: center;
}

.fb-arrival-head h2 {
  margin: 8px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1.05;
}

.fb-arrival-head p {
  margin: 0;
  color: var(--fb-muted);
  line-height: 1.7;
}

.fb-arrival-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fb-arrival-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(29, 120, 181, 0.18);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(237, 244, 250, 0.96));
  color: var(--fb-ink);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.fb-arrival-link:hover {
  color: var(--fb-accent);
  border-color: rgba(29, 120, 181, 0.28);
  transform: translateY(-1px);
}

.fb-booking {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.fb-booking-box {
  min-height: 200px;
  display: grid;
  place-items: center;
  border-radius: var(--fb-radius-lg);
  background: linear-gradient(135deg, var(--fb-accent), var(--fb-accent-2));
  color: white;
  text-align: center;
  padding: 24px;
}

.fb-booking-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.fb-booking-box span {
  color: rgba(255, 255, 255, 0.84);
}

.fb-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.fb-map-card img,
.fb-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--fb-radius-lg);
}

.fb-map-card iframe {
  border: 0;
  background: #e9edf2;
}

.fb-form-card h3,
.fb-map-copy h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.fb-map-copy p,
.fb-form-card p {
  color: var(--fb-muted);
  line-height: 1.7;
}

.fb-map-copy {
  padding-top: 18px;
}

.fb-form {
  display: grid;
  gap: 12px;
}

.fb-form input,
.fb-form textarea {
  width: 100%;
  border: 1px solid var(--fb-line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

.fb-form textarea {
  min-height: 132px;
  resize: vertical;
}

.fb-footer {
  padding: 24px 0 42px;
}

.fb-footer-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
}

.fb-footer-box p {
  margin: 0;
  color: var(--fb-muted);
}

.fb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .fb-topbar-inner {
    min-height: 64px;
    position: relative;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    padding: 10px 0;
  }

  .fb-brand {
    flex: 1;
    min-width: 0;
  }

  .fb-nav-toggle {
    display: inline-flex;
  }

  .fb-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--fb-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
  }

  .fb-topbar-inner.nav-open .fb-nav {
    display: flex;
  }

  .fb-topbar-inner.nav-open .fb-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .fb-topbar-inner.nav-open .fb-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .fb-topbar-inner.nav-open .fb-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .fb-nav a {
    width: 100%;
    padding: 12px 14px;
  }

  .fb-gallery,
  .fb-feature-grid,
  .fb-arrival-links,
  .fb-testimonial-grid,
  .fb-booking,
  .fb-contact-grid {
    grid-template-columns: 1fr;
  }

  .fb-gallery-main {
    height: 420px;
  }

  .fb-gallery-side {
    height: 420px;
  }

  .fb-hero {
    min-height: 560px;
    padding: 30px;
  }

  .fb-footer-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .fb-shell {
    width: min(var(--fb-max-width), calc(100% - 24px));
  }

  .fb-brand-copy span {
    display: none;
  }

  .fb-brand img {
    width: 40px;
    height: 40px;
  }

  .fb-brand-copy strong {
    font-size: 1.02rem;
  }

  .fb-hero {
    min-height: 500px;
    padding: 22px;
  }

  .fb-hero h1 {
    max-width: none;
  }

  .fb-gallery-side {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .fb-gallery-main,
  .fb-gallery-side > div {
    height: auto;
    min-height: 228px;
  }
}
