/* Import d’une police sobre si souhaité */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');

@media (min-width: 1024px) {
  main p {
    text-align: justify;
  }
}



.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.animate {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  /*font-family: 'EB Garamond', serif;*/
  font-family: 'Inter', sans-serif;
  background-color: #374C47;
  color: black;
  line-height: 1.6;
}

main {
    background-color: #F2E8D7;
}

::selection {
    background-color: #9C4128; /* Couleur de fond */
    color: #F2E8D7; /* Couleur du texte */
}

h2, h3, h4 {
  color: #9C4128;
  font-family: 'Playfair Display', serif;
}


.logo-container {
  display: flex;
  gap: 1rem;
}

.logo {
  height: 40px;
  width: auto;
}
@media (max-width: 480px) {
  .logo {
    height: 30px;
  }
}

a {
  color: #9C4128;
}



    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #374C47;
      color: #F2E8D7;
      z-index: 1000;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }

    @media (max-width: 768px) {
    .navbar {
      padding-left: 1.5rem;
    }}

    .navbar.hidden {
      transform: translateY(-100%);
    }

    .title{
      text-decoration: none;
    }
    .title h1 {
      color: #F2E8D7;
      padding-left: 1.5rem;
      font-size: 1.8rem;
      font-family: 'Playfair Display', serif;
    }
    
    @media (max-width: 768px) {
      .title h1 {
          padding: 0;
          font-size: 1.6rem;
      }
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
      padding: 1rem 1.5rem;
    }

    .nav-links a {
      color: #F2E8D7;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
      font-family: 'Inter', sans-serif;
      font-weight: bold;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 64px;
      cursor: pointer;
      z-index: 1100;
      margin-right: 25px;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: #F2E8D7;
      transition: all 0.3s ease;
    }

    @media (max-width: 768px) {
      .nav-links {
        position: absolute;
        top: 100%;
        left: 0px;
        background-color: #374C47;
        flex-direction: column;
        width: 100%;
        display: none;
        padding: 1rem;
        padding-left: 1.5rem;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }
    }










.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero h2 {
  color: #F2E8D7;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  color: #F2E8D7;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: #324742;
  color: #F3EAD9;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #9C4128;
}


.lueurs-romanesques {
    background-color: #BC3A41;
}

.lueurs-poetiques {
  background-color: #7F8D7B;
}



section {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
}
section h3 {
  font-size: 1.8rem;
}
section h4 {
  font-size: 1.3rem;
}
.film {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  background-color: #EFD9B6;
}
.film-info {
    margin-bottom: 2rem;
    padding-right: 1rem;
}
.no-img {
  padding-left: 1rem
}
@media (max-width: 768px) {
.film-info {
  padding: 1rem;
  margin-bottom: 0;
}
.no-img {
  padding-left: 0rem
}
}
.film img {
  width: 175px;
  height: auto;
  object-fit: cover;
}




footer {
  /*text-align: center;*/
}

footer h4 {
  color: #BFB7AA;
}
.site-footer {
  background-color: #192220;
  color: #9B958A;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1200px; margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-title {
  color: #BFB7AA;
  margin-bottom: 10px;
}

.footer-subtitle {
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a,
.social-links a {
  color: #9B958A;
  text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
  text-decoration: underline;
}

.social-links a {
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #aaa;
}



/* Responsive */
@media (max-width: 768px) {
  .logo {
    display: none;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    margin-top: 0.5rem;
  }

  nav ul li {
    margin-bottom: 0.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .film {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .film img {
    width: 80%;
    max-width: 300px;
    margin-top: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
    margin-top: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 1rem;
  }
}




        .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55); /* noir semi-transparent */
  z-index: 0.5; /* entre la grille (z=0) et le contenu (z=1) */
  pointer-events: none;
}


/* Triangle */

    .container {
      width: 100%;
      position: relative;
      background-color: #9C4128;
      overflow: hidden;
      padding: 40px;
      box-sizing: border-box;
    }


    .triangle-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .content {
      max-width: 800px;
      margin: auto;
      position: relative;
      z-index: 1;
    }

    polygon {
      vector-effect: non-scaling-stroke;
      stroke-linejoin: round;
      opacity: 0;
    }

    .triangle.animate {
      animation: fadeIn 0.8s ease forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }



.bold {
  font-weight: bold;
}
.italic {
  font-style: italic;
}
.highlight {
  font-weight: bold;
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
}

.cadre {
          padding: 1rem;
          background-color: #9C4128;
          color: #F2E8D7;
          margin-top: 2rem;
          margin-bottom: 2rem;
        }


