:root {
  --bg-color: #E9F0FF;
  --panel-color: #ffffff;
  --panel-soft: #F8FBFF;
  --text-color: #1F2937;
  --muted-color: #475569;

  --accent-color: #2563EB;
  --accent-soft: #F59E0B;

  --blue-color: #2563EB;

  --border-color: rgba(37, 99, 235, 0.15);
  --shadow-color: rgba(37, 99, 235, 0.12);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background: linear-gradient(
    135deg,
    #E9F0FF 0%,
    #F0F5FF 50%,
    #EFF7FF 100%
  );
}
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container-fluid.site-style {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    rgba(233,240,255,0.95) 0%,
    rgba(240,245,255,0.95) 100%
  );
  padding: 2.5rem 1rem 3rem;
  padding-left: calc(18rem + 1rem);
}

.container-fluid.site-style > .row {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.green-style,
.text-zone {
  background: #ffffff;
  border: 1px solid rgba(37,99,235,0.15);
  box-shadow: 0 15px 35px rgba(37,99,235,0.12);
  border-radius: 20px;
}

.text-center {
  text-align: center;
}

.text-zone {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 24px;
  padding: 2.5rem;
  color: var(--text-color);
}

h3.text-center {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.title-par,
.title-acceuil,
.text-para {
  color: var(--text-color);
}

.title-par {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.title-acceuil {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 700;
}

.green-line {
  width: 140px;
  height: 5px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(96, 165, 250, 1));
  margin: 1rem 0 1.75rem;
  border-radius: 999px;
}

.text-para {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #334155;
  margin-bottom: 1.75rem;
}

.text-image {
  display: block;
  max-width: 100%;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;

  border-radius: 20px;
  border: 2px solid rgba(217, 119, 6, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.logo {
  max-width: 260px;
  border-radius: 18px;
  border: 2px solid rgba(217, 119, 6, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.carousel .carousel-item img {
  border-radius: 20px;
  height: 340px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 3rem;
  height: 3rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 4rem;
  height: 4rem;
  top: 50%;
  transform: translateY(-50%);
}

.col-md-4 {
  position: relative;
  height: fit-content;
}

.nav.flex-column.nav-tabs {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
  width: 280px;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;

  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.nav-item.btn-custom {
  margin-bottom: 0;
}

.nav-link.btn-script {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid rgba(37, 99, 235, 0.2);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 1.15rem;
  min-height: 70px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.nav-link.btn-script:hover,
.nav-link.btn-script.active {
  background: linear-gradient(
      135deg,
      #2563EB,
      #f59e0b
  );
  color: white !important;
  border-color: transparent;
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.btn-custom:hover {
  background: rgba(37, 99, 235, 0.05);
}

.row.content-row {
  gap: 1.5rem;
}

.col-md-8.green-style,
.col-md-8.text-zone,
.col-md-8,
.col-md-4,
.col-md-12 {
  position: relative;
}

.text-zone {
  overflow: hidden;
}

.footer-text {
  color: #3a3a3a;
  padding: 2.5rem 1.5rem 1.5rem;
  border-top: 2px solid rgba(217, 119, 6, 0.15);
  margin: 2.5rem auto 0;
  max-width: 960px;
  font-size: 1.1rem;
  line-height: 1.9;
}

.green-footer-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563EB, transparent);
  margin: 1.5rem auto;
}

.link-footer {
  color: #2563EB;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.link-footer:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.btn-mail {
  background-color: #2563EB;
  color: #ffffff;
  border-radius: 999px;
  padding: 1.3rem 2.5rem;
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
  min-height: 60px;
  min-width: 200px;
}

.btn-mail:hover {
  background-color: #1D4ED8;
}

.btn-mail:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.35);
  background-color: #b45309;
}

.green-script {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .carousel-item img {
    height: 280px;
  }

  .title-acceuil {
    font-size: 2.2rem;
  }

  h3.text-center {
    font-size: 2rem;
  }

  .nav.flex-column.nav-tabs {
    position: fixed;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-height: 220px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .container-fluid.site-style {
    padding-left: 1rem;
  }

  .nav-link.btn-script {
    min-height: 55px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .container-fluid.site-style {
    padding-top: 1.5rem;
    padding-left: 1rem;
  }

  .green-style {
    padding: 1.5rem;
  }

  .text-zone {
    padding: 1.5rem;
  }

  .nav-link.btn-script {
    padding: 1rem 1rem;
    font-size: 1rem;
    min-height: 55px;
  }

  .carousel-item img {
    height: 220px;
  }

  .title-acceuil {
    font-size: 1.75rem;
  }

  h3.text-center {
    font-size: 1.75rem;
  }

  .text-para {
    font-size: 1.15rem;
  }

  .nav.flex-column.nav-tabs {
    position: fixed;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-height: 220px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
}
.green-style {
  padding: 25px;
  overflow: hidden;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.text-zone {
  min-height: 100%;
}

/* Accessibilité et améliorations pour personnes âgées */
a, button, .nav-link {
  outline: 3px solid transparent;
  transition: outline 0.2s ease;
}

a:focus, button:focus, .nav-link:focus {
  outline: 3px solid #d97706;
  outline-offset: 2px;
}

.svg {
  width: 28px;
  height: 28px;
}

/* Augmenter la taille du texte des liens */
a {
  font-size: 1.1rem;
}

/* Améliorer la visibilité des éléments interactifs */
button, .btn-mail, .nav-link.btn-script {
  cursor: pointer;
  user-select: none;
}

/* Améliorer le contraste du texte */
.text-para, .footer-text {
  color: #2b2520;
}

/* Améliorer les espacements */
p {
  margin-bottom: 1.5rem;
}