

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --thot-page-gutter: clamp(16px, 1.6vw, 24px);
  --thot-page-gutter-mobile: 10px;
  --thot-page-max: 1920px;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background : url('../../assets/images/fond.jpg') center  fixed;
}
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thot-full-bleed,
.thot-app-header,
.thot-page-background {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  min-width: 0;
}

.thot-main-shell,
.thot-page-shell,
.thot-content-shell,
.thot-header-inner {
  width: min(calc(100% - (var(--thot-page-gutter) * 2)), var(--thot-page-max));
  max-width: none;
  margin-inline: auto;
  min-width: 0;
}

.thot-app-header {
  position: relative;
  z-index: 100;
}

.thot-app-header .menu-container,
.thot-app-header > .breadcrumb-bar {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.thot-app-header > .breadcrumb-bar {
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

.thot-header-inner--desktop {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  justify-content: space-between;
}

.content {
  flex: 0 0 auto; /* ❗ ne pousse PAS le footer */
  min-height: 100vh; /* occupe au moins l’écran */
}

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

@media (max-width: 760px) {
  .thot-main-shell,
  .thot-page-shell,
  .thot-content-shell,
  .thot-header-inner {
    width: calc(100% - (var(--thot-page-gutter-mobile) * 2));
  }

  #container_articles,
  body.contenu {
    width: calc(100% - (var(--thot-page-gutter-mobile) * 2));
  }
}

/* footer */
footer {
  background: #000;
  color: #fff;
  padding: 15px;
}

/********************/
.container
 {
    display:flex;
}
.col1
{
 width:7%;
}
.col2
{
  width:93%;
}

/**********************************************Table acceuil     **********************************************************/

table.sections{
text-align: justify;
border:3px solid #fff;
border-collapse:collapse;
width:90%;
margin:auto;
}
table.sections th {
border:2px solid #6495ed;
padding:5px;
background-color:#EFF6FF;
height:20px;
text-align: center; 
}

table.sections td {
font-size:25;
border:2px solid #6495ed;
background-color:#EFF6FF;
padding:5px;
width:auto;
text-align:center;
}

table.area{
    text-align: justify;
    border:3px solid #fff;
    border-collapse:collapse;
    width:90%;
    margin:auto;
    }
table.area th {
    border:2px solid #6495ed;
    padding:5px;
    background-color:#EFF6FF;
    height:20px;
    text-align: center; 
    }
    
table.area td {
    font-size:25;
    border:2px solid #6495ed;
    background-color:#EFF6FF;
    padding:5px;
    width:auto;
    text-align:center;
    }
/* *****************.  MOT DE PASSE.  ***********. */
  #container_mdp
 {
    width:400px;
    margin:0 auto;
    margin-top: 10%;
}
form {
  width:100%;
  padding: 30px;
  border: 1px solid #f1f1f1;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}/* Full-width inputs and textarea */
#container_mdp input[type=text],
#container_mdp input[type=password],
#container_mdp select,
#container_mdp textarea {
  font-size: 1.2em;
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-family: inherit; /* hérite de la police définie dans le body */
}

/* Redimensionnement vertical uniquement pour textarea */
#container_mdp textarea {
  resize: vertical;
}

/* Set a style for all buttons */
#container_mdp input[type=submit] {
  font-size: 1.2em;
  background-color: red;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}
#container_mdp input[type=submit]:hover {
  font-size: 1.2em;
  background-color: blue;
  color: #53af57;
  border: 1px solid #53af57;
}

#container_mdp a {
  font-size: 1.2em;
  margin: 8px 0;
  display: inline-block;
  box-sizing: border-box;
  background-color: red;
  text-align: center;
  color: white;
  padding: 14px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
}
#container_mdp a:hover {
  background-color: blue;
  text-align: center;
  color: #53af57;
  border: 1px solid #53af57;
}

/***********************.      Articles     ****************/
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.article-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.article-content h2 {
    margin-top: 10px;
    font-size: 1.4rem;
}

.article-content p {
    color: #555;
}

#container_articles
 {
    width: min(calc(100% - (var(--thot-page-gutter) * 2)), var(--thot-page-max));
    max-width: none;
    margin:0 auto;
    margin-top: 10%;
}
#container_articles h1{
  width: 60%;
  margin: 0 auto;
  padding-bottom: 5px;
}
/* Full-width inputs */
#container_articles input[type=text], input[type=password], select {
  font-size: 1.2em;
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Set a style for all buttons */
#container_articles input[type=submit] {
  font-size: 1.2em;
  background-color:red ;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}
#container_articles input[type=submit]:hover {
  font-size: 1.2em;
  background-color:blue ;
  color: #53af57;
  border: 1px solid #53af57;
}

/* Set a style for all buttons */
#container_articles a{
  font-size: 1.2em;
  margin: 8px 0;
  display: inline-block;
  box-sizing: border-box;

  background-color:red ;
  text-align: center;
  color: white;
  padding: 14px 20px;
  
  border: none;
  cursor: pointer;
  width: 100%;
}
#container_articles a:hover {
  background-color:blue ;
  text-align: center;
  color: #53af57;
  border: 1px solid #53af57;
}
/* ********.   A propos      **********/
body.contenu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  width: min(calc(100% - (var(--thot-page-gutter) * 2)), var(--thot-page-max));
  max-width: none;
  margin: 20px auto;
}
.contenu.decale {
  max-width: none;
  margin: 40px auto;
  padding-left: 0;
}
h1.titre-principal, h2.titre-section {
  color: #004080;
}

ul.liste-puce {
  list-style-type: '🔹';
  padding-left: 1.5em;
}

ul.liste-puce li {
  margin-bottom: 8px;
}

.cta a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #004080;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.cta a:hover {
  background-color: #0066cc;
}

