/* BASE */
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #fffaf0;
  color: #333;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f8e2c6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.logo {
  font-family: "Pacifico", cursive;
  font-size: 1.8rem;
  color: #8b4513;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
}

nav ul li a {
  text-decoration: none;
  color: #5c3b1e;
  font-weight: bold;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-overlay h1 {
  font-family: "Pacifico", cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.hero-desc {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  display: inline-block;
  max-width: 90%;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  background-color: #8b4513;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s ease;
}

.btn:hover {
  background-color: #a0522d;
  transform: scale(1.05);
}

/* SECTION QUI SOMMES-NOUS */
.about-section {
  padding: 6rem 2rem;
  background-color: #fffaf0;
  text-align: center;
}

.about-title {
  font-size: 2.5rem;
  font-family: "Pacifico", cursive;
  color: #8b4513;
  margin-bottom: 3rem;
}

.team-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  max-width: 300px;
}

.circle-shadow {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 0.8rem;
  background-color: #fffaf0;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  margin: 0 auto 1rem;
}
.team-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 4rem;
  font-family: "Pacifico", cursive;
  color: #8b4513;
}
.circle-inner {
  border: 4px solid #c49b66;
  border-radius: 50%;
  overflow: hidden;
  width: 200px;
  height: 200px;
}

.circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.3rem;
  margin: 0.5rem 0 0;
  color: #8b4513;
}

.role {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.8rem;
}

.bio {
  font-size: 0.95rem;
  color: #333;
  text-align: justify;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    border-bottom: 1px solid #d8b793;
  }

  nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  nav ul li a {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-overlay h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.6rem 1rem;
  }

  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    max-width: 90%;
  }

  .about-title {
    font-size: 2rem;
  }
}

/* === STYLE 2 (Demi-Cercle) === */

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #fffaf0;
  color: #333;
}

.about-halfcircle-section {
  padding: 5rem 2rem;
}

.half-circle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 5rem;
  gap: 0;
}

.half-circle-container.reverse {
  flex-direction: row-reverse;
}

/* CERCLES */
.half-circles {
  width: 600px;
  height: 600px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.half-circle-container:not(.reverse) .half-circles {
  margin-left: -180px;
  margin-right: 1rem;
}

.half-circle-container.reverse .half-circles {
  margin-left: 1rem;
  margin-right: -180px;
}

/* Cercle visuel */
.circle-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #c49b66;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: none;
}

.circle-inner {
  width: 95%;
  height: 95%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-15px);
}

.circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* TEXTE */
.half-text {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}

.half-text h2 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: bold;
  text-align: left;
}

.half-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #666;
  font-weight: 600;
  text-align: left;
}

.half-text p {
  font-size: 1.5rem;
  line-height: 2rem;
  color: #333;
  text-align: justify;
}

/* ✅ Spécifique aux blocs .reverse : texte aligné à droite */
.half-circle-container.reverse .half-text {
  align-items: flex-end;
}
.half-circle-container.reverse .half-text h2,
.half-circle-container.reverse .half-text h3,
.half-circle-container.reverse .half-text p {
  text-align: right;
}

/* ✅ RESPONSIVE */
@media (max-width: 768px) {
  .half-circle-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .half-circles {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .team-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 4rem;
    font-family: "Pacifico", cursive;
    color: #8b4513;
  }

  .half-circle-container.reverse .half-circles,
  .half-circle-container:not(.reverse) .half-circles {
    margin: 0 auto;
  }

  .half-text {
    margin: 0 auto;
    padding: 0 1rem;
    align-items: center !important;
  }

  .half-text h2,
  .half-text h3,
  .half-text p {
    text-align: center !important;
  }
}

/* ✅ RESPONSIVE */
@media (max-width: 768px) {
  .half-circle-container,
  .half-circle-container.reverse {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .half-circles {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  .circle-inner {
    transform: none;
  }

  .half-circle-container .half-circles {
    margin: 0 auto !important;
  }

  .half-text {
    margin: 0 auto;
    padding: 0 1rem;
    align-items: center !important;
  }

  .half-text h2 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem; /* réduit aussi sur mobile */
  }

  .half-text h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .half-text p {
    font-size: 1rem;
    line-height: 1.4rem;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 0.7rem 1rem;
  }

  .logo {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    text-align: center;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap; /* ✅ permet le retour à la ligne si besoin */
    font-size: 0.5rem;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    max-width: 90vw;
    padding: 0;
    overflow: visible; /* ✅ plus de scroll */
    white-space: normal; /* ✅ retour à la ligne possible */
  }

  nav ul li a {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
  .hero {
    min-height: 60vh; /* 🔽 Réduction ici */
  }
}
.contact-section {
  padding: 4rem 2rem;
  background-color: #fffaf0;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section h2 {
  text-align: center;
  font-family: "Pacifico", cursive;
  font-size: 2.5rem;
  color: #8b4513;
  margin-bottom: 0.5rem;
}

.contact-desc {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
}

.contact-form button {
  background-color: #f8e2c6;
  color: #5c3b1e;
  font-weight: bold;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #8b4513;
  color: white;
}
.site-footer {
  background-color: #f8e2c6;
  color: #8b4513;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: "Pacifico", cursive;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8b4513;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: #8b4513;
}
