*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#ffffff;
color:#222;
}

header{
background:#c40000;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
position:fixed;
width:100%;
top:0;
z-index:999;
}

.logo{
display:flex;
align-items:center;
gap:10px;
color:#fff;
}

.logo img{
width:55px;
}

nav a{
color:#fff;
text-decoration:none;
margin-left:25px;
font-weight:600;
transition:.3s;
}

nav a:hover{
color:#ffd2d2;
}

.hero{
height:100vh;
background:linear-gradient(rgba(160,0,0,.8),rgba(160,0,0,.8)),url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=1400&q=80');
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
padding:20px;
}

.hero h1{
font-size:65px;
font-weight:800;
}

.hero h3{
font-size:28px;
margin-top:10px;
}

.hero p{
margin:20px 0;
font-size:18px;
}

.btn{
background:#fff;
color:#c40000;
padding:15px 35px;
border-radius:40px;
text-decoration:none;
font-weight:700;
transition:.3s;
}

.btn:hover{
background:#c40000;
color:#fff;
border:2px solid white;
}

section{
padding:100px 8%;
}

section h2{
text-align:center;
font-size:40px;
color:#c40000;
margin-bottom:40px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.card{
background:#fff;
padding:35px;
border-radius:15px;
box-shadow:0 8px 25px rgba(0,0,0,.1);
transition:.4s;
text-align:center;
}

.card:hover{
transform:translateY(-10px);
}

.card i{
font-size:45px;
color:#c40000;
margin-bottom:20px;
}

.card h3{
margin-bottom:15px;
}

form{
display:flex;
flex-direction:column;
gap:20px;
max-width:700px;
margin:auto;
}

input,
textarea{
padding:15px;
border:1px solid #ddd;
border-radius:10px;
font-size:16px;
}

textarea{
height:180px;
resize:none;
}

button{
background:#c40000;
color:white;
padding:15px;
border:none;
border-radius:10px;
font-size:18px;
cursor:pointer;
}

button:hover{
background:#900000;
}

footer{
background:#c40000;
color:white;
text-align:center;
padding:40px;
margin-top:50px;
}

@media(max-width:768px){

header{
flex-direction:column;
}

nav{
margin-top:15px;
}

nav a{
display:block;
margin:10px 0;
}

.hero h1{
font-size:45px;
}

.hero h3{
font-size:22px;
}

}
#why,
#stats{
background:#f7f7f7;
}

#stats h1{
font-size:50px;
color:#c40000;
margin-bottom:10px;
}
/* Barre normale */
header {
    height: 90px;
    padding: 15px 8%;
    transition: all 0.3s ease;
}

/* Barre réduite quand on descend */
header.scrolled {
    height: 65px;
    padding: 8px 8%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Logo normal */
.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Logo réduit */
header.scrolled .logo img {
    width: 40px;
    height: 40px;
}

/* Nom SONUDA normal */
.logo h2 {
    font-size: 28px;
    transition: all 0.3s ease;
}

/* Nom réduit */
header.scrolled .logo h2 {
    font-size: 22px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.pdg-card {
    max-width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.10);
}

.pdg-card img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.pdg-info {
    flex: 1;
}

.pdg-info h3 {
    color: #c40000;
    font-size: 28px;
    margin-bottom: 8px;
}

.pdg-info span {
    font-weight: 600;
    color: #555;
}

.pdg-info p {
    margin-top: 18px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .pdg-card {
        flex-direction: column;
        text-align: center;
    }

    .pdg-card img {
        width: 180px;
        height: 220px;
    }
}

/* Style dédié au Manager */
.manager-card {
    max-width: 900px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.10);
}

.manager-card img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.manager-info {
    flex: 1;
}

.manager-info h3 {
    color: #c40000;
    font-size: 28px;
    margin-bottom: 8px;
}

.manager-info span {
    font-weight: 600;
    color: #555;
}

.manager-info p {
    margin-top: 18px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .manager-card {
        flex-direction: column;
        text-align: center;
    }

    .manager-card img {
        width: 180px;
        height: 220px;
    }
}

/* Section Nos Partenaires */
#partenaires {
    background: #f9f9f9;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px 25px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(196, 0, 0, 0.15);
}

/* Badges "bâche" de catégorie en haut à droite */
.partner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #c40000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Format & taille des photos/logos */
.partner-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 15px auto;
    display: block;
    border-radius: 8px;
}

.partner-info h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 5px;
}

.partner-info span {
    font-size: 14px;
    color: #c40000;
    font-weight: 600;
}

.social-contact {
    margin-top: 25px;
    text-align: center;
}

.social-contact h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-contact .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-contact .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f0f0f0;
    color: #222;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-contact .social-links a:hover {
    background: #c40000;
    color: #fff;
    transform: translateY(-3px);
}
