:root {
    --primary-font: 'Montserrat', sans-serif;
    --heading-font: 'Princess Sofia', serif;
    --background-color: #1f1f1f;
    --surface-color: #2d2d2d;
    --text-color: #fafafa;
    --accent-color: #D8B4FE; /* Lilac */
    --cta-color: #F472B6; /* Pink */
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

section {
    padding: 5rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: top 0.3s;
}
.diaporama {
  position: relative;
  max-width: 600px;
  max-height: 400px; /* limite la hauteur */
  margin: 30px auto;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
  height: 400px; /* fixe la hauteur du conteneur */
}

.slides {
  display: block; /* plus besoin de flex */
  height: 100%;
}

.slide {
  width: 100%;
  box-sizing: border-box;
  display: none;
  text-align: center;
  height: 100%;
  overflow: hidden;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;        /* occupe tout le conteneur */
  object-fit: cover;   /* image bien adaptée */
  display: block;
  border-bottom: 1px solid #ccc;
}

.slide p {
  padding: 10px;
  font-size: 1rem;
  color: #333;
}


.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

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

.prev {
  left: 15px;
}

.next {
  right: 15px;
}


.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: var(--accent-color);
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('background.png') no-repeat center center/cover;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--cta-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: #f689c0;
    transform: translateY(-3px);
}

/* Sections General */
#a-propos, #contact {
    background-color: var(--background-color);
}
#a-propos p.about-us-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.1rem;
}

#a-propos p.about-us-text:last-of-type {
    margin-bottom: 3rem;
}

/* Slideshow "A propos" */
.slideshow-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-us-swiper {
    width: 100%;
    height: 100%;
}

.about-us-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us-swiper .swiper-button-next,
.about-us-swiper .swiper-button-prev {
    color: var(--cta-color);
}

.about-us-swiper .swiper-pagination-bullet-active {
    background: var(--cta-color);
}


/* Prestations Section */
#prestations {
    background-color: var(--surface-color);
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.prestation-card {
    background: var(--background-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.prestation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.prestation-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    align-self: flex-start;
}

.prestation-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.prestation-card p {
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1; /* Makes cards equal height */
}

.prestations-note {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent-color);
}


/* Ecoutez-nous Section */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

#ecoutez-nous p {
    text-align: center;
    margin-bottom: 2rem;
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--surface-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-family: var(--heading-font);
    box-shadow: var(--shadow);
}


/* Contact Section */
#contact {
    background-color: var(--surface-color);
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info .phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.contact-info .availability {
    margin-top: 1rem;
    font-style: italic;
}


/* Footer */
footer {
    background-color: var(--background-color);
    color: var(--text-color);
    border-top: 1px solid var(--surface-color);
    padding: 2rem 0;
    text-align: center;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.social-links a:hover img {
    opacity: 1;
}

/* Animations */
.animate-on-load {
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
}
.animate-on-load:nth-child(2) { animation-delay: 0.2s; }
.animate-on-load:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

/* ----------- Jusqu'à 1024px ----------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* ----------- Jusqu'à 768px ----------- */
@media (max-width: 768px) {
  /* Menu burger */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 20px;
    background-color: #000;
    color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
  }

  nav.open {
    display: flex;
	background-color: var(--surface-color) !important; /* #2d2d2d */

  }

  nav ul {
    list-style: none;
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
  }

  nav a:hover {
    color: var(--accent-color);
  }

  .navbar .container {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .navbar nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar nav a {
    font-size: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
    height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }

  .prestations-grid,
  .media-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }

  footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info .phone {
    font-size: 1.2rem;
  }

  .propos-container {
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
  }

  .marvea .photo-etoile,
  .yohann .photo-etoile,
  .photo-etoile {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }

  #contact .container {
    flex-direction: column;
    text-align: center;
  }

  #contact img {
    margin: 0 auto;
    max-height: 200px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* ----------- Jusqu'à 480px ----------- */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
  }

  .prestation-card {
    padding: 1.5rem;
  }

  .about-us-swiper .swiper-slide {
    font-size: 1rem;
  }

  .contact-info .phone {
    font-size: 1rem;
  }
}
