* { margin:0; padding:0; box-sizing:border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height:1.8; 
    background:#f4f6f8; 
    color:#333; 
    padding-top: 90px; /* compensation nav fixe */
}
a { text-decoration:none; color:inherit; }
html { scroll-behavior: smooth; }

/* Menu professionnel */
nav {
    position:fixed;
    top:0; left:0;
    width:100%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0.8rem 3%;
}
nav .logo { font-weight:700; font-size:1.5rem; color:#FF6F61; }
nav ul { display:flex; list-style:none; gap:1.5rem; }
nav li a { padding:0.5rem 1rem; border-radius:5px; font-weight:600; transition:0.3s; color:#333; }
nav li a:hover { background:#FF6F61; color:white; }

/* Header Hero */
header {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: white;
}
header::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: url('ADISECT.jpg') center/cover no-repeat;
    z-index: 0;
}
header::after {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
header .hero-overlay { position: relative; z-index: 2; }
header h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
header p { font-size: 1.2rem; margin-bottom: 2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); }
header .btn { padding: 1rem 2rem; background:#FF6F61; color:white; border-radius:50px; transition:0.3s; font-weight:bold; }
header .btn:hover { background:#E55B50; }

/* Sections */
section {
    max-width:1100px;
    margin:5rem auto;
    padding:2rem;
    background:white;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
    opacity:0;
    transform:translateY(50px);
    transition:0.6s;
    scroll-margin-top: 100px;
}
section h1, section h2 { 
    text-align:center; 
    color:#FF6F61; 
    margin-bottom:2rem; 
    font-size:2rem; 
    scroll-margin-top: 110px;
}

/* Encadrés */
.card { background:#fff0f0; border-left:6px solid #FF6F61; padding:1rem 1.5rem; border-radius:10px; margin-bottom:1rem; }
.card ul li { margin-bottom:0.8rem; }

/* Texte justifié */
section p, section ul, .card p, .card ul { text-align:justify; font-size:1rem; line-height:1.7; }
section p strong::after, section .bureau p strong::after { content: " \A"; white-space: pre; }

/* Fade-in animation */
section.visible { opacity:1; transform:translateY(0); }

/* Bureau */
.bureau-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom:1rem;
}
.bureau-member {
    background:#fff0f0;
    border-left:6px solid #FF6F61;
    border-radius:10px;
    padding:1rem;
    flex: 1 1 300px;
    display: flex;
    align-items: flex-start;
    gap:1rem;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}
.member-info p { margin:0.2rem 0; text-align:justify; }

/* Lien statuts */
.bureau a { display:block; margin-top:2rem; color:#FF6F61; font-weight:bold; text-decoration:underline; }

/* Sociétés */
.societes ul { list-style:none; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem; }
.societes li {
    background:#fff0f0; padding:0.8rem 1.2rem; border-radius:20px;
    display:flex; align-items:center; font-weight:600;
    box-shadow:0 2px 8px rgba(0,0,0,0.05); transition:0.4s; cursor:pointer;
}
.societes li i { color:#FF6F61; margin-right:0.5rem; transition:0.4s; }
.societes li a { color:#FF6F61; font-weight:bold; text-decoration:none; transition:0.4s; }
.societes li:hover { transform:scale(1.05); background:#FF6F61; color:white; box-shadow:0 8px 20px rgba(0,0,0,0.2); }
.societes li:hover i, .societes li:hover a { color:white; }

/* Formulaire adhésion */
.form-adhesion {
display:flex;
flex-direction:column;
gap:1rem;
margin-top:1.5rem;
max-width:400px;
}

.form-adhesion input {
padding:0.8rem;
border-radius:8px;
border:1px solid #ddd;
font-family: 'Inter', sans-serif;
}

.form-adhesion input:focus {
outline:none;
border-color:#FF6F61;
}

.antispam{
display:none;
}

/* Nouveau style pour Carbios */
.societes li a.societe-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}
.societes li a.societe-link:hover {
    color: #FF6F61;
    transform: scale(1.05);
}

/* Buttons */
.btn { 
display:inline-block;
margin-top:1rem;
padding:0.8rem 2rem;
border-radius:50px;
background:#FF6F61;
color:white;
font-weight:bold;
transition:0.3s;
border:none;
cursor:pointer;
font-family:'Inter', sans-serif;
}

.btn:hover { 
background:#E55B50; 
}

/* Footer */
footer { background:#333; color:white; text-align:center; padding:2rem 1rem; margin-top:5rem; }

/* Responsive */
@media(max-width:768px){
    header h1{font-size:2rem;}
    header p{font-size:1rem;}
    nav ul { flex-direction: column; gap:0.8rem; margin-top:0.5rem; }
    .bureau-member { flex-direction: column; text-align:center; }
    body { padding-top: 110px; }
}

/* Page Adhésion */
#adhesion-form h2 {
    color: black; 
    font-size:1.5rem; 
}

#adhesion-form .btn {
    padding: 20px;
    margin-top: 0;
    font-size:1rem; 
}

@media(max-width:768px){
#adhesion-form {
    margin:0;
}
}