
header {
    padding: 2rem;
    text-align: center;
    background-color: #18217e; /* Bleu foncé */
}

.logo-sdo {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    height: auto;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #1e293b; /* Bleu très foncé */
    color: #f1f5f9; /* Gris très clair */
}

nav {
    background-color: #475569;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

nav a {
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
}

section {
    max-width: 1350px;
    margin: auto;
    margin-top: 50px;
    padding: 2rem 1rem;
}

.section-with-image {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-with-image.reverse {
    flex-direction: row-reverse;
}

.image-col {
    flex: 1 1 300px;
}

.image-col img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 85px;
}

.text-col {
    flex: 2 1 500px;
}

h2 {
    color: #fec400; /* Jaune doux, rappel logo */
    font-size: 1.5rem;
}

.fade-slide {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-slide.left {
    transform: translateX(-50px);
}

.fade-slide.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form-section {
  background-color: #1e293b;
  padding: 40px 20px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1em;
  border-radius: 4px;
  width: 100%;
}

.contact-form button {
  background-color: #005eaa;
  color: white;
  padding: 12px;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #00447f;
}

.form-message {
  margin-top: 15px;
  font-weight: bold;
  font-size: 1em;
  color: green;
}

.form-message.error {
  color: red;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

#toast-root {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.toast {
  min-width: 240px;
  max-width: 340px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
  background: #0f766e;      /* succès */
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  display: flex;
  gap: 10px;
  align-items: start;
  text-align: center;
  animation: toast-in .22s ease-out;
}
.toast.error { background: #b91c1c; }  /* erreur */
.toast button {
  appearance: none; border: 0; background: transparent;
  color: #fff; cursor: pointer; font-size: 18px; line-height: 1; margin-left: auto;
}
@keyframes toast-in {
  from { opacity:0; transform: translate(-50%,-6px) }
  to   { opacity:1; transform: translate(-50%,0) }
}



@media (max-width: 768px) {
    .section-with-image {
        flex-direction: column !important;
    }

    .image-col,
    .text-col {
        flex: 1 1 100%;
    }

    .logo-sdo {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0 1rem;
    }
	
	nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    nav a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }
	
    section {
        padding: 1rem 0.5rem;
    }

    .text-col {
        padding: 0 0.5rem;
    }

    ul {
        padding-left: 1.5rem;
    }

    .contact-form {
        padding: 0 0.5rem;
    }

    .image-col img {
        margin-top: 0; /* Supprimer le gros décalage vertical sur mobile */
