/* Fichier CSS commun pour toutes les pages */

/* Import Google Font Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables de couleurs */
:root {
    --color-blue-dark: #0e2e52;
    --color-gold: #f7931e;
    --color-white: #ffffff;
    --color-bg-light: #fffef5;
    --color-bg-lighter: #fffdf0;
    --color-text: #0e2e52;
    --color-border: #f7931e;
    --font-main: 'Poppins', sans-serif;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-blue-dark);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--color-blue-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

/* Classes utilitaires */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-blue-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Section Hero pour toutes les pages */
.hero {
    background: linear-gradient(135deg, var(--color-bg-lighter) 0%, var(--color-bg-light) 100%);
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid var(--color-border);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-blue-dark);
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--color-gold);
    font-weight: 500;
}

.card {
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(14, 46, 82, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-blue-dark) 0%, #1a4577 100%);
    color: var(--color-white);
    text-align: center;
    padding: 50px 0;
}

.footer h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-text {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 25px;
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(247, 147, 30, 0.1);
}

.contact-item:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(247, 147, 30, 0.4);
}

.contact-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .footer-contact {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-item {
        width: 100%;
        max-width: 350px;
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .footer h2 {
        font-size: 1.5rem;
    }
    
    .footer-text {
        font-size: 1rem;
    }
}
