/* Classes de bouton */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #52565b;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  border-radius: 0px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #000;
  background-color: #16578b; /* MODIFICATION COULEUR FOND */
  border-color: #16578b;     /* MODIFICATION COULEUR BORDURE */
}

.btn-primary:hover {
  color: #000;
  background-color: #d8ae45; /* MODIFICATION COULEUR FOND HOVER */
  border-color: #d8ae45;     /* MODIFICATION COULEUR BORDURE HOVER */
}

/* Padding vertical important */
.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Padding horizontal large écran (lg ≥ 992px) */
@media (min-width: 992px) {
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}

/* Masquer sur tout affichage */
.d-none {
  display: none !important;
}

/* Afficher en block dès breakpoint lg (≥ 992px) */
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
}
.btn-light {
  color: #000;
  background-color: #d8ae45;     /* couleur modifiée par vous */
  border-color: #d8ae45;         /* couleur modifiée par vous */
}

.btn-light:hover {
  color: #000;
  background-color: #16578b;     /* nouveau code couleur hover */
  border-color: #16578b;         /* nouveau code couleur hover */
}

.btn-check:focus + .btn-light,
.btn-light:focus {
  color: #000;
  background-color: #16578b;     /* garde la même couleur qu'au hover */
  border-color: #16578b;
  box-shadow: 0 0 0 0.25rem rgba(22, 87, 139, 0.5); /* ombre adaptée */
}

.btn-check:checked + .btn-light,
.btn-check:active + .btn-light,
.btn-light:active,
.btn-light.active,
.show > .btn-light.dropdown-toggle {
  color: #000;
  background-color: #16578b;
  border-color: #16578b;
}

.btn-check:checked + .btn-light:focus,
.btn-check:active + .btn-light:focus,
.btn-light:active:focus,
.btn-light.active:focus,
.show > .btn-light.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(22, 87, 139, 0.5);
}

.btn-light:disabled,
.btn-light.disabled {
  color: #000;
  background-color: #d8ae45;
  border-color: #d8ae45;
  opacity: 0.65;
}

.text-primary {
  color: #16578b !important;
}

/* programme.css */

/* Onglets */


.tabs-wrapper {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #16578b;
}

.tab-btn {
    flex: 1;
    padding: 12px 25px;
    background: white;
    color: black;
    font-weight: normal;
    border: none;
    transition: background 0.3s, color 0.3s, font-weight 0.3s;
}

.tab-btn.active {
    background-color: #16578b;
    color: white;
    font-weight: bold;
}


/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: left;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

/* Tableau programme */
.programme-table {
    width: 100%;
    max-width: 720px;
    border-collapse: collapse;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.programme-table thead th {
    background-color: #16578b;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    text-align: left;
}

.programme-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.programme-table tbody tr:last-child {
    border-bottom: none;
}

.programme-table td {
    padding: 12px 20px;
    vertical-align: top;
}

.programme-table .time {
    font-weight: 700;
    color: #16578b;
    width: 90px;
}

.programme-table .event {
    font-weight: 600;
}

/* Cartes panélistes */
.paneliste-card {
    border-radius: 15px !important;
    text-align: left;
}

.paneliste-card h5 {
    font-weight: 700;
    color: #16578b;
}

.paneliste-card h6 {
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.paneliste-card p {
    color: #444;
}

/* Centrage section */
section.container-xxl.py-5 > .container {
    max-width: 900px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .row.row-cols-1.row-cols-md-2.g-4 {
        display: flex;
        flex-direction: column;
    }
    .row.row-cols-1.row-cols-md-2.g-4 .col {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .tab-btn {
        padding: 10px 18px;
        font-size: 1rem;
    }
    .programme-table thead th {
        font-size: 1rem;
    }
    .programme-table td {
        padding: 8px 12px;
    }
    /* Table scrollable */
    .programme-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* Tabs */
.tabs-wrapper {
    background-color: #16578b;
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 12px 25px;
    background: transparent;
    color: white;
    border: none;
    font-weight: 600;
    transition: background 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: #0e3d60;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Programme Table */
/* Tabs */
.tabs-wrapper {
    background: #f9f9f9;
    padding: 5px;
    border-radius: 50px;
    display: inline-flex;
}
.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}
.tab-btn.active {
    background: #16578b; /* Bleu pétrole */
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Programme cards */
.programme-day h4 {
    background: #16578b; /* Bleu pétrole */
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
}
.programme-card {
    background: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.programme-card .time {
    font-weight: bold;
    color: #16578b; /* Bleu pétrole */
    min-width: 60px;
}

/* Panelistes */
.paneliste-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    height: 100%;
}
.paneliste-card h5 {
    font-weight: 600;
}
.paneliste-card h6 {
    color: #777;
    margin-bottom: 10px;
}

/* Hide inactive tabs */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}


/* Galerie */


.gallery-section h2 {
    color: #16578b;
    font-weight: 700;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-radius: 12px;
}

.gallery-img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes fadeZoomIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}
.animate__fadeZoomIn {
    animation: fadeZoomIn 1s forwards;
}




/* Arbre */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Ligne de base (bleu -> or) */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #e0e0e0; /* Couleur de fond grise */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

/* Barre de progression */
.timeline-progress {
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #16578b, #d8ae45);
    top: 0;
    left: 50%;
    margin-left: -2px;
    height: 0; /* Va s’animer en JS */
    z-index: 2;
    transition: height 0.3s ease-out;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    transition: transform 0.3s ease-in-out;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    right: -6px;
    background-color: #fff;
    border: 3px solid #d8ae45;
    top: 30px;
    border-radius: 50%;
    z-index: 4;
    transition: box-shadow 0.3s ease-in-out;
}

.timeline-item.right::before {
    left: -6px;
}

.timeline-item:hover::before {
    box-shadow: 0 0 10px #d8ae45;
}

.timeline-content {
    padding: 20px;
    background-color: #fff;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item:hover .timeline-content {
    border: 2px solid #d8ae45;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
    color: #16578b;
    margin-bottom: 5px;
}

.timeline-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 0;
    color: #555;
}

@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-progress { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
    .timeline-item::before { left: 18px; }
}


/* Login */

.login-btn {
    background-color: #16578b;
    color: white;
    transition: background-color 0.3s ease;
}
.login-btn:hover,
.login-btn:active {
    background-color: #d8ae45 !important;
    color: white !important;
}

/* Structure de la page pour le sticky footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* prend tout l'espace disponible */
}



