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

body {
  font-family: 'Henyka', Arial, sans-serif;
  background: linear-gradient(to bottom, #fff4e6, #fff1e6); /* beige doux */
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 18px;
}


body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('background.jpg') no-repeat center/cover;
  opacity: 0.12;
  z-index: -1;
}

header {
  background: #fff; /* blanc */
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #fcbfbf; /* corail-clair */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 180px;
  width: auto;
  transition: transform 0.4s ease;
  transform-origin: center;
}

.logo img:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* MENU PRINCIPAL AVEC SOUS-MENUS */
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 3rem;
  position: relative;
}

nav ul.menu > li {
  position: relative;
}

nav ul.menu > li > a {
  text-decoration: none;
  color: #333; /* texte */
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border-radius: 1rem;
  transition: background 0.3s ease;
  font-size: 2rem;
  display: block;
}

nav ul.menu > li:hover > a {
  background: #ffe3e3; /* rose-hover */
}

.submenu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff; /* blanc */
  border: 1px solid #fcbfbf; /* corail-clair */
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 999;
}

.submenu li {
  width: 100%;
}

.submenu a {
  font-size: 1.6rem;
  padding: 0.8rem 1.2rem;
  display: block;
  text-decoration: none;
  color: #333; /* texte */
  white-space: nowrap;
  transition: background 0.3s ease;
}

.submenu a:hover {
  background: #ffe3e3; /* rose-hover */
}

nav ul.menu > li:hover .submenu {
  display: block;
}

main {
  width: 80%;
  margin: 0 auto;
  display: flex;
  padding: 1.5rem 2rem 6rem; /* réduire le padding-top */
  gap: 2rem;
  box-sizing: border-box;
}

.sidebar {
  width: 25%;
  background: #fff; /* blanc */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.right-column {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-block {
  background: #fff; /* blanc */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.main-block h2 {
  color: #f88379; /* corail titre */
  margin-bottom: 1rem;
}

.main-block p {
  font-size: 1.1rem;
  line-height: 1.6;
}



/* Responsive */
@media (max-width: 800px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul.menu {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  main {
    padding: 2rem 1rem 8rem;
    flex-direction: column;
    align-items: center;
  }

  .sidebar,
  .right-column {
    width: 100%;
  }
}

/* === Page ACTUALITÉS === */
.right-column {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto;
  padding: 3rem 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.news-item h3 {
  color: #f88379;
  margin-bottom: 0.5rem;
}

.news-item time {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.news-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Spécifique à actualités uniquement pour éviter conflit */
.actualites-title {
  color: #f88379;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Responsive si la page n’a pas de sidebar */
@media (max-width: 800px) {
  .right-column {
    width: 100%;
    padding: 2rem 0 6rem;
  }
}

.news-header {
  cursor: pointer;
}

.news-details {
  display: none;
  margin-top: 1rem;
  border-top: 1px solid #fcbfbf;
  padding-top: 1rem;
  animation: fadeIn 0.4s ease-in-out;
}

.news-item.active .news-details {
  display: block;
}

.news-image {
  max-width: 100%;
  border-radius: 1rem;
  margin-top: 1rem;
}

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

/* === Design page index === */
.top-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 1rem; /* au lieu de -5px */
}

.top-wave svg {
  width: 100%;
  height: 120px;
  display: block;
}

/* === Carrousel images === */
.joanna-carousel {
  overflow: hidden;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  margin: 4rem 0;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 70s linear infinite;
}

.carousel-track img {
  flex: 0 0 auto;
  width: 200px;
  margin: 0 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}

/* Hover effect */
.carousel-track img:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Animation continue */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track img {
    width: 140px;
    margin: 0 0.5rem;
  }
}

/* === Page Joanna === */
.joanna-presentation {
  background: #fff;
  padding: 6rem 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  margin: 6rem auto;
  max-width: 1300px;
}

.joanna-header {
  text-align: center;
  margin-bottom: 3rem;
}

.joanna-header h2 {
  font-size: 4.2rem; /* augmenté pour meilleure lisibilité */
  color: #f88379;
  margin-bottom: 1.2rem;
}

.joanna-header p {
  font-size: 2rem; /* augmenté */
  color: #444;
}

.joanna-body {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.joanna-image {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.joanna-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.joanna-description {
  flex: 1;
  max-width: 700px;
  padding-left: 1rem;
}

.joanna-description h3 {
  font-size: 2.8rem; /* augmenté */
  color: #f88379;
  margin-bottom: 1.2rem;
}

.joanna-description p {
  font-size: 1.8rem; /* augmenté */
  line-height: 1.9; /* plus aéré */
  margin-bottom: 1.2rem;
  color: #333;
}

.joanna-description ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.joanna-description ul li {
  font-size: 1.7rem; /* augmenté */
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: #444;
}

.joanna-portrait {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.joanna-portrait img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 4px solid #f88379;
  display: block;
}

/* === Contact Footer Stylé === */
.contact-strip {
  background: #1e1e1e;
  color: #fff;
  padding: 60px 20px;
  margin-top: 80px;
  font-family: 'Segoe UI', sans-serif;
  border-radius: 30px 30px 0 0;
  transition: all 0.6s ease-in-out;
}

.contact-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-block {
  flex: 1 1 300px;
}

.contact-block h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
}

.contact-block h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #f6ad43;
  margin-top: 8px;
}

.contact-block p,
.contact-block a {
  font-size: 1rem;
  color: #ccc;
  margin: 10px 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-block a:hover {
  color: #fff;
}

.contact-block i {
  color: #f6ad43;
  min-width: 20px;
}

/* Icônes sociales */
.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 1.5rem;
  color: #f6ad43;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #fff;
}

/* Apparition animée */
.hidden-on-load {
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
  visibility: hidden;
}

.visible-on-scroll {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-block h3::after {
    margin: 8px auto 0;
  }

  .contact-block a {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}
