/* Styles de base */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
	--warning-color: #27ae60;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --back-menu:#008D48;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5; 
}

.container {
    width: 90%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 15px;
    /* background-color: #dbb703;*/
} 

.container_soumission, .container_horaire{
    width: 50%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 15px;
    /* background-color: #dbb703; */
} 

/* En-tête */
header {
    background-color: var(--back-menu);
    color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-content {
    display: flex;
    justify-content:space-between;
    align-items: center;   
}

nav {
    margin-left: auto;
}

.logo {
    text-align: left;
    margin-right: 20px;
    gap: 150px;
}

nav ul {
    display: flex;
    list-style: none;
    margin-top: 0; 
}


/* Style pour le menu mobile (optionnel) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        flex-direction: column;
    }
}

/* Style commanditaires */
.logo-commanditaire {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 5rem;
}

.logo-com {
  width: 400px;
  height: 400px;
  object-fit: contain; /* Évite l'étirement */
}

.description h3 {
  margin-top: 0;
  color: #333;
}
/* Fin style commanditaires */

.logo h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    color: var(--white);
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover {
    /* color: var(--text-color); */
    border-bottom: 2px solid var(--white); /* couleur et épaisseur du trait */
}

nav ul li.active a {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/chimie_back.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 1.8rem;
    color: var(--white);
}

.hero-content h3 {
    font-size: 1rem;    
    color: var(--white);
    font-weight: 400;
}

.hero-content h5 {
    font-size: 0.8rem;    
    color: var(--white);
    font-weight: 100;
   
}

.hero h2 {
    font-size: 2rem;
    /* margin-bottom: 1rem; */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-primary-soumission {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 100;
    transition: all 0.3s;
}

.btn-primary {
    background-color:var(--back-menu);
    color: white;
}

.btn-primary:hover {
     background-color:var(--back-menu);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color:var(--back-menu);
    color:var(--white);
}


/* styles de toutes les sections  */
section {
    padding: 40px 0;
    text-align: left;
}

section h2 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--back-menu);
    position: relative;
    padding-bottom: 10px;
    text-align: left;
    padding-left: 10px;
}

section h2::after {
    content: '';
    position:absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--back-menu);
}

.about p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify
}



/* Grille des thématiques */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theme-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* transition: transform 0.3s, box-shadow 0.3s; */
}



.theme-icon {
    font-size: 2.5rem;
    color: var(--back-menu);
    margin-bottom: 1rem;
}

.theme-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}


/* Conférenciers */
.speakers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 30px;
}


.speaker {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    padding: 20px;
}

.speaker:hover {
    transform: translateY(-10px);
    transform: scale(1.2);

}

.speaker img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid var(--light-color);
}

.speaker h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.speaker p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Timeline des dates importantes */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    /* background: #3498db; */
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-date {
    position: absolute;
    left: -50px;
    top: 0;
    width: 100px;
    text-align: right;
    padding-right: 1rem;
    color: #3498db;
    font-weight: 500;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Footer en colonnes */
footer {
    background-color:var(--back-menu);
    color: white;
    padding: 1rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--white);
}

.footer-column p, .footer-column li {
    margin-bottom: 0.8rem;
    color: #ecf0f1;
    font-size:0.8rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color:var(--success-color);
}

.footer-column i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;    
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--success-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0,0,0,0.1);
    font-size: 0.7rem;
}


/* Styles pour les pages spécifiques */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 50px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
   
}

.page-header h2 {
    margin-bottom: 15px; 
    font-size: 1rem;
}

.page-header p {
    margin-bottom: 15px; 
    font-size: 1.5rem;
    color:var(--primary-color);
}

.home-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--back-menu);
    margin: 0.5rem auto 0;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.8rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group,
.radio-group {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.checkbox-group input,
.radio-group input {
    width: auto;
    margin-right: 10px;
}

.terms {
    margin-top: 30px;
}

.terms label {
    font-weight: normal;
}

.terms a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Formulaire de soumission */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 20px;
    
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;    
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 60;
    color: #2c3e50;
    
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: border 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Fichiers */
.file-info {
    margin-top: 8px;
    font-size: 14px;
    color: #7f8c8d;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Bouton */
.submit-btn {
    background-color:var(--back-menu);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color:var(--success-color);
}

/* Messages */
.success-message {
    background-color: #2ecc71;
    color: white;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    display: none;
}

/* Validation */
input:invalid, textarea:invalid, select:invalid {
    border-color: #e74c3c;
}

input:valid, textarea:valid, select:valid {
    border-color: #2ecc71;
}

<style>
li {
  list-style-type: none; /* pour enlever le point du <li> */
  margin-left: 0;
  padding-left: 0;
  text-indent: -4em; /* recule la première ligne */
  padding-left: 4em; /* décale tout le paragraphe vers la droite */
}
</style>

/* Responsive */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}


.file-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--secondary-color);
    font-weight: 600;
}

.btn-primary, .btn-secondary, .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 100;
    transition: all 0.3s;
    
}

.btn-primary {
    background-color:var(--back-menu);
    color: white;
}

.btn-primary:hover, .btn:hover {
     background-color:var(--back-menu);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color:var(--back-menu);
    color:var(--white);
}


/* Programme */
.schedule-tabs {
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .time {
    font-weight: 600;
    color: var(--primary-color);
}

.schedule-item.keynote .details h3 {
    color: var(--secondary-color);
}

.schedule-item.break .details h3 {
    color: var(--warning-color);
}

.schedule-item.poster .details h3 {
    color: var(--success-color);
}

.parallel-session {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 8px;
}

.parallel-session:last-child {
    margin-bottom: 0;
}

.parallel-session h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.parallel-session ul {
    list-style: none;
}

.parallel-session li {
    padding: 5px 0;
}

/* Lieu */
.venue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.venue-map {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.venue-details h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.venue-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.venue-details i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.venue-info h3 {  
    color: var(--success-color);
    width: 500px;
    text-align: left;
    font-size: 1.5rem;
    
}

/* Liste des présentations */
.presentation-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    display: flex;
    flex-grow: 1;
    max-width: 400px;
}

.search-box input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.search-box button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-options select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.presentation-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.presentation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.presentation-header h3 {
    color: var(--primary-color);
    flex-grow: 1;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge.life {
    background-color: #27ae60;
}

.badge.physical {
    background-color: #3498db;
}

.badge.human {
    background-color: #9b59b6;
}

.badge.environment {
    background-color: #1abc9c;
}

.badge.ai {
    background-color: #e67e22;
}

.badge.oral {
    background-color: var(--secondary-color);
}

.badge.poster {
    background-color: var(--accent-color);
}

.presentation-authors {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.presentation-abstract {
    margin-bottom: 20px;
}

.presentation-abstract strong {
    color: var(--primary-color);
}

.presentation-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    font-size: 0.9rem;
}

.presentation-details strong {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .registration-form,
    .submission-info,
    .venue-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-info {
        position: static;
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .speakers {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    
    .presentation-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .hero-content h2 {
        font-size: 0.8rem;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .presentation-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-options {
        flex-direction: column;
    }
}

