/* Layout pour footer fixé en bas */
html, body {
  height: 100%;
  margin: 0;
}

:root {
  --site-bg: #f6f3f5;
  --surface: #ffffff;
  --line: #e6dde2;
  --ink: #27313a;
  --rose-1: #d7a2b2;
  --rose-2: #cf1f63;
  --rose-3: #b71a56;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--site-bg);
  color: var(--ink);
}

.banner {
  margin: 0;
  padding: 0;
  width: 100%;
  background: #e8a7b5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.banner-content {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  min-height: 110px;
  padding: 26px 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner .title {
  margin: 0;
  color: #b51744;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.2;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.banner .subtitle {
  margin: 2px 0 0;
  color: #2e2226;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(0.65rem, 1.3vw, 0.95rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner .subtitle::before,
.banner .subtitle::after {
  content: "\2014";
  color: #2e2226;
  font-weight: 400;
}

.banner .subtitle .dot {
  display: inline-block;
  margin: 0 2px;
  font-size: 0.7em;
  vertical-align: middle;
}

.banner .flower {
  position: absolute;
  top: 10px;
  width: 65px;
  height: 65px;
}

.banner .flower svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.banner .flower--left {
  left: 18px;
}

.banner .flower--right {
  right: 18px;
  transform: scaleX(-1);
}

.brand-logo-css {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rose-2);
  background: radial-gradient(circle at 35% 30%, #ffd8e5 0%, #f3b6c8 55%, #e89fb6 100%);
  border: 1px solid rgba(207, 31, 99, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

/* Safety: if an image logo is used again, keep it small and aligned. */
.brand-logo {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  object-fit: contain;
  display: block;
}

.site-nav {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line) !important;
  min-height: 70px;
}

.site-nav .container {
  align-items: center;
}

.site-nav-link {
  color: #3f4c58;
  font-weight: 500;
  padding: 0.45rem 0.75rem !important;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus {
  color: var(--rose-3);
  background: #f7e8ee;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.hero {
  background: linear-gradient(180deg, #fbf8fa 0%, rgba(251, 248, 250, 0) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line) !important;
  box-shadow: 0 14px 34px rgba(46, 25, 39, 0.08);
}
.object-fit-cover { object-fit: cover; }
.ratio-portrait { --bs-aspect-ratio: 133.3333%; }

.btn-dark {
  background-color: #1f2b35;
  border-color: #1f2b35;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: #14202a;
  border-color: #14202a;
}

.card {
  border-color: var(--line);
}

.card:hover {
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}


.cropper-wrap { max-height: 70vh; }

@media (max-width: 768px){
  .banner-content {
    padding: 20px 16px;
  }

  .banner .flower {
    width: 42px;
    height: 42px;
    top: 6px;
  }

  .banner .flower--left {
    left: 8px;
  }

  .banner .flower--right {
    right: 8px;
  }

  .brand-logo-css {
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
  }

  .site-nav {
    min-height: 64px;
  }

  .site-nav-link {
    padding: 0.55rem 0.75rem !important;
  }

  .table-mask {
    display: none;
  }
}

.stack-mobile {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 767.98px) {
  .stack-mobile {
    flex-direction: column;
    align-items: stretch;
  }

  .stack-mobile .btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .site-nav .container {
    position: relative;
  }

  #navMain.navbar-collapse {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(23, 29, 35, 0.18);
    padding: 0.45rem;
    z-index: 1045;
  }

  #navMain .navbar-nav {
    gap: 0.15rem !important;
  }

  #navMain .nav-link.site-nav-link {
    display: block;
    border-radius: 10px;
    padding: 0.65rem 0.75rem !important;
    color: #2f3a45;
  }

  #navMain .nav-link.site-nav-link:hover,
  #navMain .nav-link.site-nav-link:focus {
    background: #f7e8ee;
    color: var(--rose-3);
  }
}
