html, body {
    font-family: sans-serif;
    background-color: #F2D7B6;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
  }

  *, *::before, *::after {
    box-sizing: inherit;
    max-width: 100%;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    
    
  }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: #FAEEE1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  

  .logo {
    height: 50px;
    object-fit: contain;
  }

  /* Regroupe les éléments de droite */
  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  /* Bouton "Louer votre espace" */
  .btn-main {
    background-color: #401201;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
  }

  /* Barre de recherche */
  .search-bar {
    display: flex;
    align-items: center;
    background-color: #fdf6ef; /* beige clair */
    border: 1px solid #8a3a13; /* contour marron */
    border-radius: 16px;
    padding: 10px 10px;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #4d1e0b; /* texte marron foncé */
    outline: none;
    padding-left: 10px;
  }

  .search-bar input::placeholder {
    color: #401201;
    opacity: 1;
  }

  .search-btn {
    color: white;
    border-radius: 12px;
    padding: 10px;
    margin-left: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 8px;
    transition: background-color 0.3s ease;
  }


  .icon-search {
    width: 20px;
    height: 20px;
  }

  /* Icône utilisateur */
  .user-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .user-icon:hover {
    background-color: #f4f4f4;
  }

  .icon-user {
    width: 22px;
    height: 22px;
  }

  /* === NAVIGATION TABS === */
  .menu-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-bottom: 4px;
    background-color: #FAEEE1;

    /* Ombre douce */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  }

  .tab {
    text-align: center;
    text-decoration: none;
    color: #222;
    font-size: 13px;
    position: relative;
    padding-bottom: 4px;
  }

  .tab.active {
    font-weight: 600;
  }

  .tab.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #111;
    width: 100%;
  }

  .icon img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 6px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    nav.menu-tabs {
      display: none;
    }
  
    nav.menu-tabs.active {
      display: flex;
    }
    .btn {
      padding: 8px 16px;
    
  }
  }


  header {
    position: relative;
    background-color: #faeee1;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1001;
  }




  .header-left {
    flex: 1;
  }

  .header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .search-bar {
    display: flex;
    align-items: center;
    background-color: #fdf6ef;
    border: 1px solid #8a3a13;
    border-radius: 16px;
    padding: 6px 10px;
  }

  .search-bar input {
    border: none;
    outline: none;
    background: transparent;
    padding-left: 8px;
    color: #401201;
  }


  .icon-btn,
  .icon-search,
  .icon-user {
    width: 20px;
    height: 20px;
  }

  .user-icon {
    background: none;
    border: none;
    cursor: pointer;
  }

  .burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }

  .burger span {
    width: 24px;
    height: 3px;
    background-color: #401201;
    border-radius: 2px;
  }

  

  /* Apparence des liens */
  nav.menu-tabs a.tab {
    text-decoration: none;
    color: #401201;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  nav.menu-tabs a.tab:hover {
    background-color: #f4e4d1;
    transform: translateX(5px);
  }

  /* Menu actif (ouvert) */
  nav.menu-tabs.active {
    padding: 16px 24px;
    transform: translateY(0);
    opacity: 1;
    max-height: 800px;
    pointer-events: auto;
  }
  

  @media (max-width: 768px) {
    nav.menu-tabs {
      display: flex;
      flex-direction: column;
      gap: 16px;
      background-color: #faeee1;
      padding: 0 24px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      transform: translateY(-20px);
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: 
        transform 0.4s ease, 
        opacity 0.4s ease, 
        max-height 0.5s ease,
        padding 0.3s ease;
      position: absolute;
      margin-top: 5%;
      left: 8px;
      right: 8px;
      z-index: 1000;
    }
  
    /* Apparence des liens */
    nav.menu-tabs a.tab {
      text-decoration: none;
      color: #401201;
      font-weight: 600;
      font-size: 15px;
      padding: 12px 16px;
      border-radius: 10px;
      transition: background-color 0.2s ease, transform 0.2s ease;
      display: flex;
      align-items: center;
      gap: 10px;
    }
  
    nav.menu-tabs a.tab:hover {
      background-color: #f4e4d1;
      transform: translateX(5px);
    }
  
    /* Menu actif (ouvert) */
    nav.menu-tabs.active {
      padding: 16px 24px;
      transform: translateY(0);
      opacity: 1;
      max-height: 800px;
      pointer-events: auto;
    }
  }
  

  .tab {
    text-decoration: none;
    color: #401201;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tab img {
    width: 20px;
    height: 20px;
  }

  @media (min-width: 768px) {
    .burger {
      display: none;
    }

    nav.menu-tabs {
      display: flex !important;
      flex-direction: row;
      justify-content: center;
      gap: 40px;
      background: none;
      padding: 12px 0;
      margin-top: 0;
      background-color: #faeee1;
    }
  }

  .cta-poster-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #401201;
    color: #faeee1;
    border: 1px solid #a87847;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  @media (max-width: 768px) {
    .cta-poster-button{
      display: none;
    }
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 900; /* juste en dessous du menu */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  /* Quand le menu est actif, on rend l’overlay visible */
  body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: all;
  }



  .footer-wave-container {
    position: relative;
    z-index: 2;
    pointer-events: none;
  }

  .footer-wave-container img {
    width: 100%;
    display: block;
  }

  .footer {
    position: relative;
    z-index: 1;
    background-color: #5a3d2f;
    padding-top: 120px; /* espace suffisant pour la vague */
    min-height: 400px; /* garantit que le footer couvre assez */
    margin-bottom: -4px; /* retire tout espace résiduel */
    box-sizing: border-box;
  }

  .footer-wave-top {
    position: absolute;
    bottom: calc(100% - 50px); /* remonte de 50px vers le haut */
    width: 100%;
    height: 120px;
    z-index: 2;
    line-height: 0;
    pointer-events: none;
  }


  .footer-wave-top img {
    display: block;
    width: 100%;
    height: auto;
  }

  .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-logo {
    height: 40px;
  }
  .newsletter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
  }
  .newsletter-form label {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    color: #fceede;
  }
  .newsletter-form input {
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    background-color: #fff;
    color: #333;
    font-size: 14px;
  }
  .newsletter-form button {
    background-color: #3a1a0c;
    color: #fff;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .newsletter-form {
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      gap: 8px;
      width: 100%;
    }

    .newsletter-form label {
      align-self: flex-start;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button[type="submit"] {
      width: 100%;
    }

    .newsletter-form button[type="submit"] {
      text-align: center;
    }
  }
  .footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 30px;
  }
  .footer-columns h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff2e5;
  }
  .footer-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fceede;
  }
  .footer-columns li {
    margin-bottom: 6px;
    font-size: 14px;
  }
  .footer-columns a {
    color: #fceede;
    text-decoration: none;
  }
  .footer-columns a:hover {
    text-decoration: underline;
  }
  .socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
  }
  .socials i {
    font-size: 18px;
    color: #fff;
    transition: opacity 0.3s ease;
  }
  .socials i:hover {
    opacity: 0.7;
  }

  .socials-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .socials-vertical li {
    margin-bottom: 8px;
  }

  .socials-vertical a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #e8d4c1;
    font-size: 14px;
    filter: brightness(0) invert(1);
  }



  .socials-vertical a:hover {
    text-decoration: underline;
  }

  .socials-vertical img {
    width: 18px;
    height: 18px;
  }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    text-align: center;
    font-size: 13px;
    color: #fceede;
  }
  .legal-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .legal-links a {
    color: #e8d4c1;
    text-decoration: none;
    font-size: 13px;
  }
  .legal-links a:hover {
    text-decoration: underline;
  }

  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .popup-overlay.show {
    opacity: 1;
    pointer-events: all;
  }

  .popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .popup-overlay.show .popup-content {
    transform: translateY(0);
    opacity: 1;
  }

  .popup-content h2 {
    color: #6a3a18;
    margin-bottom: 10px;
  }

  .popup-content p {
    color: #333;
    font-size: 15px;
  }

  .popup-content .close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
  }

  .popup-content .close:hover {
    color: #000;
  }


  header {
    position: relative;
    background-color: #faeee1;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1001;
  }