/* === Variables CSS === */
:root {
    --theme-color: #6c7a89;
    --theme-color-dark: color-mix(in srgb, var(--theme-color) 80%, black);
    --theme-color-light: color-mix(in srgb, var(--theme-color) 80%, white);
    --theme-color-transparent: color-mix(in srgb, var(--theme-color) 70%, transparent);
    --background-alt: color-mix(in srgb, var(--theme-color) 12%, white);
    --font-title: 'Segoe UI', sans-serif;
    --font-body: 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-title: 24px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --main-width: 1200px;
    --hover-color: var(--theme-color-dark);
    --text-color: #222;
    --background-color: #fff;
    --radius: 10px;
	--spacing: 20px;
}

/* === Classes Utilitaires === */
.mt-2 { margin-top: var(--spacing-sm); }
.mb-4 { margin-bottom: var(--spacing-md); }
.p-3 { padding: var(--spacing-sm); }
.text-center { text-align: center; }
.text-muted { color: #7f8c8d; }
.rounded { border-radius: var(--radius); }
.transition { transition: all 0.3s ease; }

/* === Composants Réutilisables === */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: #fff;
    background-color: var(--theme-color);
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: var(--theme-color-dark);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--theme-color);
    color: var(--theme-color);
}
.btn-outline:hover {
    background-color: var(--theme-color);
    color: #fff;
}

.card {
    background-color: var(--background-alt);
    border-radius: var(--radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
    color: var(--theme-color);
    margin-bottom: var(--spacing-md);
}

* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}
body {
 font-family: var(--font-body);
 color: var(--text-color);
 background: var(--background-color);
 line-height: 1.6;
}

main {
 max-width: var(--main-width);
 margin: auto;
 padding-top: 0;
}

.image-banniere {
 width: 100%;
 max-height: calc(var(--main-width) / 6);
 object-fit: cover;
 border-radius: var(--radius);
 display: block;
 object-position: center 10%; 
}

.hero-section {
 position: relative;
 text-align: center;
 margin-top: 0;
 padding-top: 0;
 margin-bottom: var(--spacing-md); 
}
.hero-image {
 width: 100%;
 max-height: calc(var(--main-width) / 3);
 object-fit: cover;
 border-radius: 0 0 var(--radius) var(--radius);
 display: block;
}
.hero-text {
 position: absolute;
 bottom: 10%;
 left: 50%;
 transform: translateX(-50%);
 /*background: var(--theme-color-transparent);*/
 color: white;
 padding: 1rem 2rem;
 border-radius: var(--radius);
}
.photo-container {
 display: flex;
 justify-content: space-between;
 margin: 2rem 0 0 0;
 gap: 1rem;
}
.photo {
 position: relative;
 width: 30%;
 overflow: hidden;
 border-radius: var(--radius);
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.photo img {
 width: 100%;
 height: auto;
 transition: transform 0.3s;
}
.photo:hover img {
 transform: scale(1.05);
}
.overlay {
 position: absolute;
 bottom: 10px;
 left: 0;
 width: 100%;
 background: transparent;
 color: white;
 padding: 0.5rem;
 text-align: center;
 border-radius: var(--radius);
}
.text-hover {
 position: absolute;
 top: 5px;
 right: 10px;
 font-size: 1.5rem;
 display: none;
}
.photo:hover .text-hover {
 display: block;
}
.footer {
 text-align: center;
 padding: 1rem 0;
 background: var(--background-alt);
 width: var(--main-width);
 margin: 3rem auto 0;
 font-size: 0.9rem;
 border-radius: var(--radius) var(--radius) 0 0;
}

.text-default {
  display: inline-block;
  /*background: var(--theme-color-transparent);*/
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  position: relative;
  font-weight: bold;
}

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--main-width);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.navbar a {
  text-decoration: none;
  color: var(--theme-color);
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background: var(--theme-color-dark);
  color: white;
  border-radius: var(--radius);
}
.table-grid {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing) 0;
  font-size: 0.9rem;
}

.table-grid th,
.table-grid td {
  text-align: center;
  padding: 10px;
  border: 1px solid #ccc;
}

.table-grid th {
  background-color: #f0f0f0;
  font-weight: bold;
  font-style: italic;
}

.table-grid thead th {
  background-color: #e9e9ff;
}

.table-grid td[colspan] {
  background-color: #f9f9f9;
  font-weight: bold;
}
.actu-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "header header"
    "image text";
  grid-column-gap: var(--spacing);
  margin: 1rem auto;
  max-width: var(--main-width);
  background: var(--background-alt);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.actu-header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--theme-color);
  color: white;
  padding: 10px 15px;
}

.actu-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.actu-button {
  background: transparent;
  color: white;
  padding: 5px 10px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.actu-button:hover {
  background: var(--theme-color-dark);
}

.actu-image {
  grid-area: image;
  overflow: hidden;
}

.actu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.actu-image img:hover {
  transform: scale(1.05);
}

.actu-text {
  grid-area: text;
  padding: var(--spacing);
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  align-self: start;
}

/* === Responsive Mobile === */
@media (max-width: 768px) {
	.photo-container {
    flex-direction: column;
    align-items: center;
  }

  .photo {
    width: 90%;
  }

  .hero-text {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  .navbar {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
    background: var(--theme-color);
    color: white;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar ul {
    flex-direction: column;
    gap: 0;
  }

  .navbar a {
    color: white;
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar a:hover {
    background: var(--theme-color-dark);
  }
.hero-image {
 width: 100%;
 max-height: calc(var(--main-width) / 10);
 object-fit: cover;
 border-radius: 0 0 var(--radius) var(--radius);
 display: block;
}
.image-banniere {
 width: 100%;
 max-height: calc(var(--main-width) / 10);
 object-fit: cover;
 border-radius: 0 0 var(--radius) var(--radius);
 display: block;
 object-position: center 10%; 
}
	.footer {
 text-align: center;
 padding: 1rem;
 background: var(--background-alt);
 width: 100%;
 font-size: 0.9rem;
 border-radius: 0;
}
}
