/* Variables de couleur pour le thème "corporate hightech" bleu */
:root {
    --primary-blue: #005A9C;
    --dark-blue: #003366;
    --light-blue: #F0F8FF;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white-color: #ffffff;
}

/* Style de base */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header et Navigation */
header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 80px; /* Logo agrandi */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 700;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--primary-blue);
}

/* Section Héros */
.hero {
    background-color: var(--dark-blue);
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-weight: 300;
}

.cta-button {
    background-color: var(--primary-blue);
    color: var(--white-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #007acc;
}

/* Sections Générales */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--light-blue);
}

section h2 {
    text-align: center;
    font-size: 2.2em;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

/* Grille des Solutions */
.solutions-grid {
    display: flex;
    flex-direction: row;
    gap: 32px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
}

.solution-card {
    min-width: 340px;
    max-width: 380px;
    flex: 0 0 340px;
    scroll-snap-align: start;
    background-color: var(--white-color);
    border: 1px solid var(--light-gray);
    padding: 30px;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 0;
}

.solution-card h3 {
    color: var(--primary-blue);
    margin-top: 0;
}

/* Section Contact */
.contact {
    background-color: var(--light-blue);
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.2em;
    color: var(--dark-blue);
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.contact-item {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    display: block;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--dark-blue);
}

/* Formulaire de contact */
.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-blue);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary-blue);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--dark-blue);
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* Sous-titres et structure About/Impact */
.about h3, .about h4, .events h3 {
    color: var(--primary-blue);
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}

.about ul, .about li, .events ul, .events li {
    margin: 0 0 10px 0;
    padding: 0 0 0 18px;
    list-style: disc inside;
    font-size: 1.05em;
}

.about ul {
    margin-bottom: 24px;
}

.about h4 {
    font-size: 1.15em;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

/* Bloc projet dans Notre Impact */
.events .project {
    background: var(--white-color);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,90,156,0.06);
    padding: 24px 20px;
    margin-bottom: 32px;
}

.events .project h3 {
    margin-top: 0;
    font-size: 1.25em;
}

.events .project p {
    margin: 8px 0 0 0;
    font-size: 1.05em;
}

/* Responsive pour les sous-sections */
@media (max-width: 700px) {
    .about h3, .about h4, .events h3 {
        font-size: 1.1em;
    }
    .events .project {
        padding: 16px 8px;
    }
}

.portrait {
    display: block;
    margin: 16px auto 8px auto;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,90,156,0.10);
    border: 3px solid var(--light-blue);
    background: var(--white-color);
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 32px 0 0 0;
}

.product-img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,90,156,0.10);
    background: var(--white-color);
    border: 2px solid var(--light-blue);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 24px rgba(0,90,156,0.18);
}

@media (max-width: 700px) {
    .product-img {
        width: 98vw;
        height: 32vw;
        max-width: 98vw;
        min-width: 180px;
    }
    .products-grid {
        gap: 12px;
    }
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}
.partners-logos img {
    height: 60px;
    max-width: 160px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0,90,156,0.07);
    transition: transform 0.2s;
}
.partners-logos img:hover {
    transform: scale(1.07);
}
@media (max-width: 700px) {
    .partners-logos {
        gap: 16px;
    }
    .partners-logos img {
        height: 40px;
        max-width: 90vw;
    }
}

.keynotes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 32px 0 0 0;
}
.keynote-img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,90,156,0.10);
    background: var(--white-color);
    border: 2px solid var(--light-blue);
    transition: transform 0.2s, box-shadow 0.2s;
}
.keynote-img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 24px rgba(0,90,156,0.18);
}
@media (max-width: 700px) {
    .keynote-img {
        width: 98vw;
        height: 32vw;
        max-width: 98vw;
        min-width: 180px;
    }
    .keynotes-grid {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .solution-card {
        min-width: 260px;
        max-width: 98vw;
        flex: 0 0 260px;
        padding: 18px;
    }
    .solutions-grid {
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .solutions-grid {
        flex-direction: column;
        gap: 18px;
        overflow-x: visible;
        padding-bottom: 0;
    }
    .solution-card {
        min-width: unset;
        max-width: 100%;
        flex: 1 1 100%;
    }
}