h1 {
    color:#2C5364;
    text-align: center;
}

p, h2, h3 {
    text-align: center;
}

.bloc_paragraphe {
  
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background-color: skyblue;
    border-radius: 30% 70% 44% 56% / 66% 32% 68% 34% ;
    padding: 80px;
    width: 40%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
    
}

.bloc_paragraphe2 {
  
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background-color: rgb(31, 125, 231);
    border-radius: 18% 82% 97% 3% / 81% 58% 42% 19%  ;
    padding: 80px;
    width: 40%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
    
}

.bloc_paragraphe3 {
  
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background-color: rgb(53, 108, 172);
    border-radius: 18% 82% 69% 31% / 44% 71% 29% 56% ;
    padding: 80px;
    width: 40%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
    
}

.bloc_paragraphe4 {
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background-color: rgb(72, 104, 141);
    border-radius: 33% 67% 36% 64% / 88% 3% 97% 12%  ;
    padding: 80px;
    width: 40%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
}

.bloc_ul {
  
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background: #058c9b;
    border-radius: 67% 33% 76% 24% / 25% 76% 24% 75% ;
    padding: 80px;
    width: 30%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
    
}

.bloc_ul2 {
  
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background: #058c9b;
    border-radius: 69% 31% 36% 64% / 49% 53% 47% 51%  ;
    padding: 80px;
    width: 30%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
    
}

.bloc_ul3 {
  
    margin: 20;
    border-radius: 5px;
    font-size: 15px;
    background: #058c9b;
    border-radius: 8% 92% 0% 100% / 64% 34% 66% 36%   ;
    padding: 80px;
    width: 30%;               /* Largeur limitée pour que les marges soient visibles */
    margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
    margin-right: auto;
    text-align: center;
    
}

.titre_page {
    color:black
}


h1 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700 !important;
  font-style: normal;
  font-size: 42px;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700 !important;
  font-style: normal;
  font-size: 30px;
}

h3 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
}

p {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

ul {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px
}

h4 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.type_ia {
    text-align: center;
    font-size: 20px;
}


/* Avantages / Inconvénients Page 1 */

.encadres {
  display: flex;
  gap: 20px;
  max-width: 900px;
  margin: 20px auto;
}

.box {
  flex: 1;
  padding: 15px;
  border: 2px solid;
  border-radius: 8px;
  background-color: #f8f8f8;
}

.box h4 {
  margin-top: 0;
  text-align: center;
}

/* Avantages */
.avantages {
  border-color: #2ecc71;
}

.avantages h4 {
  color: #2ecc71;
}

/* Inconvénients */
.inconvenients {
  border-color: #e74c3c;
}

.inconvenients h4 {
  color: #e74c3c;
}



/* MENU DE NAVIGATION */

nav {
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, #046D79, #00B4D8);
    position: sticky;
    top: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
    width: 16.66%;
    text-align: center;
}

/* Évite la hauteur nulle */
nav ul::after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    position: relative; /* important pour l'animation */
    display: block;
    text-decoration: none;
    color: white;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
}

/* Barre de chargement */
nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #00F5D4;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Animation au survol */
nav a:hover::after {
    transform: scaleX(1);
}

nav a:hover {
    color: #00F5D4;
}



/* FOOTER (SOURCES) */

.footer {
  position: static;
  bottom: 0;
  left: 0;
  width: 100%;
  
  color: white;
  text-align: center;
  padding: 1px 0;

  border-bottom: 1px solid #000; /* Bordure en bas */
  font-size: 14px;
  z-index: 1000;

  background: #0F2027;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

/* Pour éviter que le footer cache le contenu */
body {
  padding-bottom: 0px;
}

body {
    background-color: #acd8f8;
    margin: 0
}


img {
    width: 500px;
    border-radius: 15px;
    border: 4px solid #2eccaa;
    display: block;
    margin: 0 auto;
}

.p_page2 {
  border: 2px solid #333;
  padding: 15px;
  margin: 20px 0;
  border-radius: 10px;
  background-color: #fafafa;
  width: 70%;
  text-align: center;
  margin-left: auto;        /* Centre l'encadré et crée une marge égale des deux côtés */
  margin-right: auto;

  
  transition: 
    transform 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.p_page2:hover {
  transform: scale(1.02); /* zoom progressif */
  background-color: #e6f0ff; /* changement de couleur */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}




.encadre {
  padding: 25px;
  margin: 30px 0;
  background-color: #f4f8ff;
  border: 2px solid #4a90e2;
  border-radius: 10px;

  /* animation */
  transition: 
    transform 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.encadre:hover {
  transform: scale(1.04);
  background-color: #e6f0ff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* style interne des paragraphes */
.encadre p {
  margin: 0 0 15px 0;
}

.encadre p:last-child {
  margin-bottom: 0;
}

.bloc_paragraphe:hover,
.bloc_paragraphe2:hover,
.bloc_paragraphe3:hover,
.bloc_paragraphe4:hover {
  box-shadow: 
    0 0 20px rgba(0, 180, 216, 0.6),
    0 0 40px rgba(0, 180, 216, 0.3);
}


