/* public/css/style.scss */
* {
  margin: 0;
}
.jumbotron-mainmenu {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  z-index: 9999 !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.dropdown-menu {
  z-index: 10000 !important;
}

.category-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-menu li {
  margin: 0.5em 0;
}

.category-menu a {
  text-decoration: none;
  color: #333;
  padding: 0.3em 0.6em;
  display: block;
  border-radius: 4px;
  transition: background 0.3s;
}

.category-menu a:hover {
  background-color: #f0f0f0;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');

html, body {
  font-family: 'Nunito', sans-serif;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: #333;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
}
summary {
  font-weight: bold;
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
footer img {
  background: transparent;
  mix-blend-mode: normal;
}

/* Menu Styles */
.right {
    margin-left: auto;
}
.language-switch {
    display: flex;
    gap: 0px;
    align-items: center;
    margin-top: 8px;
    background-color: #fb8a3b;
}
.language-switch .nav-link {
    padding-left: 0px;
    padding-right: 0px;
    text-decoration: none;
    color: inherit;
}
.language-switch a.nav-link {
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.category-menu {
    background-color: #faf3eb;
}
a.edition {
    color: gray;
    text-decoration: none;
}
.text-muted  {
  opacity: 0.5;
}

/* Barre de recherche de lieu toujours visible */
.search-form-expandable {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    cursor: pointer;
}

.search-input {
    width: 225px !important;
    height: 38px !important;
    padding: 0 14px 0 40px !important;
    border: 1px solid #ced4da !important; /* Visible border */
    background-color: white !important;
    border-radius: 20px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    cursor: text;
    color: #495057 !important;
}

.search-input:hover {
    background-color: #e9ecef !important;
}

/* Keep the place-search field and its hint visible before focus. */
.search-input:focus {
    width: 225px !important;
    padding-left: 40px !important;
    background-color: white !important;
    border-color: #ffc107 !important;
    cursor: text;
}

.search-input::placeholder {
    color: #6c757d !important;
}

.search-btn {
    position: absolute;
    left: 0;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    color: #555;
    padding: 0;
    z-index: 5;
    cursor: pointer;
    transition: color 0.3s, opacity 0.3s, visibility 0.3s;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .search-form-expandable,
    .search-input-wrapper {
        width: 100%;
    }

    .search-input {
        width: 100% !important;
        background-color: white !important;
        border-color: #ced4da !important;
        color: #495057 !important;
        padding-left: 35px !important;
    }
    .search-input::placeholder {
        color: #6c757d !important;
    }
}

/* Language Switcher Dropdown */
#langDropdown::after {
    display: none !important; /* Hide the arrow/caret */
}

#langDropdown {
    transition: transform 0.2s;
}

#langDropdown:hover {
    transform: scale(1.1);
}

.language-switch .dropdown-item {
    transition: background-color 0.2s;
}

/* Keep the main links and the search/account controls on separate rows. */
.twai-menu-layout {
    display: flex;
    width: 100%;
    flex-direction: column;
}
.twai-menu-row {
    width: 100%;
}
.twai-menu-primary .navbar-nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 0 10px;
}
.twai-menu-logo a {
    display: block;
    padding: 5px 12px 5px 0;
}
.twai-menu-logo img {
    display: block;
    width: auto;
}
.twai-menu-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 54px;
    padding: 7px 0 8px;
    border-top: 1px solid #e7e2dc;
}
.twai-menu-tools .search-form-expandable {
    margin: 0;
}
.twai-language-form {
    padding: 4px;
    border: 1px solid #f2d3b7;
    border-radius: 8px;
    background: #fff0e3;
}
.twai-language-form .form-select {
    min-width: 118px;
    border-color: transparent;
    background-color: #fff0e3;
    color: #49382c;
}
.twai-menu-account {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.twai-menu-account #nav-profile {
    max-width: min(36vw, 320px);
    overflow-wrap: anywhere;
}
.twai-menu-account #nav-logout {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .twai-menu-layout {
        padding: 8px 0 12px;
    }
    .twai-menu-primary .navbar-nav {
        align-items: stretch;
        gap: 0;
    }
    .twai-menu-logo a {
        padding-left: 8px;
    }
    .twai-menu-tools {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
    }
    .twai-menu-tools .search-form-expandable,
    .twai-menu-tools .search-input-wrapper {
        width: min(100%, 360px);
    }
    .twai-menu-tools .search-input {
        width: 100% !important;
    }
}
/* Style pour les champs non-utilisés par l'IA (Confidentialité) */
.no-ai {
    border-left: 4px solid #ff851b !important;
    background-color: #fffaf5 !important;
    position: relative;
}

.no-ai-container {
    position: relative;
}

.no-ai-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ff851b;
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: none;
}

.no-ai::placeholder {
    color: #cc7016 !important;
    opacity: 0.6;
}

.vr-home-page {
  --vr-accent: #c96c2d;
  --vr-accent-soft: #fbf3ec;
  --vr-border: #ecdacb;
  --vr-text-soft: #6b625a;
  --vr-dark: #241913;
}

.vr-home-page h1,
.vr-home-page h2 {
  letter-spacing: -0.03em;
}

.vr-home-hero {
  padding: 4rem;
  border: 1px solid var(--vr-border);
  border-radius: 40px;
  background: linear-gradient(135deg, #fffaf6 0%, #fcf7f2 100%);
  box-shadow: 0 24px 60px rgba(34, 24, 16, 0.08);
  position: relative;
  overflow: hidden;
}

.vr-home-image-blob {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(201, 108, 45, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.vr-home-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  background: rgba(201, 108, 45, 0.1);
  color: var(--vr-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vr-home-intro {
  max-width: 40rem;
  color: #5a524a;
}

.vr-home-stat {
  padding: 1.25rem;
  border: 1px solid rgba(201, 108, 45, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.vr-home-stat:hover {
  transform: translateY(-5px);
  background: #fff;
}

.vr-home-stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #221a13;
  line-height: 1.2;
}

.vr-home-stat-label {
  color: var(--vr-text-soft);
  font-size: 0.85rem;
  line-height: 1.4;
}

.vr-home-section {
  margin-top: 5rem;
}

.vr-home-card-simple {
  padding-right: 2rem;
}

.vr-home-step {
  margin-bottom: 1rem;
  color: var(--vr-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.vr-home-text-accent p {
  color: #5a524a;
  line-height: 1.7;
}

.vr-home-photo {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

.vr-home-card--media:hover .vr-home-photo {
  transform: scale(1.02);
}

.vr-home-photo--hero {
  max-height: 500px;
  object-fit: cover;
}

.vr-home-photo--grid {
  height: 260px;
  object-fit: cover;
}

.vr-home-photo--contain {
  max-height: 400px;
  object-fit: contain;
}

.vr-home-caption {
  font-size: 0.9rem;
  color: var(--vr-text-soft);
  line-height: 1.5;
}

.vr-home-method-box {
  background: #fdfaf7;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid #f0e6dd;
}

.vr-home-values-dark {
  background: var(--vr-dark);
  border-radius: 40px;
}

.vr-home-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(201, 108, 45, 0.1) 0%, transparent 80%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.vr-home-value-item {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  transition: background 0.3s ease;
}

.vr-home-value-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.x-small {
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .vr-home-hero {
    padding: 2.5rem;
    border-radius: 30px;
  }
  .vr-home-section {
    margin-top: 3.5rem;
  }
  .vr-home-card-simple {
    padding-right: 0;
  }
}

@media (max-width: 575px) {
  .vr-home-hero {
    padding: 1.5rem;
  }
  .vr-home-values-dark {
    padding: 2rem !important;
  }
}
