/* Contact Page Styles */
/* Font-family */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chau+Philomene+One:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

* {
  scroll-behavior: smooth;
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.chau-philomene-one-regular {
  font-family: "Chau Philomene One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.chau-philomene-one-regular-italic {
  font-family: "Chau Philomene One", sans-serif;
  font-weight: 400;
  font-style: italic;
}

:root {
  --primary-color: #374151;
  --secondary-color: #facc15;
  --accent-color: #3c8c3f;
  --roseclair: #fef1f6;
  --vertclair: #f0f9f0;
  --accent-color2: #f26698;
  --text-color: #2b2b2b;
  --bg-color: #ffffff;
  --neutral-white: #ffffff;
  --neutral-gray: #e4e7ec;
}

/* Corps */
body {
  margin: 0;
  padding: 0;
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: larger;
  background-color: var(--neutral-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#logo {
  max-width: 130px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* navigation */
.nav {
  display: flex;
  gap: 20px;
  list-style: none;
  font-size: 18px;
}

.nav a {
  cursor: pointer;
  position: relative;
  color: var(--primary-color);
  transition: color 0.3s;
  list-style: none;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-color2);
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color2);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* contact */
.contact-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  flex-wrap: wrap;
}

.left-column {
  flex: 0.6;
  min-width: 300px;
  border-right: 2px solid var(--accent-color2);
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 300px;
  align-items: center;
}

/* Section Contact */
.contact-section {
  background-color: var(--roseclair);
  margin-top: 30px;
  font-size: 19px;
  padding: 20px;
  border-radius: 14px;
}

.contact-section h3 {
  font-size: 30px;
  color: var(--accent-color2);
  margin-bottom: 15px;
}

.contact-section ul {
  list-style: none;
  padding: 0;
}

.contact-section a {
  text-decoration: none;
  color: var(--accent-color2);
}

.contact-section li {
  margin-bottom: 10px;
}

.contact-section button {
  margin-top: 6px;
  padding: 10px 20px;
  background-color: var(--accent-color2);
  color: white;
  font-size: 19px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-section button:hover {
  background-color: #aa496b;
}

/* Réseaux sociaux */
.social-section {
  background-color: var(--vertclair);
  padding: 20px;
  width: 300px;
  border-radius: 14px;
}

.social-section h3 {
  font-size: 28px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.social-icons a {
  display: inline-block;
  color: var(--primary-color);
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}

/* Carte Google Maps */
.iframe-wrapper {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 7 / 6;
  border: 2px solid #000;
  margin-top: 30px;
  border-radius: 14px;
  overflow: hidden;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* SECTION FORMULAIRE */
.form-section {
  padding: 60px 200px;
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(60, 140, 63, 0.06);
}

.form-section h2 {
  text-align: center;
  font-size: 30px;
  color: var(--accent-color2);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.form-section p {
  text-align: center;
  color: #444;
  margin-bottom: 18px;
}

form {
  max-width: 520px;
  margin: 0 auto;
  background: #fafafa;
  padding: 28px 22px;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(60, 140, 63, 0.07);
}

form input,
form textarea {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 18px;
  border: 1.5px solid var(--neutral-gray);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus,
form textarea:focus {
  border-color: var(--accent-color2);
  box-shadow: 0 0 0 2px #f2669822;
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 110px;
}

form button {
  background: var(--accent-color2);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 1.5px 4px rgba(242, 102, 152, 0.08);
}

form button:hover {
  background: #c94d7d;
  transform: translateY(-1.5px) scale(1.03);
}

/* gestion message-box */
.message-box {
  padding: 16px 28px;
  margin: 1.5em auto 0;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.08em;
  max-width: 440px;
  box-shadow: 0 6px 18px rgba(60, 140, 63, 0.08), 0 1.5px 0 var(--accent-color2) inset;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.3s;
  transform: translateY(-12px) scale(0.98);
  pointer-events: none;
  border-left: 6px solid var(--accent-color2);
  background: linear-gradient(90deg, #fff 80%, #f0f9f0 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.message-box.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(60, 140, 63, 0.13), 0 2px 0 var(--accent-color2) inset;
}

/* Icône à gauche (optionnel, à ajouter en HTML si besoin) */
.message-box .icon {
  font-size: 1.5em;
  margin-right: 0.5em;
  opacity: 0.85;
}

/* Couleurs selon le type de message */
.message-box.success {
  background: linear-gradient(90deg, #f0f9f0 80%, #e6ffe6 100%);
  color: var(--accent-color);
  border-left-color: var(--accent-color);
}

.message-box.error {
  background: linear-gradient(90deg, #fff 80%, #ffeaea 100%);
  color: #b84c72;
  border-left-color: var(--accent-color2b);
}

.message-box.info {
  background: linear-gradient(90deg, #f1f8ff 80%, #e0f2ff 100%);
  color: #2176ae;
  border-left-color: #2176ae;
}

.message-box .close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2em;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0 4px;
}

.message-box .close-btn:hover {
  opacity: 1;
}

/* Privacy Policy */
.privacy-container {
  margin-top: 1.5em;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  padding: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color2);
  /* Couleur violette personnalisée */
  cursor: pointer;
}

.privacy-policy {
  font-size: 0.9rem;
  color: #555;
  text-align: justify;
}

.privacy-policy a {
  color: var(--accent-color2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.privacy-policy a:hover {
  color: var(--accent-color2b);
}


/* Agenda */
.agenda-section {
  position: relative;
  background: var(--neutral-white);
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  /* empêche le débordement des animations */
  box-shadow: none;
  transition: box-shadow 0.6s ease;
}

.agenda-section::before,
.agenda-section::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 0;
  left: 50%;
  background: var(--accent-color2);
  transition: width 0.6s ease, left 0.6s ease;
  z-index: 2;
}

.agenda-section::before {
  top: 0;
}

.agenda-section::after {
  bottom: 0;
}

.agenda-section.active::before,
.agenda-section.active::after {
  width: 100%;
  left: 0;
}

/* --- Bloc agenda masqué/affiché --- */
#agenda {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  box-shadow: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    max-height 0.8s ease,
    box-shadow 0.6s ease;
  will-change: opacity, transform, max-height, box-shadow;
}

#agenda.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 2000px;
  /* assez grand pour contenir tout */
  box-shadow: 0 6px 24px rgba(60, 140, 63, 0.08);
}

/* --- Contenu agenda --- */
.agenda {
  max-width: 850px;
  margin: 0 auto;
  padding: 32px 24px;
  background: var(--vertclair);
  border-radius: 18px;
  border: 2px solid var(--accent-color2);
  box-shadow: 0 4px 16px rgba(60, 140, 63, 0.07);
}
.rdv-form {
  margin-top: 32px;
  text-align: left;
  background: linear-gradient(120deg, #fef1f6 60%, #f0f9f0 100%);
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(60, 140, 63, 0.10);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid var(--accent-color2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rdv-form h4 {
  font-size: 1.22em;
  color: var(--accent-color);
  margin-bottom: 18px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

.rdv-form label {
  font-size: 1em;
  color: var(--primary-color);
  margin-bottom: 4px;
  font-weight: 500;
  display: block;
}

.rdv-form input,
.rdv-form textarea {
  width: 100%;
  padding: 13px 15px;
  margin-bottom: 10px;
  border: 1.5px solid var(--neutral-gray);
  border-radius: 9px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: "Jost", sans-serif;
  box-shadow: 0 1px 4px rgba(60, 140, 63, 0.04);
}

.rdv-form input:focus,
.rdv-form textarea:focus {
  border-color: var(--accent-color2);
  box-shadow: 0 0 0 2px #f2669822;
  outline: none;
}

.rdv-form textarea {
  min-height: 90px;
  resize: vertical;
}

.rdv-form button {
  background: linear-gradient(90deg, var(--accent-color2) 70%, #f26698cc 100%);
  color: #fff;
  border: none;
  padding: 13px 0;
  border-radius: 9px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.7px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(242, 102, 152, 0.10);
  width: 100%;
  margin-top: 8px;
}

.rdv-form button:hover {
  background: linear-gradient(90deg, #c94d7d 70%, #f26698 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(242, 102, 152, 0.18);
}

/* Responsive */
@media (max-width: 600px) {
  .rdv-form {
    padding: 16px 8px;
    border-radius: 10px;
    max-width: 98vw;
    box-shadow: 0 2px 8px rgba(60, 140, 63, 0.07);
  }
  .rdv-form h4 {
    font-size: 1.08em;
    margin-bottom: 12px;
  }
  .rdv-form button {
    font-size: 15px;
    padding: 11px 0;
    border-radius: 7px;
  }
  .rdv-form input,
  .rdv-form textarea {
    font-size: 15px;
    border-radius: 7px;
    padding: 10px 11px;
  }
}
.agenda h2 {
  text-align: center;
  font-size: 2em;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.agenda .intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* --- Événements --- */
.event {
  display: flex;
  flex-direction: row;
  gap: 18px;
  background: #fff;
  margin-bottom: 20px;
  padding: 18px 22px;
  border-left: 6px solid var(--accent-color2);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60, 140, 63, 0.07);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  opacity: 0;
  transform: translateY(24px);
}

.event:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 18px rgba(60, 140, 63, 0.14);
  background: var(--roseclair);
}

/* --- Date --- */
.date {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--accent-color2);
  font-family: "Bebas Neue", sans-serif;
  padding: 8px 12px;
  background: var(--roseclair);
  border-radius: 8px;
  text-align: center;
  min-width: 80px;
  align-self: flex-start;
}

/* --- Info événement --- */
.info h3 {
  font-size: 1.15em;
  color: var(--accent-color);
  margin: 0 0 7px 0;
  font-family: "Poppins", sans-serif;
}

.info ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.info li {
  margin-bottom: 4px;
  background: var(--vertclair);
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 0.98em;
}

/* --- Contact --- */
.contact-cta {
  text-align: center;
  margin-top: 25px;
  font-size: 1.05em;
}

.contact-cta a {
  color: var(--accent-color2);
  font-weight: bold;
  text-decoration: none;
}

.contact-cta a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background-color: var(--vertclair);
  color: var(--primary-color);
  text-align: center;
  padding: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* Changement pour une colonne sur mobile */
  align-items: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  text-align: center;
  /* Centrer les liens */
}

.footer-links li {
  display: inline;
  margin: 0 1rem;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-nav {
  margin: 1rem 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  /* Alignement horizontal */
  justify-content: center;
  /* Centrer horizontalement */
}

.footer-nav li {
  margin: 0 1rem;
}

.footer-nav a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-contact {
  margin: 1rem 0;
  text-align: center;
  /* Centrer les informations de contact */
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  margin: 0 1rem;
  /* Espacement entre les icônes */
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}


/* --- Responsive --- */
@media (max-width: 650px) {
  .event {
    flex-direction: column;
    align-items: flex-start;
  }

  .date {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-links li,
  .footer-nav li {
    margin: 0.5rem;
  }
}

/* ANIMATION apparitions douces */
.autoShow {
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .form-section {
    padding: 40px 60px;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    padding: 20px;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 18px;
  }

  .form-section {
    padding: 30px 20px;
  }

  form {
    padding: 20px;
  }

  .contact-section {
    padding: 40px 20px;
  }
}

/* Responsive 2 */
@media screen and (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .social-section,
  .contact-section {
    max-width: 100%;
    flex: unset;
  }

  .social-section {
    text-align: center;
  }

  .social-icons a {
    margin: 0 10px;
  }
}

@media screen and (max-width: 768px) {

  .header,
  .nav {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    font-size: 18px;
  }

  .form-section {
    padding: 40px 20px;
  }

  .footer-nav ul,
  .footer-links ul {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {

  .form-section,
  .contact-section,
  .social-section,
  form {
    padding: 20px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .form-section {
    padding: 40px 60px;
  }

  .contact-container {
    padding: 30px;
    gap: 16px;
  }

  .left-column,
  .right-column {
    min-width: 240px;
  }
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 14px;
  }

  .left-column,
  .right-column {
    width: 100%;
    max-width: 600px;
    border-right: none;
    border-bottom: 2px solid var(--accent-color2);
    margin-bottom: 18px;
    min-width: unset;
  }

  .right-column {
    border-bottom: none;
    margin-bottom: 0;
  }

  .social-section {
    width: 100%;
    max-width: 400px;
  }

  .iframe-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-container {
    padding: 12px;
    gap: 10px;
  }

  .left-column,
  .right-column {
    width: 100%;
    max-width: 100%;
    border: none;
    margin-bottom: 0;
    min-width: unset;
  }

  .contact-section,
  .social-section {
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
  }

  .contact-section h3,
  .social-section h3 {
    font-size: 22px;
  }

  .iframe-wrapper {
    border-radius: 10px;
    margin-top: 18px;
  }
}

@media (max-width: 400px) {

  .contact-section,
  .social-section {
    padding: 8px;
    font-size: 15px;
    border-radius: 6px;
  }

  .iframe-wrapper {
    border-radius: 6px;
  }
}

/* Responsive for form */
@media (max-width: 1024px) {
  .form-section {
    padding: 40px 60px;
  }
}

@media (max-width: 600px) {
  .form-section {
    padding: 30px 10px;
  }

  form {
    padding: 16px;
    border-radius: 8px;
  }

  .form-section h2 {
    font-size: 22px;
    margin-bottom: 18px;
  }
}

@media (max-width: 400px) {
  .form-section {
    padding: 8px 2px;
  }

  form {
    padding: 8px;
    border-radius: 5px;
  }
}

/* Barba.js */
/* Barba.js */
.transition-wipe,
.transition-wipe-second {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transform: translateX(-100%);
  pointer-events: none;
  will-change: transform;
}

.transition-wipe {
  background: var(--accent-color2);
  opacity: 0.97;
  animation: wipeFadeIn 0.7s;
}

.transition-wipe-second {
  background: var(--accent-color);
  opacity: 0.97;
}