
:root {
  --bgColorBody: #f8f9fa;
  --bgColorFooter: #343a40;
  --bgColorMain: #a4cdf636;
  --primaryColor: #003366;
  --secondaryColor: #e6e6e6;
  --accentColor: #c8102e;
  --bleu: #003366;
  --blanc: #ffffff;
  --rouge: #c8102e;
  --bgColorHeader: rgba(9, 241, 241, 0.273);
  --accent: #c8102e;
  --muted: #6c757d;
  --card-bg: #ffffff;
}

 body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--gris-clair);
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

header {
  background: linear-gradient(to right, var(--bleu), var(--blanc), var(--rouge));
  color: var(--bleu);
  text-align: center;
  padding: 20px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

header p {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 1.3rem;
  font-weight: 500;
  color: #111;
}

.header--animated {
  background-size: 200% 200%;
  animation: headerShift 14s ease infinite;
}

@keyframes headerShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.center {
  text-align: center;
}

.slogan {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 1rem;
  color: var(--bleu);
}

section {
  padding: 20px 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bleu);
}

.section-subtitle {
  font-size: 1.4rem;
  color: #555;
  text-align: center;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  gap: 10px;
  /* width: 220px;
  background: linear-gradient(to right, #0055A4, #FFFFFF, #EF4135); */
  border-radius: 2px;
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
}

.highlight {
  font-weight: 600;
  text-align: center;
  font-size: 1.15rem;
  padding: 10px;
  border-left: 4px solid var(--bleu);
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
}



.btn {
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn-primary {
  background-color: var(--bleu);
  border: none;
  box-shadow: 0 6px 14px rgba(0,51,102,.15);
}

.btn-primary:focus {
  background-color: #002a57;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,51,102,.22);
}


.livre img {
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.livre img:hover {
  transform: scale(1.05);
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-left: 6px solid #003366;
}

.accordion-button {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #003366;
  flex-direction: column;
  align-items: flex-start;
}

.accordion-button .sous-titre {
  font-size: 0.9rem;
  color: #666;
  margin-top: 3px;
}

.accordion-button::after {
  margin-left: auto;
}

.accordion-body h5 {
  color: #003366;
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 4px;
  margin-top: 0.8rem;
}

.accordion-body ul {
  list-style: none;
  padding-left: 0;
}

.accordion-body ul li {
  position: relative;
  padding-left: 1.5rem;
}

.accordion-body ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #c8102e;
}

footer {
  position: relative;
  font-size: .95rem;
  letter-spacing: .2px;
  background-color: var(--bgColorFooter);
  color: var(--blanc);
  padding: 20px;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 4px;
  background: var(--bleu);
  opacity: .9;
}

footer a {
  color: rgb(112, 241, 241);
}

.mb40 {
    margin-bottom: 40px;
}
.mr40 {
    margin-right: 40px;
}
.mb80 {
    margin-bottom: 80px;
}

.presentation h3 {
  line-height: 1.2;
  margin-bottom: .75rem;
}

.presentation p {
  font-size: 1.1rem;
  text-align: justify;
}

.presentation img {
  border: 4px solid white;
}

a {
  text-align: center;
  text-decoration: none;
  color: #0d6efd;
}

img,
.presentation img,
.programme img,
.livre img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.img-hover {
  cursor: pointer;
}

.entete {
  background-color: var(--bgColorMain);
}

.programme {
  background-color: var(--bgColorMain);
}

.bloccolor {
  background-color: #e6e6e6;
}

#souverainete .section-title {
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 220px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--bleu), var(--blanc), var(--rouge));
  opacity: .9;
}

.quote-box {
  background: linear-gradient(180deg, rgba(0,51,102,0.04), rgba(200,200,200,0.02));
  border-left: 4px solid var(--bleu);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.quote-box blockquote {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bleu);
}
.quote-box figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.my-5 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.img-fluid {
  max-width: 50%;
  height: auto;
}

.img-fluid-2 {
  max-width: 75%;
  height: auto;
}

.img-fluid-3 {
  max-width: 100%;
  height: auto;
}

.callout {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  border-radius: 8px;
  margin-top: 1rem;
}
.callout-title {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #222;
}

.policy-list ul {
  padding-left: 1.15rem;
  margin: 10px 0 0 0;
}
.policy-list li {
  margin-bottom: 0.6rem;
}

.pill {
  background: linear-gradient(90deg, rgba(0,51,102,0.06), rgba(200,200,200,0.02));
  border: 1px solid rgba(0,0,0,0.06);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--bleu);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.reveal-subtle {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal-subtle.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-subtle {
    transition: none;
    transform: none;
    opacity: 1;
  }
  img, .btn { transition: none !important; }
  .header--animated { animation: none !important; }
}

@media (max-width: 767px) {

  .quote-box, .callout { 
    padding: 14px; 
  }

  #souverainete .section-title { 
    font-size: 1.6rem; 
  }

  .presentation {
    text-align: center;
  }

  .presentation h3 {
    margin-top: 20px;
  }

  section {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    width: 90%;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1.1rem;
  }

}
