/* Supprime les marges et padding par défaut */
html, body {
    margin: 0;
    padding: 0;
}

h1{
    text-decoration: none;
    margin: 12px 14px;
    color: #022576;          
    font-size: 34px;
    font-weight: 840;
    text-align: center;
}

h2 { 
    text-align: left; 
    margin: 20px 32px; 
    font-size: 28px; 
    color: #0f3c8b;
 }
 h3{
    text-align: left; 
    margin: 26px 36px; 
    font-size: 22px; 
    color: #030b96;
 }

 p{
    margin: 16px 38px;
    line-height: 24px;
    font-size: 18px; 
    color: #010c24;
    
 }
 ol, ul{
    margin-left: 20px;
    font-size: 18px; 
    color: #010c24;
 }

 /* Figure (image + caption) */
figure {
    display: flex;
    flex-direction: column;   /* caption sous l'image */
    align-items: center;
    margin: 16px;
}

figure img {
    border-radius: 8px;
    width: 360px;

}

figure figcaption {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}


/* Header : logo à gauche, menu centré */
header {
    display: flex;
    align-items: center;           /* Centre verticalement */
    justify-content: flex-start; 
    padding: 4px 16px;
    background-color: #daebff;     /* Couleur de fond */
    gap: 80px; /* espace entre logo et menu */
}

/* Logo dans le header */
.logo {
    height: 64px;           /* Taille du logo */
    display: block;         /* Supprime l’espace sous l’image */
}

/* Menu centré */
nav {
    display: flex;
    justify-content: center;       /* Centre le menu */
}

nav ul {
    list-style: none;              /* Supprime les puces */
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;                /* Espacement entre les liens */
}

nav ul li a:hover{
    border-bottom: 2px solid #10013a;

}

/* Couleur des liens et style */
nav ul li a {
    text-decoration: none;
    color: #10013a;                /* Couleur personnalisée */
    font-size: 18px;
    font-weight: 840;
}

footer{
   background: #052472;
   color: #eaeff4;
   text-align: center;
   font-size: 16px;
   padding: 24px;
   margin-top: 64px;
}

footer img{
    height: 200px;
}

.Grid {
  display: flex;
  align-items: flex-start;   /* alignement vertical correct */
  gap: 48px;                 /* espace entre texte et image */
  max-width: 1100px;
  margin: 0px 52px;         /* centre le bloc */
  padding: 8px;
}

#texteherosection{
    color: #051c4f;
    line-height: 30px;
    font-size: 22px;
}
#hero{
background-color: #f8f8ff;
}
.Grid p {
    margin: 4px 0px;        /* pas de marge à gauche/droite */
    margin-top: 28px; /* juste un peu d’espace vertical */
    flex: 1;          /* prend tout l’espace restant */
}


.Grid figure {
  flex: 0 0 420px;
  text-align: center;
   margin-left: 32px;
}

.Grid img {
  width: 420px;
  height: auto;
  border-radius: 8px;
 
}

.imgrectangle{
    width: 470px;
    height: 220px;

}

/* tableau */

/* Style général du tableau */
table {
    width: 1200px;                /* Prend toute la largeur disponible */
    border-collapse: collapse;  /* Supprime les doubles bordures */
    margin: 20px;             /* Espacement au-dessus et en dessous */
    font-family: Arial, sans-serif;
    font-size: 16px;

}

/* Style des entêtes */
thead th {
    background-color: #002270;  /* Fond bleu foncé */
    color: #eff7ff;             /* Texte blanc */
    padding: 8px;
    text-align: left;
}

/* Style des lignes du corps */
tbody td {
    border: 1px solid #a4b0dc; /* Bordure grise claire */
    padding: 6px 10px;
    vertical-align: top;        /* Aligne le texte en haut */
}

/* Style du caption */
caption {
    caption-side: bottom;      /* Place la légende sous le tableau */
    text-align: center;
    font-style: italic;
    margin-top: 8px;
    color: #050452;
}

/* Liens dans le tableau */
table a {
    color: #002270;            /* Couleur des liens */
}

