
:root {
  --asse-green: #008D3F;
  --bg-light: #F3F0E8;
  --text-main: #005829;
  --accent: #F3F0E8;
  --radius: 12px;
}

/* ===== GLOBAL ===== */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: var(--asse-green);
  color: var(--text-main);
  height: 100%;
}

/*
body {
  background-color: var(--asse-green);          
  background-image: url('g2.png');              
  background-repeat: repeat;                 
  background-position: left top;             
  background-size: contain;                  
  color: var(--text-main);
}
*/

/* ===== MINI HEADER ===== */
.mini-header {
  background: var(--asse-green);
  padding: 10px 20px;
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement si hauteur définie */
  font-size: 1.2rem;
  color: var(--accent);
  height: 30px; /* ou ce que tu veux */
}


/* ===== LAYOUT ===== */
.page {
  display: flex;
  margin-top: 0;
}

/* ===== VERTICAL MENU ===== */
nav.vertical-tabs {
  width: 210px;
  background: var(--asse-green); /* FOND VERT */
  padding: 0;
  margin: 0;
  min-height: calc(100vh - 50px);
}


/* Pour petits écrans (< 600px) */
@media (max-width: 600px) {
  .page {
    flex-direction: column; /* empile menu + contenu */
  }

  nav.vertical-tabs {
    width: 100%;
    min-height: auto;
    display: flex;
    overflow-x: auto; /* permet de faire défiler si trop d’onglets */
  }

  nav.vertical-tabs ul {
    display: flex;
    flex-direction: row;
  }

  nav.vertical-tabs li {
    flex: 1;
  }

  .content-area {
    padding: 10px;
  }
}

nav.vertical-tabs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.vertical-tabs a {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--bg-light);          /* TEXTE CLAIR = BLANC CASSÉ */
  transition: background 0.2s, color 0.2s;
}

/* Survol → léger éclaircissement */
nav.vertical-tabs a:hover {
  background: #00a64c;
}

/* Onglet actif → fond clair, texte vert foncé */
nav.vertical-tabs a.active {
  background: var(--bg-light);    /* CLAIR */
  color: var(--text-main);        /* VERT FONCÉ */
  font-weight: bold;
  border-right: none;
}

nav.vertical-tabs .menu-bottom-img {
  width: 100%;         /* prend toute la largeur du menu */
  height: auto;        /* conserve les proportions */
  margin-top: 0px;    /* un petit espace au-dessus */
  display: block;      /* pour éviter les comportements inline */
}
/* ===== CONTENT CONTAINER ===== */
.content-area {
  flex: 1;
  padding: 20px;
}

.container {
  max-width: 900px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  margin: auto;
  }

/* ===== TAB CONTENT ===== */
section.tab-content {
  display: none;
}

section.tab-content.active {
  display: block;
  animation: fade 0.3s ease;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.home-photo {
  display: block;
  margin: 20px auto;
  max-width: 180px;
  border-radius: 50%;
}

/* ===== LIENS ===== */
a {
  text-decoration: none;       /* pas de souligné */
  color: rgb(75, 122, 173);              /* orange vif qui contraste */
  transition: color 0.2s;
}

a:hover {
  color: rgb(120, 179, 164);              /* orange foncé au survol */
}


table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: 5px 5px; border: 0px solid #aaa; }


.sponsor-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 00px;
  text-align: center;
}

.sponsor-table th {
  padding-bottom: 10px;
  font-size: 1rem;
}

.sponsor-table td {
  padding: 10px;
  vertical-align: middle;
}

.sponsor-table img {
  max-width: 100px;   /* ajuste si tu veux plus grand/petit */
  max-height: 60px;
  display: block;
  margin: 0 auto;
}

