@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap');
@import url('header.css');

:root {
    --primary-color: #FDF5E6;
    --secondary-color: #EFDBB2;
}

/* --primary-color: #FEF9F1;
--secondary-color: #fff2d7; */


/* Styles généraux */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: #333;
    overflow-x: hidden;
}

h1 {
    font-size: 1.5em;
}
  
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Contenu principal */
main {
    text-align: center;
    max-width: 1200px; 
    flex: 1;
    width: 100%;
}

.main-container {
    padding: 5px 20px;
}

main h2 {
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
}

main p {
    font-size: 1em;
    color: #666;
    margin: 0 auto;
}

.agency-image {
    margin: 10px auto; 
    max-width: 70%; 
    height: auto; 
    overflow: hidden; 
}

.agency-image img {
    width: 100%; 
    height: auto; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}


/* Section d'information */
.info-section {
    display: flex;
    flex-direction: column; 
    padding: 20px; 
    background: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
    margin: 30px auto; 
    max-width: 1200px; 
    overflow: hidden; 
}

.contact-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: space-between; 
}

.contact-block {
    flex: 1 1 calc(50% - 20px);
    padding: 15px;
    background: var(--primary-color);
    font-size: 13px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    max-width: calc(50% - 20px);
}

.info-section h3.section-title {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding: 0px 10px;
    border-bottom: 3px solid #e74c3c; 
}

.section-title {
    display: inline-block; 
    border-bottom: 3px solid #e74c3c; 
    padding-bottom: 5px; 
    margin-bottom: 15px; 
    color: #2c3e50;
}

.company-profile, .contact-info {
    margin-bottom: 10px; 
}

.company-profile p, .contact-info p {
    margin-bottom: 5px;
    line-height: 1.6;
    color: #444;
}

.more-info {
    display: inline-block;
    margin-top: 10px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.more-info:hover {
    text-decoration: underline;
}

.contact-block h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-block p {
    margin: 8px 0;
    display: flex;
    align-items: center; 
}

.contact-block i {
    margin-right: 10px;
    color: #e74c3c; 
}

.contact-info a {
    color: #e74c3c;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.flag-icon {
    width: 25px; 
    height: auto; 
    margin-right: 10px; 
    vertical-align: middle; 
    border-radius: 2px; 
}

.google-maps-link {
    color: #3498db !important; 
    font-weight: 500; 
    text-decoration: none; 
}

.google-maps-link:hover {
    color: #2980b9; 
    text-decoration: underline; 
}

.footer-wrapper {
    width: 100%; 
}

footer {
    background-color: var(--primary-color);
    border-top: 1px solid #d0d0d0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; 
    padding: 5px 0; 
    margin-top: 30px; 
    position: relative; 
    bottom: 0; 
    width: 100%; 
}

.footer-container p {
    margin: 0; 
    font-size: 14px; 
    line-height: 1.5; 
}

.disclaimer {
    font-size: 10px;
}

.revised {
    font-size: 10px !important;
}

/* Effet responsive */
@media (max-width: 920px) {

    main {
        padding: 10px;
        width: 90%;
    }

    main p {
        font-size: 1em;
        color: #666;
        max-width: 600px;
        margin: 0 auto;
    }

    .main-container {
        padding: 5px 5px;
    }

    .banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .company-name {
        font-size: 28px;
    }

    .nav-menu {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .nav-menu.active {
        max-height: 450px;
    }

    .nav-items {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .menu-toggle {
        display: flex; 
    }

    .info-section {
        flex-direction: column; 
        gap: 20px;
        padding: 10px;
    }

    .company-profile, .contact-info {
        flex: none;
        width: 100%; 
    }

    .contact-container {
        flex-direction: column; 
        align-items: center; 
    }

    .contact-block {
        width: 100%; 
        max-width: 100%; 
        margin: 0; 
    }

    main h2 {
        font-size: 1.5em;
    }

    main h3 {
        font-size: 1.2em; 
    }

    .page-title {
        font-size: 1.2em; 
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .company-name {
        font-size: 24px;
    }

    .nav-items li a {
        font-size: 14px;
    }

    .contact {
        font-size: 14px;
        padding: 8px 15px;
    }
}
