.div-card {
    width: 100%;
    max-width: 1400px;
    margin: 32px auto 0 auto;
    padding: 24px 18px;
    background: var(--washi-creme);
    border-radius: 8px;
    box-shadow: 0 6px 32px rgba(108, 99, 43, 0.18);
    box-sizing: border-box;
}
.div-card a{
    color: var(--bleu-origami);
    font-weight: 600;
    text-decoration: underline;
}

html {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
.site-footer {
    flex-shrink: 0;
}
/* --- Footer --- */
.site-footer {
    background: var(--bleu-origami);
    color: #fff;
    padding: 36px 0 18px 0;
    font-size: 1rem;
    margin-top: 48px;
    border-top: 4px solid var(--or-solaire);
    box-shadow: 0 -2px 8px var(--shadow);
    text-align: center;
}
.site-footer .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-brand {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--or-solaire);
}
.footer-links {
    margin-bottom: 10px;
}
.footer-link {
    color: #fff;
    text-decoration: none;
    margin: 0 6px;
    font-weight: 600;
    transition: color 0.2s;
}
.footer-link:hover {
    color: var(--or-solaire);
}
.footer-legal {
    font-size: 0.98em;
    color: var(--light_grey);
    margin-top: 8px;
}
.footer-legal_link {
    font-size: 0.98em;
    color: var(--light_grey);
    margin-top: 8px;
}
.footer-legal_link:hover {
    font-weight: bold;
}
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&family=Source+Serif+Pro:ital,wght@1,400&display=swap');

:root {
    --bleu-origami: #2A4D69;
    --washi-creme: #F8F4E3;
    --vert-botanique: #558B6E;
    --gris-mineral: #93A7BA;
    --or-solaire: #DDAA33;
    --light_grey: #d4d4d4;
    --shadow: rgba(42,77,105,0.07);
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    background: var(--light_grey-creme);
    color: var(--bleu-origami);
    line-height: 1.7;
}

header {
    background: var(--bleu-origami);
    color: #fff;
    box-shadow: 0 2px 8px var(--shadow);
}

.banner {
    background: var(--bleu-origami);
    padding: 32px 0 20px 0;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 4px solid var(--or-solaire);
}
.banner:hover {
    background: #1d3347;
}
.banner h1 {
    margin: 0;
    font-size: 2.7rem;
    letter-spacing: 2px;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.main-menu {
    background: var(--gris-mineral);
    box-shadow: 0 2px 8px var(--shadow);
}
.main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}
.main-menu li {
    margin: 0;
}
.main-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    padding: 18px 0;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s, border-bottom 0.2s;
}
.main-menu a:hover, .main-menu a:focus {
    color: var(--or-solaire);
    border-bottom: 3px solid var(--or-solaire);
}

main {
    padding: 56px 24px 40px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--bleu-origami);
    margin-bottom: 0.5em;
}
h2 {
    font-size: 2rem;
    font-weight: 600;
}
h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

p, li {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--bleu-origami);
    font-size: 1.08rem;
}

em, cite, blockquote {
    font-family: 'Source Serif Pro', serif;
    font-style: italic;
    color: var(--vert-botanique);
}

.legend, p.legend, figcaption.legend, span.legend {
    color: var(--gris-mineral);
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto 0 auto;
}

button, .btn {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 600;
    background: var(--or-solaire);
    color: var(--bleu-origami);
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background 0.2s, color 0.2s;
}
button:hover, .btn:hover {
    background: var(--vert-botanique);
    color: #fff;
}
.btn.modern-cta {
    background: linear-gradient(90deg, var(--bleu-origami) 0%, var(--gris-mineral) 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(42,77,105,0.10);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    outline: none;
    margin: 8px 0;
    display: inline-block;
}
.btn.modern-cta:hover, .btn.modern-cta:focus {
    background: linear-gradient(90deg, var(--gris-mineral) 0%, var(--bleu-origami) 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(42,77,105,0.16);
}

.btn_language {
    height: 24px;
    cursor: pointer;
    position: relative;
    top: 7px;
}

.btn_language:hover {
    height: 26px;
    transition: transform 0.2s;
}

.carousel {
    width: 100%;
    max-width: 900px; /* or remove max-width for full width */
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images img {
    display: block;
    height: auto;
    /* width is set by JS */
    max-width: 100%;
}
.carousel-prev
{
    position:absolute;
    top:50%;
    left:8px;
    transform:translateY(-50%);
    background:rgba(255,255,255,0.8);
    border:none;
    border-radius:50%;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;cursor:pointer;
}
.carousel-next{
    position:absolute;
    top:50%;
    right:8px;
    transform:translateY(-50%);
    background:rgba(255,255,255,0.8);
    border:none;
    border-radius:50%;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;cursor:pointer;
}
.carousel_legend{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(0,0,0,0.5);
    color:var(--light_grey);
    padding:8px 12px;
    font-size:1em;
    border-radius:0 0 8px 8px;
}

/* Espacement et grille */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Images et illustrations */
img, svg {
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
    width:100%;
    display: block;
    margin:0 auto 16px auto;
    box-shadow:0 2px 8px var(--shadow);
    border-radius:8px;
}

/* Accent or solaire */
.accent {
    color: var(--or-solaire);
    font-weight: 700;
}

/* Hide the hamburger menu by default */
.hamburger {
  display: none;
}


/* Responsive */
@media (max-width: 700px) {

    .main-menu {
        flex-direction: column;
        display: none; /* Hide the menu by default */
        transition: max-height 0.3s ease-in-out;
        overflow: hidden;
    }

    .main-menu.active {
        display: flex; /* Show the menu when active */
    }

    .main-menu ul {
        flex-direction: column;
        gap: 0;
        justify-content: center;
    }
    
    .main-menu a {
        padding: 14px 0;
        font-size: 1rem;
    }

    .hamburger {
        display: block;
        background-color: var(--gris-mineral);
        color: white;
        padding: 10px;
        cursor: pointer;
        text-align: center;
    }

    main {
        padding: 32px 8px 24px 8px;
    }
    .banner h1 {
        font-size: 2rem;
    }
    
    li {
        margin-left: auto;
    }
    
    .carousel {
        max-width: none;
        width: 100vw;
        margin: 0;
        /* JS will override width inline for carousel */
    }

}
