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

/* STYLE GÉNÉRAL */
body {
  font-family: "Playfair Display", serif;
  color: white;
  background-color: #111;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* image de fond page d’accueil */
body.home-page {
  background: url("../assets/asso.jpg") no-repeat center center fixed;
  background-size: cover;
  background-attachment: scroll;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
  pointer-events: none;
}

body.home-page .navbar {
  background-color: transparent;
}
/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: #111;
  backdrop-filter: none;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: bold;
  background: linear-gradient(45deg, #d4af37, #fff8dc, #d4af37);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shine 3s linear infinite;
  margin-left: 16px;
}

@keyframes shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.navbar-left {
  display: flex;
  align-items: center;
}
.logo {
  height: 70px;
  width: auto;
}

.navbar-left .logo {
  height: 70px;
  width: auto;
}

.navbar-right {
  display: flex;
  gap: 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 24px;
  transition: all 0.3s ease;
  font-family: "Playfair Display", serif;
  display: inline-block;
  font-size: 1.1rem;
  padding: 10px 14px;
}

.navbar a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
  transform: skewX(-5deg);
}

/* TEXTE CENTRAL */
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.center-text .line1 {
  font-size: 2rem;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 12px;
}

.center-text .line2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-top: -10px;
  letter-spacing: 1px;
}
.word-anim span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.word-anim:hover span {
  animation: waveUp 0.6s ease forwards;
}

@keyframes waveUp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.center-text .btn {
  margin-top: 30px;
  background-color: white;
  color: black;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.center-text .btn:hover {
  background-color: #ddd;
}

/* BOUTON BAS */

.bottom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lang-modal {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 1000;
  gap: 12px;
}

.lang-modal button {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-modal button:hover {
  color: #ffd700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 10px;
    z-index: 2;
  }

  .center-text .line1 {
    font-size: 1.5rem;
  }
  .center-text .line2 {
    font-size: 2.5rem;
  }
  .navbar {
    gap: 20px;
    font-size: 0.9rem;
    right: 20px;
  }
  .center-text .line2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .center-text .line1 {
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    letter-spacing: 0.5px;
  }
}

/* === bouton musique=== */

.eq-bar {
  width: 2px;
  background-color: black;
  border-radius: 1px;
  height: 50%;
  animation: barBounce 1.3s infinite ease-in-out;
  transform-origin: bottom;
}

.bar1 {
  animation-delay: 0s;
}
.bar2 {
  animation-delay: 0.2s;
}
.bar3 {
  animation-delay: 0.4s;
}
.bar4 {
  animation-delay: 0.6s;
}
.bar5 {
  animation-delay: 0.8s;
}

@keyframes barBounce {
  0% {
    height: 25%;
  }
  20% {
    height: 50%;
  }
  40% {
    height: 35%;
  }
  60% {
    height: 60%;
  }
  80% {
    height: 30%;
  }
  100% {
    height: 25%;
  }
}

.sound-toggle.paused {
  background-color: black;
}

.sound-toggle.paused .eq-bar {
  background-color: white;
  animation: none;
  height: 10%;
}

/* Multilingue  */
.lang-fr,
.lang-en,
.lang-pt {
  display: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}

/* Langue active réaffichée par le JS */
.lang-visible {
  display: inline-block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  position: static !important;
  pointer-events: auto !important;
}

/* === MENU BURGER === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 2000;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Menu mobile */
@media (max-width: 768px) {
  .burger {
    display: flex;
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 2001;
  }

  .navbar-right {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
  }

  .navbar-right.active {
    display: flex;
  }

  .navbar-right > div.lang-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .navbar-right > div.lang-visible a {
    display: block;
    font-size: 1.8rem;
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.4s ease forwards;
  }

  .navbar-right.active div.lang-visible a:nth-of-type(1) {
    animation-delay: 0.1s;
  }
  .navbar-right.active div.lang-visible a:nth-of-type(2) {
    animation-delay: 0.2s;
  }
  .navbar-right.active div.lang-visible a:nth-of-type(3) {
    animation-delay: 0.3s;
  }
  .navbar-right.active div.lang-visible a:nth-of-type(4) {
    animation-delay: 0.4s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .center-text .line1 {
    font-size: 1.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90vw;
    text-align: center;
  }

  .center-text .line2 {
    font-size: 2.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90vw;
    letter-spacing: 1px;
    text-align: center;
  }
}
.site-footer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  flex-wrap: wrap;
  margin-top: auto;
  font-family: "Playfair Display", serif;
  z-index: 10;
}

/* Colonnes du footer */
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
}
.footer-right a {
  color: #ccc;
  margin-left: 8px;
  text-decoration: none;
}

.footer-right a:hover {
  color: #f0c23c;
  text-decoration: underline;
}

/* Position de chaque bloc */
.footer-left {
  justify-content: flex-start;
}
.footer-center {
  justify-content: center;
}
.footer-right {
  justify-content: flex-end;
  color: #ccc;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

/* Globe */
.bottom-btn {
  position: static;
  transform: none;
  margin: 0 auto;
  font-size: 1.3rem;
  background: none;
  border: 1px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.bottom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Bouton son */
.sound-toggle {
  position: static;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding-bottom: 13px;
  padding-left: 4px;
  padding-right: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.eq-bar {
  width: 2px;
  background-color: black;
  border-radius: 1px;
  height: 50%;
  animation: barBounce 1.3s infinite ease-in-out;
  transform-origin: bottom;
}

.bar1 {
  animation-delay: 0s;
}
.bar2 {
  animation-delay: 0.2s;
}
.bar3 {
  animation-delay: 0.4s;
}
.bar4 {
  animation-delay: 0.6s;
}
.bar5 {
  animation-delay: 0.8s;
}

@keyframes barBounce {
  0% {
    height: 25%;
  }
  20% {
    height: 50%;
  }
  40% {
    height: 35%;
  }
  60% {
    height: 60%;
  }
  80% {
    height: 30%;
  }
  100% {
    height: 25%;
  }
}

.sound-toggle.paused {
  background-color: black;
}
.sound-toggle.paused .eq-bar {
  background-color: white;
  animation: none;
  height: 10%;
}

.site-footer p {
  margin: 0;
}
body.home-page .site-footer {
  background-color: transparent;
}
@media (min-width: 1600px) {
  .center-text .line1 {
    font-size: 2.8rem;
  }

  .center-text .line2 {
    font-size: 4.8rem;
  }

  .center-text .btn {
    font-size: 1.4rem;
    padding: 16px 32px;
  }
}
@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding: 0 12px;
  }

  .navbar-left .logo {
    height: 40px;
  }

  .brand-name {
    font-size: 1rem;
    margin-left: 10px;
  }

  .burger {
    top: 18px;
    right: 14px;
    width: 22px;
    height: 18px;
  }

  .burger span {
    height: 2px;
  }

  @media (max-width: 768px) {
    body.home-page {
      background-image: url("../assets/ass.jpg");
      background-position: center top;
      background-size: cover;
    }
  }

  html,
  body {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  body.home-page {
    background-position: center top;
    background-attachment: scroll;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }

  main.contact-wrapper {
    flex: 1;
    width: 100%;
  }

  .site-footer {
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    flex-wrap: wrap;
    margin-top: auto;
    z-index: 10;
  }

  .footer-right {
    font-size: 0.75rem;
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-right a {
    margin: 2px 0 0 0;
  }

  .site-footer {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .bottom-btn,
  .sound-toggle {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 600px) {
  .brand-name {
    font-size: 1.2rem;
  }

  .logo {
    height: 40px;
  }

  .center-text .line1 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .center-text .line2 {
    font-size: 2.2rem;
    letter-spacing: 0.5px;
  }

  .center-text .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  body.home-page {
    background-size: cover;
    background-position: center center;
  }
}
@media (max-width: 480px) {
  .center-text {
    max-width: 90%;
    padding: 0 10px;
  }

  .center-text .line1 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .center-text .line2 {
    font-size: 1.8rem;
    word-wrap: break-word;
  }

  .center-text .btn {
    font-size: 0.85rem;
    padding: 10px 18px;
  }

  .logo {
    height: 36px;
  }

  .brand-name {
    font-size: 1rem;
  }
}
.legal-page main.contact-wrapper {
  max-width: 900px;
  margin: 100px auto 40px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #eee;
  transition: all 0.3s ease;
}

.legal-page main h2 {
  font-size: 2.6rem;
  margin-bottom: 30px;
  color: #f0c23c;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.legal-page main p {
  margin-bottom: 20px;
  padding-left: 8px;
  padding-right: 8px;
}

.legal-page main a {
  color: #ffd700;
  text-decoration: none;
  word-break: break-word;
}

.legal-page main a:hover {
  text-decoration: underline;
}
.legal-page main.contact-wrapper {
  flex: 1;
  padding-left: 24px;
  padding-right: 24px;
}
