* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    
}


/* En-tête */

header {
    background-color: #02519b;
    color: white;
    text-align: center;
    padding: 10px 0;
    background-image: url(https://img.freepik.com/premium-vector/abstract-dark-blue-lines-and-shape-background-design_301033-349.jpg);
    position: relative;
    width: 100%;
    transition: all 0.5s ease;
    z-index: 1000;
}

header h1 {
    font-size: 2.5rem;
}

header.sticky {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: -8%;
}


/* Navigation */

nav {
    background-color: #044f95;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 25px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #ff6f61;
}

/* Hamburger menu - mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 20px;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile behavior */
@media (max-width: 768px) {
  nav.menu {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #044f95;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 10px 0;
  }
  nav.menu.active {
    transform: translateX(0);
  }
  nav.menu ul {
    flex-direction: column;
  }
  nav.menu ul li {
    margin: 10px 0;
  }
  .hamburger {
    display: flex;
  }
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}



/* Sections principales */

section {
    margin: 20px 0;
}

h2 {
    font-size: 2rem;
    color: #1962a7;
    margin-bottom: 15px;
}


/* Footer */

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer p {
    font-size: 1rem;
}


/* Style des boutons */

button {
    background-color: #0055a5;
    color: white;
    border: none;
    border-radius: 4cap;
    padding: 6px 22px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    max-width: 155px;
    margin-top: 10px;
}

button:hover {
    background-color: #ff6f61;
}

.button-centre,
.buttoncentral {
    text-align: center;
    margin-top: 2%;
    padding-bottom: 3%;
    font-size: 2em;
    
}


/* Conteneur principal */
.grille-defilante-container {
  position: relative;
  max-width: 1230px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Grille défilante horizontale */
.grille-defilante {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 270px;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
}

.grille-defilante::-webkit-scrollbar {
  display: none;
}
.grille-defilante {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bs:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 64, 128, 0.6);
}


/* Boutons de défilement */
.btn-defilement {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,64,128,0.8);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 6vh;
  z-index: 10;
  transition: background 0.3s ease;
}
.btn-defilement:hover {
  background: #002550;
}
.btn-gauche {
  left: 7px;
}
.btn-droite {
  right: 7px;
}

/* Blocs de service */

.bs {
    border: 1px solid #f4f4f4;
    border-radius: 5px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90vw;
    max-width: 285px;
    height: auto;
    padding: 10px;
    margin: 10px;
    padding-top: 4%;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}



.bs:hover {
    color: #000;
    transform: translateY(-20px);
}


/* Images services */

.i1 {
    width: 100%;
    height: 160px;
    object-fit: cover;
    padding: 0;
    border-radius: 5px;
}


/* Texte service */

.ts1 h4 {
    font-size: 1rem;
    margin-top: 10px;
}

.listsection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 5px;
}

.TS {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #fff;
}


/* Footer stylé */

.site-footer {
    background-color: #222;
    color: #f1f1f1;
    padding: 50px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-brand h2 {
    font-size: 24px;
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 14px;
    margin: 5px 0;
}

.footer-socials a {
    color: #ccc;
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 13px;
    color: #aaa;
}


/* Section Contact */

.contact-section {
    text-align: center;
    padding: 50px;
    background-color: #d3cece;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-decoration: underline;
}

.contact-div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-formulaire {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin-left: 8%;
    
}

.contact-formulaire form {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: #0055a5;
    padding: 30px;
    border-radius: 10px;
}

.contact-formulaire input[type="text"],
.contact-formulaire input[type="email"],
.contact-formulaire select,
.contact-formulaire textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-formulaire input[type="submit"],
.contact-formulaire input[type="reset"] {
    background-color: #ff5722;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    height: 40px;
    width: 110px;
    margin-top: 10px;
}

.contact-formulaire input[type="reset"] {
    margin-left: 8%;
}

.contact-formulaire input[type="submit"]:hover {
    background-color: #e64a19;
}

.contact-image {
    flex: 1;
    min-width: 300px;
}

.contact-image img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 10px;
}

fieldset {
    margin-left: 8%;
    background-color: #fff;
    border-radius: 3%;
}

   

/* À propos */

.apropos {
    background-color: #d3cece;
    border-radius: 3%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.aproposimg {
    border-radius: 10px;
    margin-top: 4%;
}

.aproposdiv {
    display: flex;
    justify-content: space-around;
}

.apropostxt {
    text-align: center;
    margin-top: 3%;
}

.aproposbutton {
    text-align: left;
    margin-left: 4%;
    height: 20vh;
}


/* Services "À propos" */

.apropsservices {
    background-color: #d3cece;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.apstxt {
    max-width: 1200px;
    margin: auto;
}

.apstitre {
  font-size: 32px;
  text-align: center;
  color: #003669;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 30px
}

.apstitre::after{
  content: "";
  position: absolute;
  width: 100px;
  height: 4px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #13265a, #2f6ac8);
  border-radius: 8px;

}

.apspara {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #444;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.apsbloc {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.apsbloc:hover {
    transform: translateY(-15px);
}

.apsbloc h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0055a5;
}

.apsbloc p {
    font-size: 16px;
    color: #555;
}

blockquote {
    margin-top: 15px;
    font-style: italic;
    color: #0048e3;
    border-left: 4px solid #a5d6a7;
    padding-left: 10px;
}

.apsdiv {
    border-radius: 3%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


/* Responsive Menu */

@media (max-width: 650px) {
    nav ul li {
        display: block;
        margin: 10px 0;
        height: auto;
        width: auto;
    }
    header h1 {
        font-size: 1rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    
    
    
   header.sticky {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: -25%;
    }
    

     .contact-formulaire {
        padding: 15px;
    }
    .contact-formulaire form {
        padding: 20px 10px;
    }
    .button-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-right: 0;
    }
    .contact-formulaire input[type="submit"],
    .contact-formulaire input[type="reset"] {
        width: 100%;
        max-width: 250px;
        margin-left: 0;
    }

    
}

.section1 {
  position: relative;
  height: 80vh;
  background: url('https://3.bp.blogspot.com/-BT711Yk_6Dw/WsUzoKt1vZI/AAAAAAAAIn4/Hn0TMEP6jGs_NZYmEvGB9cvERf8lCsz_QCLcBGAs/w1200-h630-p-k-no-nu/El%2Barbitraje%2Ben%2Bla%2Bsoluci%25C3%25B3n%2Bde%2Bcontroversias.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  margin-top: -2%;
}

.section1_para {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 25px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  
}

.section1_titre {
  max-width: 900px;
}

#text_ecrite {
  font-size: 3.2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  border-right: 3px solid white;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 auto 20px;
  width: fit-content;
}

#text_ecrite.typing {
  animation: typing 4s steps(40, end), blink 0.75s step-end infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  font-weight: 300;
}

.sbtn{
  padding-top: 3%;
}

.hero-btn {
  padding: 15px 30px;
  background:  #044f95;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
  margin-bottom: 40px;
  display: inline-block;
}

.hero-btn:hover {
  background:  #044f95;
}

.hero-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.highlight i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color:  #1313ff;
}

.highlight p {
  font-size: 1rem;
  font-weight: 400;
}

/* Animation */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent; }
}


.section-produits {
  padding: 80px 20px;
  background: #f4f4f4;
  text-align: center;
}

.container-produits {
  max-width: 1200px;
  margin: 0 auto;
}

.titre-produits {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #2c3e50;
  font-family: 'Playfair Display', serif;
}

.grille-produits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.produit {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.produit:hover {
  transform: translateY(-10px);
}

.produit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.produit h3 {
  font-size: 1.4rem;
  margin: 15px 0 5px;
  color: #1abc9c;
}

.produit p {
  font-size: 1rem;
  color: #555;
  padding: 0 15px 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .titre-produits {
    font-size: 2rem;
  }
}
