/* Fichier CSS pour index Célia Dom */
/* Font-family */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chau+Philomene+One:ital@0;1&display=swap");

* {
  scroll-behavior: smooth;
}

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

/* Corps */
:root {
  --primary-color: #374151;
  --secondary-color: #facc15;
  --accent-color: #3c8c3f;
  --bleu: #2f60b0;
  --bleuclair: #7a96c2;
  --accent-colorb: #275b29;
  --accent-color2: #f26698;
  --roseclair: #f49ab9;
  --vertclair: #f0f9f0;
  --accent-color2b: #b84c72;
  --text-color: #2b2b2b;
  --bg-color: #ffffff;
  --neutral-white: #ffffff;
  --neutral-gray: #e8edf5;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  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-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%;
}

/* LANDING PAGE */
.landing-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.landing-page {
  flex: 1 1 500px;
  text-align: center;
  position: relative;
}

/* Left and right box */
.info-box {
  flex: 0 0 250px;
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.info-box:hover {
  background-color: var(--neutral-gray);
}

/* Animation info box */
.info-box {
  width: 300px;
  margin: 0 auto;
  padding: 2em;
  background-color: var(--vertclair);
  color: #333;
  border: 2px solid var(--vertfonce);
  border-radius: 12px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform: scale(0.95);
  opacity: 1;
  animation: revealBox 1.5s ease-out forwards;
}

@keyframes revealBox {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    opacity: 0;
  }

  60% {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(76, 112, 64, 0.3);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(76, 112, 64, 0.2);
  }
}

.info-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}
 .info-box .percentage {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--bleu);
  margin: 0.5rem 0;
}

.info-box h1 {
  font-size: 2rem;
  color: var(--bleu);
}

.info-box h3 {
  font-size: 20px;
  padding: 5px;
  color: var(--bleu);
}

.info-box p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsive : les asides passent en dessous sur petits écrans */
@media (max-width: 768px) {
  .landing-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .info-box {
    width: 100%;
    max-width: 400px;
  }
}

.landing-page-img {
  background-size: cover;
  background-position: center;
  width: 138px;
  height: 138px;
}

.big-title {
  font-size: 25px;
  color: var(--accent-color);
  margin-bottom: 25px;
  font-family: "Chau Philomene One";
  font-weight: 20;
  font-style: italic;
}

.barre-deco {
  width: 96px;
  height: 4px;
  background-color: #facc15;
  border-radius: 4px;
  margin-top: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* scrolleur */
.scroll-down {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.scroll-down:hover {
  color: var(--accent-color2);
}

.scroll-down::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color2);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.scroll-down:hover::after {
  width: 100%;
}

.scroll-down i {
  margin-left: 8px;
  transition: color 0.3s;
}

.scroll-down:hover i {
  color: var(--accent-color2);
}

/* section scroll V2 */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  background: linear-gradient(135deg, #009688 70%, #3c8c3f 100%);
  color: #fff;
  padding: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  z-index: 1200;
  box-shadow: 0 6px 18px rgba(0, 150, 136, 0.13);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, box-shadow 0.3s, transform 0.18s;
  opacity: 0.92;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #00796b 70%, #275b29 100%);
  box-shadow: 0 12px 32px rgba(0, 150, 136, 0.18);
  transform: translateY(-4px) scale(1.07);
  opacity: 1;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }
}


/* presentation */
.presentation-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--neutral-white);
  box-shadow: 0px 6px 0px var(--accent-color) inset, 0px 6px 0px var(--secondary-color);

  text-align: center;
}


.text-column h2 img {
  height: 50px;
  width: 40px;
}

.text-column {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-column h2 {
  color: var(--accent-color2);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-column p {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.text-column h2 img {
  transition: transform 0.3s ease;
}

.text-column h2:hover img {
  transform: rotate(-15deg) scale(1.1);
}

/* Contacter nous - Bouton principal */
button {
  background-color: var(--accent-color2);
  color: #fff;
  border: none;
  margin-top: 20px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(242, 102, 152, 0.10);
  transition: background 0.3s, transform 0.18s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(184, 76, 114, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}

button:active::after {
  width: 220%;
  height: 220%;
}

button:hover {
  background-color: var(--accent-color2b);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(184, 76, 114, 0.18);
}

button:focus {
  outline: 2px solid var(--accent-color2b);
  outline-offset: 2px;
}

/* Actualite */
#actualites-section {
  padding: 4rem 1rem;
  background-color: #fafbfc;
  text-align: center;
  box-shadow: 0px 6px 0px var(--accent-color2) inset;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.section-header .line {
  flex: 1;
  height: 2px;
  background-color: var(--neutral-gray);
  margin: 0 1rem;
  border-radius: 2px;
}

.section-header h1 {
  font-size: 2.1rem;
  margin: 0;
  font-weight: 700;
  color: var(--accent-color2);
  letter-spacing: 0.5px;
  font-family: "Chau Philomene One", "Poppins", sans-serif;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.actualite-item {
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(60, 140, 63, 0.07);
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid var(--neutral-gray);
}

.actualite-item:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 8px 28px rgba(60, 140, 63, 0.13);
  border-color: var(--accent-color2);
}

.image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.actualite-item:hover .image-wrapper img {
  transform: scale(1.04);
}

.image-wrapper .date {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--accent-color2);
  color: #fff;
  padding: 5px 10px;
  font-size: 0.82rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(242, 102, 152, 0.08);
  z-index: 2;
}

.actualite-item h2 {
  font-size: 1.18rem;
  margin: 1rem 1rem 0.5rem 1rem;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.3;
}

.actualite-item p {
  font-size: 0.98rem;
  color: #444;
  margin: 0 1rem 1.3rem;
  line-height: 1.5;
}
/* Transition-section */

/* Service */
.angled-transition-service {
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom right, #f6fbf7 50%, #f9f5fc 50%);
  transform: skewY(-3deg);
  transform-origin: top left;
  margin-top: -40px;
}
.services-section {
  padding: 56px 24px 48px 24px;
  background: #f6fbf7;
  text-align: center;
  max-width: 1200px;
  border-radius: 22px;
  margin: 48px auto;
  box-shadow: 0 8px 32px rgba(60, 140, 63, 0.07), 0 2px 0 var(--accent-color) inset;
  border: 2.5px solid var(--neutral-gray);
}

.services-section h1 {
  font-size: 2.3rem;
  margin-bottom: 36px;
  color: var(--accent-color);
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(60, 140, 63, 0.08);
}

.service-titles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-title-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px;
  width: 180px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-title-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color2);
}

.service-title-card img.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: var(--icon-color-filter, invert(36%) sepia(79%) saturate(347%) hue-rotate(77deg) brightness(93%) contrast(92%));
  transition: filter 0.3s, transform 0.3s;
}

.service-title-card:hover img.icon {
  transform: rotate(-3deg) scale(1.1);
}

.service-title-card span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.service-details-panel {
  max-height: 100;
  transform: translateY(20px);
  transition: max-height 0.6s ease, opacity 0.4s ease, transform 0.4s ease;
  margin-top: 40px;
  padding: 60px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  display: none;
  overflow: hidden;
}

.service-details-content {
  text-align: left;
  line-height: 1.6;
  font-size: 1rem;
  color: #444;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-details-content.show {
  max-height: 3000px;
  opacity: 1;
  transform: translateY(0);
}

.close-details {
  position: absolute;
  top: 0.3rem;
  right: 1.4rem;
  border: none;
  color: #333;
  z-index: 10;
  background-color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.close-details:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.service-details-panel button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.service-details-panel button:hover {
  background-color: #3e9144;
}

/* Grille tarifaire */
.asterisque-panel a {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
  text-decoration: underline dotted;
  transition: color 0.3s;
}

.asterisque-panel a:hover {
  color: var(--accent-color2);
  text-decoration: underline solid;
}

.asterisque-panel {
  margin-top: 32px;
  text-align: left;
}

.highlight-row td {
  background-color: var(--secondary-color) !important;
  transition: background-color 0.4s ease;
}

.tarif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 80, 0.45);
  backdrop-filter: blur(6px) brightness(0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  overflow-y: auto;
  padding: 2rem 0;
  animation: fadeInTarif 0.4s;
}

@keyframes fadeInTarif {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tarif-modal {
  background: #fff;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  border-radius: 18px;
  max-width: 520px;
  width: 95%;
  box-shadow: 0 8px 36px rgba(60, 140, 63, 0.13), 0 2px 0 var(--accent-color2) inset;
  position: relative;
  animation: slideInTarif 0.5s cubic-bezier(.23,1.02,.58,.99);
  overflow-x: auto;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .tarif-modal {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    max-width: 98vw;
    border-radius: 10px;
  }
}

@keyframes slideInTarif {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.hidden {
  display: none !important;
}

#closeTarifs {
  margin-top: 1.2rem;
  background: var(--accent-color2b);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.18s;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  box-shadow: 0 2px 8px rgba(184, 76, 114, 0.08);
}

#closeTarifs:hover {
  background: var(--accent-color2);
  transform: scale(1.07);
}

/* Tableau tarifaire */
table {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 1rem auto;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 0 20px rgba(60, 140, 63, 0.07);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  table-layout: fixed;
}

caption {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--accent-color);
  text-align: center;
  letter-spacing: 0.5px;
}

thead th {
  background: linear-gradient(90deg, var(--accent-color2) 60%, var(--roseclair) 100%);
  color: #fff;
  text-align: left;
  padding: 1.1rem 1rem;
  font-size: 1.08rem;
  font-weight: 600;
  border-bottom: 2.5px solid var(--accent-color2b);
  letter-spacing: 0.03em;
}

thead th:nth-child(1),
tbody td:nth-child(1) {
  width: 40%;
}

thead th:nth-child(2),
thead th:nth-child(3),
tbody td:nth-child(2),
tbody td:nth-child(3) {
  width: 30%;
}

tbody td {
  padding: 1.2rem 1rem;
  border-top: 1px solid #f0f0f0;
  border-left: 1px solid #ececec;
  border-right: 1px solid #ececec;
  vertical-align: top;
  background-color: #f9f9f9;
  font-size: 1.01rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #2b2b2b;
  transition: background 0.25s ease, transform 0.15s ease;
  line-height: 1.6;
}

tbody tr:nth-child(even) td {
  background-color: #f4f8fa;
}

tbody tr:hover td {
  background: #e8f9e8;
  transform: scale(1.005);
}

td br {
  display: none;
}

td ul {
  padding-left: 1.2rem;
  margin: 0;
  list-style: disc;
}

td[colspan="2"] {
  text-align: center;
}

/* Responsive table */
@media (max-width: 900px) {
  table {
    font-size: 0.97rem;
    max-width: 98vw;
  }
  .tarif-modal {
    max-width: 99vw;
  }
}

@media (max-width: 768px) {

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
    padding: 1rem;
  }

  td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.8rem 0;
    position: relative;
    border: none;
    background: none;
    font-size: 1rem;
    word-break: break-word;
    flex-wrap: wrap;
  }

  td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--accent-color2);
    flex-basis: 50%;
    padding-right: 0.5rem;
    min-width: 120px;
    max-width: 50vw;
    white-space: pre-line;
  }

  td ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
  }

  td ul li {
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 480px) {
  .tarif-modal {
    padding: 0.5rem 0.1rem 0.5rem 0.1rem;
    border-radius: 6px;
  }
  table {
    font-size: 0.92rem;
  }
  tr {
    padding: 0.5rem;
  }
  td {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }
  td::before {
    min-width: 90px;
    font-size: 0.93rem;
  }
}

/* FORMULAIRE DEVIS */
.form-section {
  background: linear-gradient(120deg, var(--secondary-color) 80%, #fffbe6 100%);
  padding: 64px 16px 72px 16px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(242, 102, 152, 0.07), 0 2px 0 var(--accent-color2) inset;
  margin: 48px auto;
  max-width: 900px;
}

.form-section h2 {
  text-align: center;
  font-size: 2.1rem;
  color: var(--accent-color);
  margin-bottom: 32px;
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

form {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(60, 140, 63, 0.09);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e4e7ec;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #f9f9f9;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  margin-bottom: 0;
  box-sizing: border-box;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--accent-color2);
  box-shadow: 0 0 0 3px rgba(242, 102, 152, 0.13);
  outline: none;
  background: #fff;
}

form textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 320px;
}

form button {
  background: linear-gradient(90deg, var(--accent-color) 70%, var(--accent-color2) 100%);
  color: #fff;
  border: none;
  padding: 15px 0;
  border-radius: 12px;
  font-size: 1.08rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(242, 102, 152, 0.10);
  transition: background 0.3s, transform 0.18s, box-shadow 0.3s;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

form button:active {
  transform: scale(0.98);
}

form button:hover {
  background: linear-gradient(90deg, var(--accent-colorb) 60%, var(--accent-color2b) 100%);
  box-shadow: 0 8px 24px rgba(184, 76, 114, 0.18);
  transform: translateY(-2px) 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;
}

.message-box .icon {
  font-size: 1.5em;
  margin-right: 0.5em;
  opacity: 0.85;
}

.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.97rem;
  color: #333;
  line-height: 1.6;
  padding: 10px 0 0 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
  cursor: pointer;
  font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color2);
  cursor: pointer;
  margin-right: 6px;
}

.privacy-policy {
  font-size: 0.93rem;
  color: #555;
  text-align: justify;
}

.privacy-policy a {
  color: var(--accent-color2);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.privacy-policy a:hover {
  color: var(--accent-color2b);
  text-decoration: underline wavy;
}

.asterisque {
  font-size: 0.78rem;
  color: #555;
  margin-top: 10px;
  font-style: italic;
}

@media (max-width: 1024px) {
  .form-section {
    padding: 48px 32px;
  }
  form {
    max-width: 98vw;
    padding: 32px 18px 22px 18px;
    border-radius: 16px;
    gap: 20px;
  }
  .message-box {
    max-width: 98vw;
    padding: 16px 14px;
    font-size: 1.05em;
  }
}

@media (max-width: 700px) {
  .form-section {
    padding: 24px 8px;
  }
  form {
    padding: 18px 8px 14px 8px;
    border-radius: 12px;
    gap: 16px;
  }
  form input,
  form textarea,
  form select {
    padding: 14px 10px;
    font-size: 1rem;
    border-radius: 9px;
  }
  form textarea {
    min-height: 100px;
    max-height: 240px;
  }
  form button {
    font-size: 1.05rem;
    padding: 14px 0;
    border-radius: 11px;
  }
  .message-box {
    font-size: 1em;
    padding: 14px 10px;
    border-radius: 10px;
    gap: 0.7em;
  }
  .privacy-container {
    font-size: 0.97rem;
    padding: 10px 0 0 0;
  }
  .checkbox-label {
    font-size: 1rem;
    gap: 0.6em;
  }
  .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 400px) {
  .form-section {
    padding: 8px 2px;
  }
  form {
    padding: 10px 4px 10px 4px;
    border-radius: 8px;
    gap: 12px;
  }
  form input,
  form textarea,
  form select {
    padding: 10px 6px;
    font-size: 0.97rem;
    border-radius: 7px;
  }
  form button {
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 9px;
  }
  .message-box {
    font-size: 0.97em;
    padding: 10px 4px;
    border-radius: 7px;
    gap: 0.5em;
  }
  .privacy-container {
    font-size: 0.95rem;
    padding: 4px 0 0 0;
  }
  .checkbox-label {
    font-size: 0.97rem;
    gap: 0.5em;
  }
  .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}

/* Zone d'intervention */
.zone-d-intervention {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 3rem 2rem;
  background: linear-gradient(90deg, #fdfdfd 60%, #f0f9f0 100%);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(122, 44, 160, 0.06);
  position: relative;
  overflow: hidden;
}

.zone-d-intervention::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #f26698 0%, transparent 70%);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.zone-d-intervention h2 {
  width: 100%;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.3rem;
  color: #5a2ca0;
  font-weight: 800;
  letter-spacing: -1.2px;
  position: relative;
  z-index: 1;
  font-family: "Chau Philomene One", "Poppins", sans-serif;
}

.zone-d-intervention h2::after {
  content: "";
  display: block;
  margin: 1rem auto 0;
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #7d3cff 60%, #f26698 100%);
}

.svg-container {
  flex: 1 1 480px;
  max-width: 700px;
  min-width: 260px;
  border: 2px solid #e4e7ec;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  background: #fff;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
  z-index: 1;
}

.svg-container:hover {
  box-shadow: 0 14px 40px rgba(122, 44, 160, 0.15);
  transform: translateY(-7px) scale(1.025);
}

.intervention-content {
  flex: 1 1 320px;
  max-width: 480px;
  min-width: 220px;
  margin-top: 60px;
  background: linear-gradient(120deg, #f8f6ff 80%, #f0f9f0 100%);
  padding: 2.5rem 2rem;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', Arial, sans-serif;
  border: 1.5px solid #e4e7ec;
  transition: box-shadow 0.22s, transform 0.18s, background 0.3s;
  position: relative;
  z-index: 1;
}

.intervention-content:hover {
  box-shadow: 0 14px 40px rgba(122, 44, 160, 0.13);
  transform: translateY(-7px) scale(1.025);
  background: linear-gradient(120deg, #f0f9f0 60%, #f8f6ff 100%);
}

.intervention-content h3 {
  font-size: 1.55rem;
  margin-bottom: 1.2rem;
  color: #7d3cff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.intervention-content p {
  font-size: 1.13rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .zone-d-intervention {
    gap: 1.5rem;
    padding: 2rem 0.5rem;
  }

  .svg-container,
  .intervention-content {
    max-width: 100%;
    min-width: 0;
    padding: 1.3rem;
    border-radius: 14px;
  }
}

@media (max-width: 700px) {
  .zone-d-intervention {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 0.2rem;
    gap: 1.1rem;
  }

  .zone-d-intervention h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .svg-container,
  .intervention-content {
    border-radius: 10px;
    padding: 1rem;
  }
}

/* Mode d'intervention */
.mode {
  padding: 56px 24px 48px 24px;
  background: #f9f5fc;
  border-radius: 22px;
  max-width: 1100px;
  margin: 48px auto;
  box-shadow: 0 8px 32px rgba(140, 63, 140, 0.07), 0 2px 0 #d1c4e9 inset;
  border: 2px solid #e4d9f3;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-header .line {
  flex: 1;
  height: 2px;
  background-color: var(--accent-color2, #a185bd);
  opacity: 0.3;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--accent-color2, #6a4d91);
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
}

.mode-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.mode-item {
  background: white;
  border-radius: 18px;
  padding: 24px;
  max-width: 420px;
  flex: 1 1 300px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.mode-item:hover {
  transform: translateY(-5px);
  border-color: #d1c4e9;
}

.mode-item img.icon {
  width: 56px;
  height: 56px;
  background: #efe6f9;
  border-radius: 50%;
  padding: 12px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.mode-item:hover img.icon {
  transform: scale(1.1) rotate(-2deg);
}

.mode-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #5a3f7a;
  margin-bottom: 8px;
}

.mode-hint {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 12px;
  font-style: italic;
}

.mode-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.mode-item.open {
  background: #f8f6ff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  border-color: var(--accent-color2, #f26698);
}

.mode-item:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--accent-color2, #f26698);
  background: #f9f9fd;
}

.mode-item .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  transition: filter 0.25s, transform 0.25s;
}

.mode-item:hover .icon {
  transform: rotate(-2deg) scale(1.09);
}

.mode-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  color: #555;
  visibility: hidden;
  min-height: 40px;
  box-sizing: border-box;
}

.mode-item.open .mode-content {
  max-height: 400px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 8px;
  visibility: visible;
  min-height: 40px;
}

.mode-item.open .mode-hint {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .mode-flex {
    gap: 12px;
  }

  .mode {
    padding: 28px 4px 20px 4px;
    border-radius: 16px;
  }

  .mode-item {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 16px;
  }
}

@media (max-width: 600px) {
  .section-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-header .line {
    max-width: 60px;
  }
  .mode-flex {
    gap: 8px;
  }
  .mode {
    padding: 16px 2px 10px 2px;
    border-radius: 10px;
  }
  .mode-item {
    padding: 10px;
    border-radius: 8px;
  }
}


/* Nos certification et partenaire */
.partenaires-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-header .line {
  flex: 1;
  height: 2px;
  background-color: #ccc;
  max-width: 120px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  font-family: "Chau Philomene One", "Poppins", sans-serif;
}

.partenaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.faq {
  background-color: var(--vertclair);
  padding: 4rem 2rem;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  color: #2b2b2b;
  text-align: center;
  margin: 40px auto 60px auto;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(80, 170, 160, 0.08), 0 1.5px 0 #a3e3dd inset;
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #a3e3dd1a 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.faq::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #72c5f41a 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.faq>* {
  position: relative;
  z-index: 1;
}

.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: #2893c5;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px #ecfefe;
}

.faq .line {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #2893c5 0%, #7cccb9 100%);
  margin: 1.2rem auto 2.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px #dff8fc;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(45, 180, 160, 0.08);
  border: 1.5px solid #c5eee8;
  transition: background 0.3s, box-shadow 0.22s, border-color 0.22s, transform 0.18s;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #7cccb933 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.faq-item>* {
  position: relative;
  z-index: 1;
}

.faq-item:hover {
  box-shadow: 0 12px 32px rgba(50, 180, 160, 0.12);
  border-color: #7cccb9;
  transform: translateY(-6px) scale(1.015);
  background-color: #f0fbfa;
}

.faq-item[open] {
  background-color: #e2f8f6;
  border-color: #2893c5;
}

.faq-item summary {
  font-size: 1.22rem;
  font-weight: 700;
  color: #268e80;
  cursor: pointer;
  outline: none;
  padding-right: 32px;
  position: relative;
  transition: color 0.3s;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.1rem;
  color: #2893c5;
  transition: transform 0.3s, color 0.3s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(-180deg);
  color: #7cccb9;
}

.faq-item p {
  margin-top: 0.85rem;
  font-size: 1.11rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
/* Responsive */
@media (max-width: 900px) {
  .faq {
    padding: 2.5rem 0.5rem;
  }

  .faq-item {
    padding: 1.2rem 1rem;
  }
   .footer-links li,
    .footer-nav li {
        margin: 0 0.7rem;
    }
}

@media (max-width: 600px) {
  .faq h2 {
    font-size: 1.5rem;
  }

  .faq .line {
    width: 50px;
    height: 3px;
  }

  .faq-item {
    padding: 1rem 0.7rem;
    border-radius: 10px;
  }

  .faq-list {
    padding: 0 2px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .faq h2 {
    font-size: 1.6rem;
  }

  .faq-item summary {
    font-size: 1.1rem;
  }

  .faq-item p {
    font-size: 1rem;
  }
   .footer-links li,
    .footer-nav li {
        margin: 0 0.7rem;
    }
}

.wave-top {
  position: relative;
  top: -1px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

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

.wave-bottom {
 position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
} 

.wave-footer {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  margin-top: -80px;
  z-index: 0;
}

.wave-footer svg {
  display: block;
  width: 100%;
  height: 100%;
}

.partenaire-item {
  background-color: #fff;
  padding: 1.7rem;
  border-radius: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5px solid #e4e7ec;
}

.partenaire-item:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
  border-color: #7d3cff;
}

.partenaire-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  height: 100px;
}

.partenaire-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partenaire-nom {
  font-size: 1.05rem;
  color: #555;
  margin: 0;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .section-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-header .line {
    max-width: 60px;
  }
  .partenaires-section {
    padding: 2rem 0.2rem;
  }
  .partenaire-item {
    padding: 0.8rem;
    border-radius: 8px;
  }
   .footer-links li,
    .footer-nav li {
        margin: 0 0.7rem;
    }
}

/* 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;
  align-items: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.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;
  justify-content: center;
}

 .footer-links li,
    .footer-nav li {
        margin: 0 0.7rem;
    }

.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;
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

  .footer-nav ul,
  .footer-links ul {
    flex-direction: column;
    text-align: center;
  }


.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  margin: 0 1rem;
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}


.autoShow {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.autoShow.visible {
  opacity: 1;
  transform: translateY(0);
}

#form {
  margin: 150px auto;
  padding: 50px;
  width: 80%;
  max-width: 600px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


@media (max-width: 600px) {
  .header {
    flex-direction: column;
    padding: 20px;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 18px;
  }
}

/* Barba.js */
.transition-wipe,
.transition-wipe-second {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #ffffff;
  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;
}