/* Import des polices */
@font-face {
  font-family: "Adelle Sans ARA";
  src: url("./AdelleSansARA-Extrabold.woff2") format("woff2"),
    url("./AdelleSansARA-Extrabold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Adelle Sans ARA";
  src: url("./AdelleSansARA-Bold.woff2") format("woff2"),
    url("./AdelleSansARA-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Adelle Sans ARA";
  src: url("./AdelleSansARA-Semibold.woff2") format("woff2"),
    url("./AdelleSansARA-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Adelle Sans ARA";
  src: url("./AdelleSansARA-Regular.woff2") format("woff2"),
    url("./AdelleSansARA-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

/* Global & Reset */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Adelle Sans ARA", Arial, sans-serif;
  font-weight: 400;
  color: #1d2020;
  line-height: 1.6;
}

/* Typographie personnalisée */
h1 {
  font-family: "Adelle Sans ARA", Arial, sans-serif;
  font-weight: 800;
  color: #08415c;
}

h2 {
  font-family: "Adelle Sans ARA", Arial, sans-serif;
  font-weight: 700;
  color: #08415c;
}

h3 {
  font-family: "Adelle Sans ARA", Arial, sans-serif;
  font-weight: 600;
}

p {
  font-family: "Adelle Sans ARA", Arial, sans-serif;
  font-weight: 400;
  color: #1d2020;
}

/* Header */
.header {
  background: #08415c;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-contenair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.header-contenair-left-nav,
.header-contenair-right-nav {
  display: flex;
  gap: 1rem;
}

.header-contenair-left-nav a,
.header-contenair-right-nav a {
  text-decoration: none;
  color: #fdfffc;
  font-weight: bold;
  transition: color 0.3s;
  margin-right: 50px;
  font-size: 1.3rem;
}

.header-contenair-left-nav a:hover,
.header-contenair-right-nav a:hover {
  color: #8f0000;
}

.header-contenair-center-logo {
  height: 90px;
  width: auto;
  margin-right: 2.4rem;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fdfffc;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: #08415c;
}

.mobile-menu a {
  color: #fdfffc;
  text-decoration: none;
  font-size: 1.2rem;
  text-align: center;
  font-weight: bold;
}
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presentation-text {
  position: absolute;

  top: 117%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 90%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.presentation-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #f7b801;
}

.presentation-text p {
  color: #fdfffc;
  font-size: 1.5rem;
}

/* Section des images */
.image-section {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: #08415c;
}

.image-section-title {
  text-align: center; /* Centrer le titre */
}

.image-section-title h1 {
  color: #fdfffc;
}

.image-section-content {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.image-gallery {
  position: relative;
  width: 70%;
  height: 400px;
}

.photo {
  position: absolute;
  border: 5px solid #fdfffc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.photo1 {
  width: 150px;
  top: 20px;
  left: 270px;
  transform: rotate(-5deg);
}

.photo2 {
  width: 200px;
  top: 100px;
  left: 400px;
  transform: rotate(10deg);
}

.photo3 {
  width: 180px;
  top: 60px;
  left: 600px;
  transform: rotate(-8deg);
}

.photo4 {
  width: 170px;
  top: 120px;
  left: 750px;
  transform: rotate(5deg);
}

.photo5 {
  width: 160px;
  top: 30px;
  left: 900px;
  transform: rotate(-6deg);
}

.photo6 {
  width: 190px;
  top: 90px;
  left: 1050px;
  transform: rotate(6deg);
}
.photo7 {
  width: 180px;
  top: 60px;
  left: 1230px;
  transform: rotate(-9deg);
}

.gallery-button {
  width: 25%;
  right: 400px;
}

.gallery-button .btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #f7b801;
  color: #fdfffc;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.gallery-button .btn:hover {
  background-color: #8f0000;
}

/* Carrousel */
.main-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  flex-wrap: wrap;
  gap: 2rem;
  background-color: #08415c;
}

.swiper {
  width: 100%;
  max-height: 400px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fdfffc;
  position: relative;
  padding: 10px; /* Marge blanche autour de l’image */
  box-sizing: border-box; /* Pour que padding n’ajoute pas à la taille totale */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit sans déformer */
  border-radius: 8px; /* Si tu veux suivre la courbure du swiper */
}

.main-carousel-right .btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #f7b801;
  color: #fdfffc;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.main-carousel-right .btn:hover {
  background-color: #8f0000;
}

/* Contact */
#contact {
  background: #fdfffc;
  padding: 3rem 1rem;
  text-align: center;
}

#contact h2 {
  font-size: 1.8rem;
  color: #08415c;
  margin-bottom: 1rem;
}

#contact label {
  display: block;
  font-weight: bold;
  margin-top: 1rem;
}

#contact p {
  margin: 0.5rem 0;
  text-align: center;
}

form {
  border: 1px solid rgb(204, 204, 204);
  border-radius: 5px;
  box-shadow: 10px 5px 5px rgb(204, 204, 204);
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  padding: 0.75rem;
  background-color: #08415c;
  color: #fdfffc;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #70a9a1;
}

/* Footer */
footer {
  background: #1d2020;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: #fdfffc;
}
.footer-content a {
  color: #fdfffc;
}

/* tarifs */

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.tarifs {
  padding: 2rem;
  background: #d3dee1;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tarif-card {
  background: #fdfffc;
  border: 1px solid #ccc;
  padding: 3rem;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.tarif-card-info {
  left: 5rem;
}

.tarif-card:hover {
  transform: translateY(-5px);
}

.tarif-card h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.tarif-card ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

.tarif-card p {
  margin-top: 1rem;
  font-style: italic;
}

.tarif-card .info {
  color: #d00000;
  font-weight: bold;
}

.frais-up {
  margin-bottom: 50px;
}

/* devis */
.devis {
  background-color: #fdfffc;
  border: 1px solid #ccc;
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.devis:hover {
  transform: translateY(-5px);
}

.devis .section-title {
  font-size: 2.2rem;
  color: #08415c;
  margin-bottom: 1rem;
}

.devis p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.devis a {
  display: inline-block;
  text-decoration: none;
  color: #fdfffc;
  background-color: #f7b801;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.devis a:hover {
  background-color: #8f0000;
}

/* Barre de catégories */
.categories-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
  background: #f7b801;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  font-weight: bold;
  font-size: 1.2rem;
}

.category-button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
  color: #fdfffc;
  transition: color 0.3s;
  font-size: 1.2rem;
}

.category-button::after {
  content: "";
  display: block;
  margin: auto;
  height: 3px;
  width: 0%;
  background: #8f0000;
  transition: width 0.3s ease;
}

.category-button:hover,
.category-button.active {
  color: #8f0000;
}

.category-button:hover::after,
.category-button.active::after {
  width: 100%;
}

/* Galerie */
.category-content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 10%;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.category-content.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  min-height: 750px;
}

.produits-description {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0;
  font-weight: bold;
}

/* Carte type Polaroïd agrandie */
.carte-produit {
  background: #fdfffc;
  border: 1px solid #ccc;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
  width: 250px;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem;
  position: relative;
  transition: transform 0.3s ease;
  margin-right: 2%;
  margin-bottom: 1.5rem;
}

.carte-produit:hover {
  transform: translateY(-5px);
}

/* Swiper (slider images) agrandi */
.swiper-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.infos-tableau {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: auto;
  text-align: left;
  font-size: 0.9rem;
}

/* Chaque info-item est une ligne alignée à gauche */
.info-item {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.info-item strong {
  white-space: nowrap;
  margin-right: 0.3rem;
}

/* Texte des infos produit */
.infos-produit {
  font-family: "Courier New", Courier, monospace;
  color: #555;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

.infos-produit h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin: 0.5rem 0;
  min-height: 2rem; /* Réserve l'espace pour les titres */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Flèches de navigation */
.swiper1-button-next,
.swiper1-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 28px;
  height: 28px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.swiper1-button-next:hover,
.swiper1-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.swiper1-button-next::after,
.swiper1-button-prev::after {
  content: "";
}

.swiper1-button-next::before {
  content: "›";
}

.swiper1-button-prev::before {
  content: "‹";
}

.swiper1-button-next {
  right: 5px;
}

.swiper1-button-prev {
  left: 5px;
}

/* Ajustement pour aligner les informations produits et l'image */
.carte-produit .produits-description {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.infos-produit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem; /* Un peu d'espace entre les infos */
  flex-grow: 1; /* Pour que la description et les infos prennent tout l'espace vertical disponible */
}

.produits-description,
.infos-produit {
  text-align: center;
  flex: 1;
}

/* Section Conditions */
.cond {
  padding: 2rem;
  background-color: #d3dee1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cond-section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
}

.cond-section-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cond-card {
  background-color: #fdfffc;
  border: 1px solid #ccc;
  border-radius: 0;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cond-card:hover {
  transform: translateY(-5px);
}

.cond-card-title h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

.cond-card-info ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.cond-card-info li {
  margin-bottom: 0.75rem;
}

.cond-card-info p {
  font-size: 1rem;
  text-align: justify;
}

/* Responsive */
@media screen and (max-width: 1700px) {
  .presentation-text {
    top: 110%;
    padding: 1.5rem;
    font-size: 1rem;
  }

  .presentation-text h1 {
    font-size: 2rem;
  }

  .presentation-text p {
    font-size: 1.2rem;
  }

  .photo {
    position: absolute;
    border: 5px solid #fdfffc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
  }

  .photo1 {
    width: 150px;
    top: 20px;
    left: 70px;
    transform: rotate(-5deg);
  }

  .photo2 {
    width: 200px;
    top: 100px;
    left: 200px;
    transform: rotate(10deg);
  }

  .photo3 {
    width: 180px;
    top: 60px;
    left: 400px;
    transform: rotate(-8deg);
  }

  .photo4 {
    width: 170px;
    top: 120px;
    left: 550px;
    transform: rotate(5deg);
  }

  .photo5 {
    width: 160px;
    top: 30px;
    left: 700px;
    transform: rotate(-6deg);
  }

  .photo6 {
    width: 190px;
    top: 90px;
    left: 850px;
    transform: rotate(6deg);
  }
  .photo7 {
    width: 180px;
    top: 60px;
    left: 1030px;
    transform: rotate(-9deg);
  }

  .carte-produit {
    width: 25%;
    margin: 1rem auto;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
  }

  .swiper-slide img {
    height: 300px;
  }
}

@media screen and (max-width: 1200px) {
  .header-contenair {
    flex-direction: row;
    align-items: center;
  }

  .header-contenair-left-nav,
  .header-contenair-right-nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .image-section {
    flex-direction: column;
    padding: 1rem;
  }

  .image-gallery {
    width: 30%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .photo {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0.5rem;
    width: 45% !important;
  }

  .gallery-button {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .header-contenair-left-nav a,
  .header-contenair-right-nav a {
    margin-right: 0;
    text-align: center;
  }
  .image-gallery {
    width: 100%;
    height: auto;
  }

  .photo {
    position: relative;
    display: block;
    margin: 1rem auto;
    transform: none !important;
    left: auto !important;
    top: auto !important;
  }

  .gallery-button {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 992px) {
  .header {
    padding: 1rem;
  }

  .header-contenair {
    flex-direction: row;
    align-items: center;
  }

  .header-contenair-left,
  .header-contenair-right {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-top: 1rem;
  }

  .mobile-menu.show {
    display: flex;
    margin-right: auto;
    margin-left: auto;
  }

  .header-contenair-center-logo {
    margin-top: 1rem;
    height: 50px;
    
  }

  .presentation-text {
    position: static;
    transform: none;
    margin: 2rem auto;
    width: 90%;
  }

  .swiper-slide img {
    height: 350px;
  }

  .carte-produit {
    width: 45%;
    margin: 2.5% auto;
  }

  .category-content {
    margin: 0 5%;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .header-contenair {
    flex-direction: row;
    align-items: center;
  }

  .header-contenair-left-nav a,
  .header-contenair-right-nav a {
    margin-right: 0;
  }
  .main-carousel {
    flex-direction: column;
  }

  .header-contenair-left-nav,
  .header-contenair-right-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-contenair-center-logo {
    margin: 1rem 0;
  }

  .image-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .image-gallery {
    height: auto;
  }

  .swiper {
    max-width: 100%;
    width: 90vw;
  }

  form {
    padding: 1rem;
    width: 90%;
  }

  .carte-produit {
    width: 80%;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .presentation-text h1 {
    font-size: 1.8rem;
  }

  .presentation-text p {
    font-size: 1rem;
  }

  .gallery-button .btn,
  .main-carousel-right .btn,
  .devis a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .carte-produit {
    height: auto;
  }

  .category-content {
    justify-content: center;
  }
}
