/* Fichier CSS pour autre 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");
@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&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  scroll-behavior: smooth;
}

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

/* Corps */
:root {
  --primary-color: #374151;
  --secondary-color: #facc15;
  --secondary-colorb: #f7d26dc4;
  --accent-color: #3c8c3f;
  --roseclair: #fef1f6;
  --vertclair: #f0f9f0;
  --accent-color2: #f26698;
  --text-color: #2b2b2b;
  --bg-color: #ffffff;
  --neutral-white: #ffffff;
  --neutral-gray: #e4e7ec;
  --bleu: #00BCD4;
  --bleuclair: #E0F7FA;
}

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;
  background-color: var(--neutral-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#logo {
  max-width: 130px;
  height: auto;
  display: block;
}

.top-page {
  font-weight: 300;
  font-size: larger;
  background-color: var(--roseclair);
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: 20px;
  list-style: none;
  font-size: 18px;
}

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

.nav a {
  cursor: pointer;
  position: relative;
  color: var(--primary-color);
  transition: color 0.3s;
}

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

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

.nav a:hover::after {
  width: 100%;
}

/* Timeline améliorée */
.tl {
  max-width: 950px;
  margin: 3em auto;
  padding: 32px 24px;
  background: linear-gradient(135deg, #fff 80%, var(--roseclair) 100%);
  box-shadow: 0 8px 32px rgba(242, 102, 152, 0.08), 0 6px 0 var(--accent-color2) inset;
  border-radius: 18px;
  font-family: "Poppins", sans-serif;
  color: #333;
  position: relative;
}

.tl h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 2em;
  text-align: center;
  color: var(--accent-color2);
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-color2), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.presentation-text {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px;
  background: linear-gradient(120deg, #fff 70%, var(--roseclair) 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(60, 140, 63, 0.08);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--primary-color);
  text-align: center;
  font-weight: 400;
  border-left: 6px solid var(--accent-color2);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.presentation-text:hover {
  box-shadow: 0 8px 32px rgba(60, 140, 63, 0.13);
  border-left: 6px solid var(--bleu);
}

@media (max-width: 700px) {
  .tl {
    padding: 16px 6px;
    border-radius: 10px;
  }

  .tl h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2em;
  }

  .presentation-text {
    padding: 16px 8px;
    font-size: 1rem;
    border-radius: 10px;
  }
}

/* Timeline horizontale */
#timeline-horizontal {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  border-top: 4px solid var(--accent-color2);
  position: relative;
  margin: 0;
}

#timeline-horizontal li {
  position: relative;
  width: 30%;
  padding-top: 50px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#timeline-horizontal li:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.12);
}

#timeline-horizontal li::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background: var(--primary-color);
  border: 5px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-color);
  z-index: 10;
}

/* Date style */
#timeline-horizontal .date {
  display: block;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1em;
  letter-spacing: 0.04em;
}

/* Title style */
#timeline-horizontal h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2em;
}

/* Text under title */
#timeline-horizontal p {
  font-size: 1em;
  color: #555;
  line-height: 1.5em;
  margin: 0 auto 20px;
  max-width: 90%;
  text-align: center;
  font-weight: 400;
  user-select: none;
}

/* Responsive : vertical on small screens */
@media (max-width: 600px) {
  #timeline-horizontal {
    flex-direction: column;
    border-top: none;
    border-left: 4px solid var(--accent-color2);
    padding-left: 20px;
  }

  #timeline-horizontal li {
    width: auto;
    padding-left: 40px;
    padding-top: 25px;
    text-align: left;
    margin-bottom: 35px;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  #timeline-horizontal li:hover {
    transform: none;
    box-shadow: none;
  }

  #timeline-horizontal li::before {
    top: 10px;
    left: 0;
    transform: none;
    width: 20px;
    height: 20px;
    border-width: 4px;
  }

  #timeline-horizontal .date,
  #timeline-horizontal h3,
  #timeline-horizontal p {
    text-align: left;
    max-width: 100%;
  }
}

/* Section nos valeurs - version simplifiée */
.Valeurs {
  padding: 32px 12px;
  text-align: center;
  margin: 0 auto 32px auto;
  background: var(--roseclair);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(242, 102, 152, 0.07);
  max-width: 900px;
  animation: fadeInUp 0.7s;
}

.Valeurs h1 {
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  font-size: 2rem;
  color: var(--accent-color2);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.value-item1,
.value-item2,
.value-item3 {
  background: #fff;
  color: var(--primary-color);
  padding: 20px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(60, 140, 63, 0.07);
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 180px;
  border-left: 5px solid var(--accent-color2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-item2 {
  border-left-color: var(--secondary-color);
}

.value-item3 {
  border-left-color: var(--accent-color);
}

.value-item1:hover,
.value-item2:hover,
.value-item3:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 24px rgba(60, 140, 63, 0.13);
}

.value-item1 h2,
.value-item2 h2,
.value-item3 h2 {
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: inherit;
  font-weight: 700;
}

.value-item1 p,
.value-item2 p,
.value-item3 p {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--primary-color);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .values-container {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .value-item1,
  .value-item2,
  .value-item3 {
    max-width: 98vw;
    min-width: 0;
    padding: 16px 8px;
  }

  .Valeurs {
    padding: 16px 2px;
  }

  .Valeurs h1 {
    font-size: 1.2rem;
  }
}

/* Présentation -  */
.presentation-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  background: var(--neutral-white);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(60, 140, 63, 0.10), 0 2px 0 var(--accent-color2) inset;
  margin: 2.5rem auto;
  max-width: 1000px;
  border: none;
  animation: fadeInUp 1s cubic-bezier(.39, .575, .565, 1.000);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.presentation-section h2 {
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  color: var(--accent-color2);
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
  border: none;
  background: none;
  -webkit-text-fill-color: initial;
  animation: fadeIn 1.2s 0.2s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slider-column,
.text-column {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-column {
  align-items: flex-start;
  gap: 1.2rem;
}

.text-column p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--primary-color);
  background: var(--bleuclair);
  padding: 18px 22px;
  border-radius: 14px;
  line-height: 1.7;
  border-left: 5px solid var(--accent-color2);
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(60, 140, 63, 0.06);
  animation: fadeInLeft 1s 0.3s both;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.text-column p:hover {
  box-shadow: 0 6px 24px rgba(60, 140, 63, 0.13);
  border-left: 5px solid var(--accent-color);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.presentation-speech {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--primary-color);
  background: var(--roseclair);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  margin-top: 1rem;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 2px 10px rgba(242, 102, 152, 0.08);
  animation: fadeInRight 1s 0.5s both;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.presentation-speech:hover {
  box-shadow: 0 6px 24px rgba(242, 102, 152, 0.13);
  border-left: 5px solid var(--accent-color2);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .presentation-section {
    flex-direction: column;
    padding: 1.5rem 0.5rem;
    gap: 1.5rem;
  }

  .slider-column,
  .text-column {
    min-width: 0;
    width: 100%;
  }

  .presentation-section h2 {
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
  }

  .text-column p,
  .presentation-speech {
    font-size: 1rem;
    padding: 1rem 0.8rem;
    border-radius: 12px;
  }
}

span .switch-name {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding: 0.15rem 0.4rem;
  transition: color 0.3s;
}

.switch-name::after {
  content: "";
  font-size: 0.95em;
  color: #bdbdbd;
  transition: opacity 0.3s, color 0.3s;
  opacity: 0;
  margin-left: 0.2em;
}

.switch-name:hover {
  color: var(--accent-color2);
}
.switch-name:hover::after {
  content: "(Cé li Autonomie à Domicile)";
  color: var(--accent-color2);
  opacity: 1;
}
#logo-clone {
  transition: none !important;
  animation: none !important;
}

/* Responsive */
@media (max-width: 768px) {

  .slider-column,
  .text-column {
    flex: 1 1 100%;
    min-width: auto;
  }

  .presentation-section {
    padding: 1rem;
  }

  .presentation-section h2 {
    font-size: 1.5rem;
  }

  .text-column p {
    font-size: 1rem;
  }
}

/* President speech - version simple sans dégradé */
.mot-président {
  background: var(--neutral-white);
  padding: 36px 28px;
  border-radius: 18px;
  max-width: 700px;
  margin: 48px auto;
  border-left: 7px solid var(--accent-color);
  text-align: center;
  position: relative;
  animation: fadeInUp 1s cubic-bezier(.39, .575, .565, 1.000);
}

.mot-président h1 {
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: none;
  -webkit-text-fill-color: initial;
}

.mot-président blockquote {
  font-family: "Poppins", sans-serif;
  font-size: 1.18rem;
  font-style: italic;
  color: var(--primary-color);
  background: var(--vertclair);
  border-left: 5px solid var(--accent-color);
  border-radius: 10px;
  margin: 0 auto 22px auto;
  padding: 18px 28px;
  max-width: 540px;
  box-shadow: 0 4px 18px rgba(60, 140, 63, 0.08);
  position: relative;
}

.mot-président blockquote::before,
.mot-président blockquote::after {
  content: "“";
  font-size: 2.5rem;
  color: var(--accent-color2);
  position: absolute;
  opacity: 0.18;
  font-family: serif;
}

.mot-président blockquote::before {
  left: 10px;
  top: 2px;
}

.mot-président blockquote::after {
  content: "”";
  right: 10px;
  bottom: 2px;
}

.mot-président p {
  margin: 14px 0 0 0;
  font-size: 1.08rem;
  color: var(--primary-color);
  line-height: 1.7;
  font-family: "Poppins", sans-serif;
}

.mot-président .signature {
  margin-top: 22px;
  font-weight: bold;
  text-align: right;
  font-family: "Poppins", sans-serif;
  color: var(--accent-color);
  font-size: 1.15rem;
  letter-spacing: 1px;
  background: none;
  border: none;
  display: block;
  padding-right: 10px;
  position: relative;
  margin-left: auto;
}

@media (max-width: 800px) {
  .mot-président {
    padding: 18px 6px;
    border-radius: 10px;
    max-width: 98vw;
  }

  .mot-président h1 {
    font-size: 1.3rem;
  }

  .mot-président blockquote {
    font-size: 1rem;
    padding: 10px 8px;
    border-radius: 7px;
    max-width: 98vw;
  }

  .mot-président .signature {
    font-size: 1rem;
    padding-right: 0;
  }
}

/* Temoignage */
.temoignage {
  max-width: 1200px;
  margin: 60px auto;
  padding: 24px;
  background: var(--roseclair);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(242, 102, 152, 0.08);
  text-align: center;
  color: var(--primary-color);
}

.temoignage h1 {
  font-size: 2em;
  color: var(--accent-color2);
  margin-bottom: 10px;
  background: none;
  border-radius: 14px;
  padding: 10px 0;
  font-family: "Chau Philomene One", "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.temoignage h2 {
  color: var(--accent-color2);
  margin-bottom: 30px;
  background: var(--neutral-white);
  padding: 10px;
  border-radius: 14px;
  font-size: 1.5em;
  box-shadow: 0 2px 8px rgba(242, 102, 152, 0.07);
  font-weight: 600;
}

.temoignage p {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Conteneur flex pour aligner horizontalement */
.temoignage-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

/* Carte de témoignage */
.temoignage-card {
  background: #fff;
  border-left: 5px solid var(--accent-color2);
  padding: 22px 18px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(60, 140, 63, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, border-color 0.3s;
  border-top: 4px solid var(--secondary-color);
}

.temoignage-card:hover {
  box-shadow: 0 8px 32px rgba(60, 140, 63, 0.13);
  border-left: 5px solid var(--accent-color);
  border-top: 4px solid var(--accent-color2);
}

.temoignage-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 2px 8px rgba(242, 102, 152, 0.10);
}

.temoignage-card .client-info {
  font-weight: bold;
  color: var(--accent-color2);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  font-size: 1.05em;
}

.temoignage-card .temoignage-text {
  font-style: italic;
  color: var(--primary-color);
  background: var(--bleuclair);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(0, 188, 212, 0.07);
  font-size: 1em;
}

.temoignage-card span {
  font-weight: bold;
  color: var(--secondary-color);
  font-size: 0.85em;
  letter-spacing: 0.2px;
}

/* Responsive */
@media (max-width: 900px) {
  .temoignage-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .temoignage-card {
    width: 98vw;
    max-width: 350px;
    padding: 16px 8px;
  }

  .temoignage {
    padding: 12px 2px;
    border-radius: 10px;
  }

  .temoignage h1 {
    font-size: 1.3rem;
  }

  .temoignage h2 {
    font-size: 1.1rem;
    padding: 8px;
  }
}

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

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

/* 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;
}

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

@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;
  transform: translateX(-100%);
  background-color: #ffffff;
  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;
}
.transition-wipe,
.transition-wipe-second,
[data-barba="container"] {
  will-change: transform, opacity, filter;
}