/* Reset CSS de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  padding: 10px 20px;
  background-color: #f0f8ff ; /* #f0f8ff et #f0f8ff  */
  max-width: 1100px;
  margin: 0 auto;
}

header h1 {
  font-family: 'Gowun Batang', sans-serif;
  font-weight: 700;
  font-size: 68px;
  color: #E3FBFD;
  /* c8f3f9 ou E3FBFD*/
  text-align: center;
  background-image: url('ressource/wall-1hp.png');
  /*border: 6px solid #8bb5d9;    encadré */
  border-radius: 12px;         /* arrondis élégants */
  padding: 20px;               /* espace interne */
  width: calc(100% + 40px);    /* plus large que la zone de contenu */
  margin: 0 -20px 20px -20px;  /* décale vers les bords */
  text-shadow: 6px 6px 8px rgba(1, 0, 6, 0.8);
}
header h1:hover {
  color: #65e3f3;
  text-shadow: 12px 12px 20px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
  cursor: default;
}

h2 {
  display: block;
  width: calc(100% + 40px);
  margin: 8px 0px;
  color: #143d60;
  font-family: Merriweather, sans-serif;
  padding: 6px 10px;
  margin: 20px -10px;
  font-size: 24px;
  background-color: #a3c2d7;/* c8d9e4 ultra pale a3c2d7 ou le premier cfe4fb */
  border-radius: 8px;
  
}

h3 {
  color: #0295A9;
  font-family: Merriweather, sans-serif;
}
.ETS {
    color: #8B0000;
}
h4 {
  margin: 4px 0;
  color:#143d60 ;
  font-family: Merriweather, sans-serif;
}

ul {
  list-style: disc outside;
  padding-left: 0;
  margin-left: 1.2em;
}
li::marker {
  color: #0295A9; /* Par exemple, un vert/bleu frais */
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color:#010741;
  font-weight: 500;
  font-family: 'Sawarabi Gothic', sans-serif;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.line-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.3rem;
}

.line-flex h1,
.line-flex h3,
.line-flex p,
.line-flex li {
  margin: 0;
  flex: 1;
}

.align-right {
  white-space: nowrap;
  color: #1E3C65;
  font-weight: 400;
  font-size: 0.9em;
  font-family: 'Sawarabi Gothic', sans-serif;
  
}
.legal-footer {
  margin-top: 60px;  /* espace avec le contenu précédent */
  font-family: 'Sawarabi Gothic', sans-serif;
  padding: 15px 10px;
  font-size: 0.8em;
  text-align: center;
  color: #666;
  border-top: 1px solid #a3c2d7;
  margin-bottom: 40px; /* espace après la section légale */
}

/* ===================== */
/* NAVIGATION PRINCIPALE */
/* ===================== */

.main-nav {
  display: flex;
  justify-content: left; /* center */
  align-items: center;
  gap: 24px; /* espace entre les deux icônes */
  margin: 20px 0;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg, #a3c2d7);
  border-radius: var(--btn-radius, 8px);
  width: var(--btn-size, 64px);
  height: var(--btn-size, 64px);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color:var(--btn-hover-bg, #a3c2d7);
  transform: scale(1.05);
}

/* Active = quand on clique dessus (maintien du clic) */
.nav-btn:active {
  background-color: var(--btn-active-bg, #a3c2d7); /* couleur au clic */
  transform: scale(0.95); /* léger effet d’enfoncement */
}

.nav-btn svg {
  width: 80%;
  height: 80%;
  fill: var(--icon-color, #5e429c);
  transition: fill 0.3s ease;
}

.nav-btn:hover svg {
  fill: var(--icon-hover-color, #5e429c);
  
}
/* Icône pendant le clic */
.nav-btn:active svg {
  fill: var(--icon-active-color, #5e429c);
}
/* Trait en bold de l'icon */
.button-icon-svg {
  stroke: var(--icon-stroke, #5e429c); /* couleur du contour */
  stroke-width: var(--icon-stroke-width, 1.5px); /* épaisseur du contour */
  paint-order: stroke; /* force le contour à se dessiner sous le remplissage */
}

/* ✅ RESPONSIVE DESIGN POUR MOBILES */
@media (max-width: 768px) {
  html, body {
    padding: 10px;
  }

  header h1 {
    font-size: 42px;
    padding: 16px;
    text-align: center;
  }

  h2 {
    font-size: 20px;
    padding: 8px;
    margin: 16px -10px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  .line-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-btn {
    width: 48px;
    height: 48px;
  }

  .nav-btn svg {
    width: 24px;
    height: 24px;
  }

  li {
    font-size: 0.95em;
    line-height: 1.4;
  }

  .align-right {
    font-size: 0.8em;
    text-align: right;
  }

  .legal-footer {
    font-size: 0.75em;
    padding: 10px 6px;
    margin-bottom: 20px;
  }
}
/* CODE NON UTILISÉ*/

/* FOND AVEC DÉGRADÉ VERS L'INTÉRIEUR*/

 /*background-color: #19305c;   /* couleur de fond */
  /*border: 2px solid #143d60;   /* encadré */

/*text-shadow: 4px 4px 8px rgba(1, 0, 6, 0.8);
background: linear-gradient(to right, #19305C  , #25487D 50%, #19305C);/*Dégradé des bords vers le centre.*/

/*background: linear-gradient(to right, #25487D, #19305C 50%, #25487D);Dégradé des centre vers les bords.*/

/*header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border: 3px solid #143d60;
  border-radius: 8px;
  width: calc(100% + 40px);
}*/
/*
header .contact {
  text-align: right;
  font-size: 0.9em;
  line-height: 1.4;
}*/

