/* ======================= */
/*    VARIABLES & POLICES  */
/* ======================= */

/* Importez les polices dans votre HTML :
   <link rel="stylesheet"
         href="https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@400;600&display=swap">
*/

:root {
  --font-script: 'Great Vibes', cursive; /* Titres */
  --font-body: 'Montserrat', sans-serif; /* Texte courant */
}

/* ======================= */
/*    RÉINITIALISATION     */
/* ======================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ======================= */
/*      STYLES GÉNÉRAUX    */
/* ======================= */

body {
  font-family: var(--font-body);
  color: #333;
  line-height: 1.6;
  background-color: #faf8f3; /* Légèrement crème */
}

/* Titres en police script */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-script);
  color: #c8a26b; /* Doré / Nude */
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Ajustement spécifique pour le logo p */
.logo p {
  font-family: var(--font-script) !important;
}

/* ======================= */
/*    MAIN & EFFET VAGUES  */
/* ======================= */

main {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f8f3ed 0%, #f3ece6 100%);
}

/* 1ère vague */
main::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 200%;
  background: #f7e8d9;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 65%);
  animation: waveAnim 8s ease-in-out infinite alternate;
  z-index: -2;
}

/* 2e vague */
main::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  height: 200%;
  background: #f0e2d2;
  clip-path: polygon(0 35%, 100% 20%, 100% 100%, 0 100%);
  animation: waveAnim2 10s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes waveAnim {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 65%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 60%);
  }
}
@keyframes waveAnim2 {
  0% {
    clip-path: polygon(0 35%, 100% 20%, 100% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 30%, 100% 25%, 100% 100%, 0 100%);
  }
}

/* ======================= */
/*    SECTIONS GÉNÉRALES   */
/* ======================= */

section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======================= */
/*         HEADER          */
/* ======================= */

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background: linear-gradient(
    90deg,
    rgba(246, 232, 215, 0.236) 0%,
    rgba(224, 209, 195, 0.19) 50%,
    rgba(209, 183, 159, 0.31) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header .logo {
  display: flex;
  align-items: center;
  gap: 20px;
}
header .logo img {
  max-width: 100px;
  height: auto;
  transform: scale(1.5);
  transform-origin: center;
}
header .logo p {
  font-family: var(--font-body);
  color: #000;
  margin: 0;
  font-size: 16px;
}

/* NAV DESKTOP */
.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
}
.desktop-nav ul li a {
  font-family: var(--font-body);
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}
.desktop-nav ul li a:hover {
  color: #c8a26b;
}

/* MENU BURGER MOBILE */
.burger {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: none;
}
.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Animation burger -> croix */
.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* OVERLAY (Menu mobile) */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.overlay nav ul {
  list-style: none;
  text-align: center;
}
.overlay nav ul li {
  margin: 20px 0;
}
.overlay nav ul li a {
  font-family: var(--font-body);
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.overlay nav ul li a:hover {
  color: #c8a26b;
}

/* Responsive Header */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (max-width: 320px) {
  header .logo p {
    font-size: 0.8rem;
  }
  header .logo {
    gap: 10px;
  }
  header {
    padding: 0 10px;
  }
}

/* ======================= */
/*   SECTION HERO/CAROUSEL */
/* ======================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

#accueil.hero {
  max-width: none;
}

/* Carrousel */
.carousel-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2.5s ease-in-out, transform 2s ease-in-out;
  z-index: 1;
}
.carousel-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.carousel-item::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.carousel-item.active::after {
  opacity: 1;
}

/* Contenu Hero */
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.074);
  backdrop-filter: blur(3px);
  padding: 20px 30px;
  border-radius: 10px;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
  z-index: 3;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: black !important;
}
.hero-content p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Bouton CTA */
.hero-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease-in-out;
}
.hero-btn:hover {
  background: #a67c4f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content {
    width: 70%;
    padding: 15px 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
  
}
@media (max-width: 768px) {
  .carousel-item {
    background-size: 80%; /* Réduit la taille de l'image */
    background-position: center; /* Centre l'image */
  }
}


/* ======================= */
/*      SECTION SERVICES   */
/* ======================= */

#services {
  margin-top: 20px;
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #fdfaf6 0%, #fff 20%);
  overflow: hidden;
  border-radius: 20px;
}
#services::before {
  content: "";
  position: absolute;
  top: -50px; left: -50px;
  width: 150%; height: 150%;
  background: radial-gradient(circle at center, rgba(200,162,107, 0.15) 0%, transparent 70%);
  z-index: 1;
}
#services .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
#services h2 {
  font-size: 2.8rem;
  color: #333;
}
.service-description {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* Grille de services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Carte service */
.service-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out,
              transform 0.8s ease-in-out,
              box-shadow 0.5s ease-in-out;
}
.service-card.show {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.service-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.service-info {
  padding: 30px;
}
.service-icon {
  font-size: 2rem;
  color: #c8a26b;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 10px;
  font-family: var(--font-script);
}
.service-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive Services */
@media (max-width: 768px) {
  #services h2 {
    font-size: 2rem;
  }
  .service-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  .services-grid {
    gap: 20px;
  }
  .service-info {
    padding: 20px;
  }
}
@media (max-width: 320px) {
  .services-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .service-card {
    width: 90%;
  }
}

/* ======================= */
/*   SECTION MES CRÉATIONS */
/* ======================= */

#creations {
  margin-top: 50px;
  padding: 80px 20px;
  background: linear-gradient(135deg, #fdfaf6 0%, #fff 100%);
  text-align: center;
  border-radius: 20px;
}
#creations h2 {
  font-size: 2.8rem;
  color: #c8a26b;
  margin-bottom: 20px;
}
#creations .creations-description {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Carrousel des créations */
#creations .carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
#creations .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
#creations .carousel-slide {
  min-width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
#creations .carousel-slide:hover img {
  transform: scale(1.05);
}
#creations .carousel-slide img {
  width: 100%;
  height: 60vh;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Overlay texte */
#creations .overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
#creations .overlay h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  font-family: var(--font-body);
}
#creations .carousel-slide:hover .overlay {
  opacity: 1;
}

/* Boutons navigation carrousel */
#creations .prev,
#creations .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 50%;
  z-index: 10;
}
#creations .prev {
  left: 10px;
}
#creations .next {
  right: 10px;
}
#creations .prev:hover,
#creations .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Responsive Créations */
@media (max-width: 768px) {
  #creations h2 {
    font-size: 2rem;
  }
  #creations .creations-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}
.service-carousel-wrapper {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

.carousel-arrow.left {
  left: 5px;
}

.carousel-arrow.right {
  right: 5px;
}

.carousel-arrow:hover {
  background: white;
}

/* ======================= */
/*      SECTION TARIFS     */
/* ======================= */

#tarifs {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  border-radius: 20px;
  margin-top: 20px;
}
#tarifs h2 {
  font-size: 2.5rem;
  color: #c8a26b;
  margin-bottom: 10px;
}
.tarifs-description {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Carte tarifaire */
.tarif-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out,
              box-shadow 0.3s ease-in-out,
              opacity 0.6s ease-out;
}
.tarif-card.show {
  opacity: 1;
  transform: translateY(0);
}
.tarif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #c8a26b;
}
.tarif-card h3 {
  font-family: var(--font-script);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
}
.tarif-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}
.tarif-price {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #c8a26b;
  background: rgba(200, 162, 107, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}

/* Responsive Tarifs */
@media (max-width: 768px) {
  #tarifs h2 {
    font-size: 2rem;
  }
  .tarifs-description {
    font-size: 1rem;
  }
  .tarifs-grid {
    grid-template-columns: 1fr;
  }
  .tarif-card {
    padding: 20px;
  }
}

/* ======================= */
/*      SECTION À PROPOS   */
/* ======================= */

#apropos {
  padding: 80px 20px;
  background: linear-gradient(120deg, #f9eee4 0%, #f3e7da 100%);
  text-align: center;
  border-radius: 20px;
  margin-top: 20px;
}
#apropos h2 {
  font-size: 2.5rem;
  color: #c8a26b;
  margin-bottom: 20px;
}
#apropos h2 span {
  color: #333;
}
.apropos-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.apropos-content.show {
  opacity: 1;
  transform: translateY(0);
}
.apropos-text {
  flex: 1;
  min-width: 300px;
}
.apropos-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}
.apropos-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #c8a26b;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease-in-out;
}
.apropos-btn:hover {
  background: #a67c4f;
}
.apropos-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.apropos-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.apropos-image img:hover {
  transform: scale(1.05);
}

/* Responsive À propos */
@media (max-width: 768px) {
  .apropos-content {
    flex-direction: column;
    text-align: center;
  }
  .apropos-text {
    text-align: center;
  }
  .apropos-image img {
    max-width: 80%;
  }
}

/* ============================= */
/*   SECTION CONTACT STYLES      */
/* ============================= */

.contact-section {
  padding: 80px 30px;
  background: linear-gradient(135deg, #ffffff, #fdfaf6);
  border-radius: 25px;
  margin: 50px auto;
  text-align: center;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.contact-section:hover {
  transform: scale(1.02);
}

.contact-section h2 {
  font-size: 3rem;
  color: #c8a26b;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Coordonnées */
.contact-details {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.contact-details address p,
.contact-details p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}
.contact-details a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.contact-details a:hover {
  color: #c8a26b;
}

/* Photo sous coordonnées */
.contact-photo {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-photo img {
  max-width: 160px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.contact-photo img:hover {
  transform: scale(1.05);
}

/* Google Map */
.map-container {
  flex: 1;
  min-width: 300px;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.map-container:hover {
  transform: scale(1.02);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================== */
/*       RESPONSIVE CONTACT    */
/* =========================== */

/* Tablettes et mobiles moyens */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .contact-details {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
  }
  .map-container {
    height: 350px;
  }
}

/* Mobiles jusqu'à 480px */
@media (max-width: 480px) {
  .contact-section {
    margin: 30px auto;
    padding: 60px 20px;
    transition: none; /* On évite le zoom sur tout l’élément */
  }
  .contact-section:hover {
    transform: none;
  }
  .contact-section h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
  }
  .map-container {
    height: 300px;
  }
}

/* Mobiles très étroits (≤ 320px) */
@media (max-width: 320px) {
  .contact-wrapper {
    gap: 20px;
  }
  .contact-details,
  .map-container {
    flex: 0 1 100%; /* Force chaque bloc à 100% de la largeur */
    min-width: auto; /* Supprime le min-width de 300px */
  }
  .contact-details {
    padding: 20px;
  }
  .contact-details p {
    font-size: 1rem;
  }
  .contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .map-container {
    height: 250px; /* Ajuste la hauteur pour éviter le débordement */
  }
}

/* ======================= */
/*         FOOTER          */
/* ======================= */

footer {
  background-color: #f7f7f7;
  color: #333;
  padding: 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand img {
  max-width: 100px;
  height: auto;
  transform: scale(1.8);
  transform-origin: center;
}
.footer-brand p {
  font-family: var(--font-script) !important;
  color: #000;
  margin: 0;
  font-size: 16px;
}

/* Titres de section footer */
.footer-container h3 {
  font-family: var(--font-script);
  margin-bottom: 10px;
  color: #c8a26b;
}

/* À propos footer */
.footer-about p {
  font-family: var(--font-body);
  line-height: 1.4;
}

/* Contact footer */
.footer-contact address {
  font-style: normal;
  margin-bottom: 10px;
}

/* Liens rapides */
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 5px;
}
.footer-links ul li a {
  font-family: var(--font-body);
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: #c8a26b;
}

/* Réseaux sociaux */
.footer-social .socials a {
  margin-right: 10px;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.footer-social .socials a:hover {
  color: #c8a26b;
}

/* Bas de page */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ======================= */
/*   BOUTON BACK TO TOP    */
/* ======================= */

.back-to-top {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background-color: #c8a26b;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 9999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: #a67c4f;
}

/* ======================= */
/*        LOADER           */
/* ======================= */

#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: #000000ca;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}
#logo-container {
  position: relative;
  width: 320px; height: 320px;
}
#logo-container img {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0;
}

/* Animations loader */
#logo-part1 {
  transform: translate(-50px, -50px) rotate(-45deg);
  animation: assemblePart1 1s ease-out forwards 0.1s;
}
@keyframes assemblePart1 {
  0% {
    opacity: 0;
    transform: translate(-50px, -50px) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}
#logo-part2 {
  transform: translate(50px, -50px) rotate(45deg);
  animation: assemblePart2 1s ease-out forwards 0.2s;
}
@keyframes assemblePart2 {
  0% {
    opacity: 0;
    transform: translate(50px, -50px) rotate(45deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}
#logo-part3 {
  transform: translate(-50px, 50px) rotate(45deg);
  animation: assemblePart3 1s ease-out forwards 0.3s;
}
@keyframes assemblePart3 {
  0% {
    opacity: 0;
    transform: translate(-50px, 50px) rotate(45deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}
#logo-part4 {
  transform: translate(50px, 50px) rotate(-45deg);
  animation: assemblePart4 1s ease-out forwards 0.4s;
}
@keyframes assemblePart4 {
  0% {
    opacity: 0;
    transform: translate(50px, 50px) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

/* Disparition du loader */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease-out, visibility 0.9s ease-out;
}
