@charset "UTF-8";
/* CSS Document */
* {
  -webkit-tap-highlight-color: transparent; }

@font-face {
  font-family: 'Mohave';
  src: url("fonts/Mohave-Bold.woff2") format("woff2"), url("fonts/Mohave-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Poppins';
  src: url("fonts/Poppins-SemiBold.woff2") format("woff2"), url("fonts/Poppins-SemiBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Poppins';
  src: url("fonts/Poppins-SemiBoldItalic.woff2") format("woff2"), url("fonts/Poppins-SemiBoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap; }
@font-face {
  font-family: 'Poppins';
  src: url("fonts/Poppins-Italic.woff2") format("woff2"), url("fonts/Poppins-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap; }
@font-face {
  font-family: 'Poppins';
  src: url("fonts/Poppins-Regular.woff2") format("woff2"), url("fonts/Poppins-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; }
/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

:root {
  font-size: 16px;
  --plyr-color-main: #ec6359; }

body {
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  background: white;
  color: #333;
  line-height: 1.6; }

h1, h2, h3, h4 {
  font-family: "Mohave", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-weight: bold;
  line-height: 1.2;
  text-transform: uppercase; }

.with-separateur:after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: #384F9E;
  margin: 2rem auto; }

.left.with-separateur:after {
  margin: 1rem auto 1rem 0; }

/* Header avec logo */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 30px 35px;
  z-index: 100; }
  header .logo {
    cursor: pointer; }

.logo {
  background-image: url(img/logo-nous-la-ville-couleur-transparent.svg);
  width: 185px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat; }

/* Carte pleine largeur */
.map-section {
  height: 100vh;
  position: relative; }

.map-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: self-start; }

.map-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; }

.zoom-btn {
  width: 40px;
  height: 40px;
  background: #ec6359;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  color: #FFF;
  transition: all 0.3s ease; }

.zoom-btn:hover {
  background: #FFF;
  transform: scale(1.05);
  color: #ec6359; }

.zoom-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed; }

#map {
  position: relative;
  width: 100vw;
  max-width: 2160px;
  min-width: 1920px;
  aspect-ratio: 16/9;
  /* Maintient les proportions */
  background-image: url("img/fond-carte.webp");
  position: relative;
  transition: transform 0.5s ease;
  transform-origin: center center;
  cursor: grab;
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden; }

#map:active {
  cursor: grabbing; }

#map.zoomed {
  transform: scale(1.5);
  cursor: grab; }

#map.zoomed:active {
  cursor: grabbing; }

/* Points de la carte - TAILLE VRAIMENT FIXE AU ZOOM */
.map-points-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; }

.map-point {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  pointer-events: all;
  /* Taille fixe calculée pour annuler l'effet du zoom */
  transform-origin: center center;
  transition: transform 0.5s ease;
  opacity: 0; }

/* Compensation exacte du zoom */
#map.zoomed .map-point {
  transform: scale(0.6666);
  /* 1/1.5 pour annuler parfaitement le zoom */ }

.map-point-dot {
  width: 12px;
  height: 12px;
  background: #ec6359;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease; }

.map-point:hover .map-point-label {
  background: white;
  color: #ec6359; }

/* Couche SVG par-dessus pour le trait */
svg.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100px;
  pointer-events: none;
  z-index: 2;
  overflow: visible; }

.map-point-line {
  position: absolute;
  top: 6px;
  background: #ec6359;
  height: 2px;
  transition: all 0.3s ease; }

.map-point-line.diagonal {
  width: 30px;
  transform-origin: left center; }

.map-point-line.horizontal {
  width: 10px;
  top: 50%; }

/* Cartouche du film */
.map-point-label {
  position: absolute;
  background: #ec6359;
  padding: 0.5rem 1rem;
  font-size: 1.125rem;
  line-height: 1.125rem;
  font-weight: bold;
  font-family: "Mohave", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  text-transform: uppercase;
  color: #FFF;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 20; }

/* Positionnement des cartouches */
.map-point.top-right .map-point-label {
  left: 40px;
  top: -40px; }

.map-point.top-left .map-point-label {
  right: 40px;
  top: -40px; }

.map-point.bottom-right .map-point-label {
  left: 40px;
  top: 20px; }

.map-point.bottom-left .map-point-label {
  right: 40px;
  top: 20px; }

/* Section liste */
.films-section {
  padding: 4rem 2rem;
  background: white; }
  .films-section .section-title::after {
    content: "";
    display: block;
    width: 400px;
    border-top: 2px solid #ec6359;
    transform: rotate(-4deg);
    margin: 21px auto 49px auto; }

.films-container {
  max-width: 1200px;
  margin: 0 auto; }

.section-title {
  font-size: 2.188rem;
  color: #ec6359;
  margin-bottom: 2.5rem;
  text-align: center; }

.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 6rem; }

.film-card {
  cursor: pointer; }

.film-card:hover .film-director {
  color: #ec6359; }

.film-title {
  font-size: 1.413rem;
  font-weight: 700;
  color: #ec6359;
  margin-bottom: 0;
  transition: all 0.3s ease; }

.film-director {
  color: #384F9E;
  transition: all 0.3s ease;
  font-weight: bold; }

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(236, 99, 89, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.6s ease; }

.modal-overlay.show {
  display: flex; }

.fade-out {
  animation: fadeOut 0.6s ease forwards; }

@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
@keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }
.modal-content {
  background: white;
  padding: 3.125rem;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.6s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0; }
  to {
    transform: translateY(0);
    opacity: 1; } }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease; }

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 4px;
  background-color: #ec6359;
  border-radius: 2px;
  /* Bords arrondis */
  transform: translate(-50%, -50%) rotate(45deg); }

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg); }

.modal-close:hover {
  transform: rotate(90deg); }

/* Modal d'accueil */
.welcome-modal .modal-content {
  text-align: center;
  max-width: 714px;
  padding: 3.125rem 6rem; }
.welcome-modal .logo {
  text-align: center;
  margin: auto;
  margin-bottom: 2.5rem;
  width: 240px;
  height: 105px; }
.welcome-modal h1.modal-title {
  font-size: 2rem; }

h1.modal-title {
  font-size: 2.5rem;
  color: #ec6359;
  margin-bottom: 1rem; }

.welcome-text {
  font-size: 1.125rem;
  color: #384F9E;
  font-weight: bold;
  margin-bottom: 2.5rem;
  line-height: 1.5; }

.welcome-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap; }

.welcome-btn {
  padding: 0.2rem 0.7rem;
  border: none;
  font-size: 1.313rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Mohave", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  text-transform: uppercase; }

.welcome-btn.primary {
  background: #ec6359;
  color: white; }

.welcome-btn.primary:hover {
  background: #ec6359; }

.welcome-btn.secondary {
  background: #FFF;
  color: #ec6359;
  border: 2px solid #ec6359; }

.welcome-btn.secondary:hover {
  background: #ec6359;
  border-color: #ec6359;
  color: #FFF; }

/* Modal film */
.film-modal .modal-title {
  font-size: 2.813rem;
  color: #ec6359;
  font-weight: 700; }

.film-modal .film-director, .film-modal .film-meta {
  font-size: 1.063rem;
  color: #384F9E;
  font-weight: bold; }

.film-modal .film-summary {
  font-size: 1.063rem;
  color: #384F9E;
  margin-bottom: 0rem; }

.video-container {
  background: #000;
  overflow: hidden;
  margin-top: 2.5rem; }

.video-player {
  width: 100%;
  height: auto;
  border: none;
  display: block; }

/* Modal TEXT */
.text-modal .modal-content {
  max-width: 700px; }

.text-modal .modal-title {
  font-size: 2.813rem;
  color: #ec6359;
  margin-bottom: 1.5rem;
  text-align: left; }

.text-modal .modal-content .modal-content-int {
  font-size: 1.063rem;
  line-height: 1.6;
  color: #384F9E; }
  .text-modal .modal-content .modal-content-int p {
    margin-bottom: 1rem; }
  .text-modal .modal-content .modal-content-int a {
    text-decoration: none;
    color: #ec6359;
    transition: all 0.3s ease; }
    .text-modal .modal-content .modal-content-int a:hover {
      color: #000; }
  .text-modal .modal-content .modal-content-int h2 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 7px;
    color: #ec6359; }
  .text-modal .modal-content .modal-content-int h3 {
    margin-top: 14px;
    margin-bottom: 7px; }
  .text-modal .modal-content .modal-content-int ul li {
    margin-left: 15px; }
  .text-modal .modal-content .modal-content-int img:not(.width-manual) {
    width: 100%;
    height: auto; }
  .text-modal .modal-content .modal-content-int .galerie-photo {
    line-height: 0;
    margin-top: 21px; }
    .text-modal .modal-content .modal-content-int .galerie-photo img {
      margin-bottom: 21px; }
      .text-modal .modal-content .modal-content-int .galerie-photo img:last-of-type {
        margin-bottom: 0; }
  .text-modal .modal-content .modal-content-int .video-container-alt {
    margin-top: 35px;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; }
  .text-modal .modal-content .modal-content-int .video-container-alt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; }
  .text-modal .modal-content .modal-content-int .internal-link {
    margin-top: 14px;
    font-size: 18px;
    color: #ec6359;
    font-weight: bold; }

.vimeo-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; }

.vimeo-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem; }

  .logo {
    height: 70px; }

  .map-controls {
    top: 70px;
    right: 1rem; }

  .films-section {
    padding: 2rem 1rem; }

  .section-title {
    font-size: 2rem; }

  .films-grid {
    grid-template-columns: 1fr;
    gap: 1rem; }

  .modal-content {
    padding: 1.5rem;
    width: 95%; }

  .welcome-buttons {
    flex-direction: column;
    align-items: center; }

  .video-player {
    height: 250px; }

  /* Ajustement pour mobile */
  #map.zoomed .map-point {
    transform: scale(0.5); } }
/* Animation d'entrée */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0); } }
/* Délais d'animation pour les éléments */
.film-card:nth-child(1) {
  animation-delay: 0.1s; }

.film-card:nth-child(2) {
  animation-delay: 0.2s; }

.film-card:nth-child(3) {
  animation-delay: 0.3s; }

.film-card:nth-child(4) {
  animation-delay: 0.4s; }

.film-card:nth-child(5) {
  animation-delay: 0.5s; }

.film-card:nth-child(6) {
  animation-delay: 0.6s; }

/* Smooth scroll */
html {
  scroll-behavior: smooth; }

/* Animation pour les points de la carte */
.map-point-animate {
  animation: mapPointFadeIn 0.5s ease forwards; }

@keyframes mapPointFadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
footer {
  text-align: center;
  padding: 1.5rem;
  margin-top: 49px; }
  footer .logo {
    margin: 0 auto 1rem auto; }
  footer h4 {
    color: #ec6359;
    font-size: 1.313rem; }

button {
  background-color: transparent;
  border: none;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  cursor: pointer; }

.menu-footer {
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 35px; }
  .menu-footer ul {
    display: flex;
    gap: 10px;
    /* espace entre les items */
    list-style: none;
    padding: 0;
    margin: 0; }
    .menu-footer ul li {
      display: block; }
    .menu-footer ul li + li::before {
      content: "|";
      margin-right: 10px;
      color: #384F9E; }
  .menu-footer button {
    text-decoration: none;
    color: #384F9E;
    font-size: 14px; }

/*--------MENU------------*/
.menu-responsive-container {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000; }

.menu-normal-container {
  display: none; }

#mobile-menu ul.mobile-nav {
  margin: 0;
  list-style-type: none; }
  #mobile-menu ul.mobile-nav li {
    margin: 0;
    float: none;
    margin-bottom: 14px; }
  #mobile-menu ul.mobile-nav li.menu-item button, #mobile-menu ul.mobile-nav li.menu-item a {
    font-size: 28px !important;
    height: 50px;
    line-height: 50px;
    padding: 0;
    text-transform: uppercase;
    font-family: "Mohave", "Helvetica Neue", Helvetica, Arial, "sans-serif";
    color: #FFF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
    display: inline-block; }
    #mobile-menu ul.mobile-nav li.menu-item button:after, #mobile-menu ul.mobile-nav li.menu-item a:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 4px;
      background-color: #FFF;
      transition: width 0.3s ease; }
    #mobile-menu ul.mobile-nav li.menu-item button:hover:after, #mobile-menu ul.mobile-nav li.menu-item a:hover:after {
      width: 100%; }
#mobile-menu .btn-menu {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 55px;
  height: 55px;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s linear;
  z-index: 1400; }
  #mobile-menu .btn-menu:hover {
    /*opacity: 0.8;*/ }
  #mobile-menu .btn-menu span {
    display: block;
    float: left;
    clear: both;
    height: 3px;
    width: 25px;
    background-color: #ec6359;
    position: absolute;
    right: 15px;
    top: 20px;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.45s cubic-bezier(0.05, 0.2, 0.1, 1); }
    #mobile-menu .btn-menu span:nth-child(1) {
      margin-top: 0px;
      z-index: 9; }
    #mobile-menu .btn-menu span:nth-child(2) {
      margin-top: 8px;
      transition: all 0.65s cubic-bezier(0.05, 0.2, 0.1, 1); }
    #mobile-menu .btn-menu span:nth-child(3) {
      margin-top: 16px; }
#mobile-menu .menu-container-wrapper-wrapper {
  overflow: hidden; }
#mobile-menu .menu-container-wrapper {
  overflow: hidden;
  height: 100vh;
  width: 40vw;
  transition: all 0.6s cubic-bezier(0.05, 0.2, 0.1, 1);
  position: relative;
  z-index: -10;
  margin-right: -40vw; }
#mobile-menu .menu-container-mobile {
  text-align: center;
  transition: all 0.65s cubic-bezier(0.05, 0.2, 0.1, 1);
  height: 100%;
  width: 100%;
  transform: translateX(50px);
  position: absolute;
  background-color: #ec6359;
  z-index: 18;
  overflow: hidden;
  opacity: 1; }
  #mobile-menu .menu-container-mobile .nav-container {
    width: 100%;
    padding: 0 10%;
    margin-top: 140px; }
  #mobile-menu .menu-container-mobile ul.top-nav li {
    display: block;
    height: auto;
    transition: all 0.45s cubic-bezier(0.05, 0.2, 0.1, 1); }
#mobile-menu .menu-responsive-container.oppenned {
  overflow: visible; }
  #mobile-menu .menu-responsive-container.oppenned span.cls {
    cursor: pointer; }
  #mobile-menu .menu-responsive-container.oppenned .menu-container-wrapper {
    z-index: 1399;
    visibility: visible;
    height: 100vh;
    width: 500px;
    margin-right: 0; }
  #mobile-menu .menu-responsive-container.oppenned .menu-container-mobile {
    opacity: 1;
    z-index: 20;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.05, 0.2, 0.1, 1);
    background-color: #ec6359; }
  #mobile-menu .menu-responsive-container.oppenned span:nth-child(1), #mobile-menu .menu-responsive-container.oppenned span:nth-child(3) {
    z-index: 100;
    transform: rotate(45deg);
    background-color: #FFF; }
  #mobile-menu .menu-responsive-container.oppenned span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px); }
  #mobile-menu .menu-responsive-container.oppenned span:nth-child(2) {
    display: none; }
  #mobile-menu .menu-responsive-container.oppenned span:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px) translateX(6px); }
