.maethe-footer{background:#faf9f6;color:#171717;font:400 10px/1.8 Arial,Helvetica,sans-serif;position:relative;cursor:auto}.maethe-footer *{box-sizing:border-box}.maethe-footer-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding:32px;border-block:1px solid #ddd}.maethe-footer summary{list-style:none;cursor:pointer;letter-spacing:.08em;display:flex;align-items:center;gap:18px}.maethe-footer summary::-webkit-details-marker{display:none}.maethe-footer summary::after{content:'+';font-size:16px}.maethe-footer details[open] summary::after{content:'−'}.maethe-footer ul{list-style:none;padding:28px 0 0;margin:0}.maethe-footer li{margin:0 0 8px}.maethe-footer a,.maethe-footer button{font:inherit;color:inherit;text-decoration:none}.maethe-footer button{border:0;background:none;padding:0;cursor:pointer}.maethe-footer a:hover,.maethe-footer button:hover{text-decoration:underline;text-underline-offset:3px}.maethe-footer .maethe-home-services{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding:40px 32px;background:transparent;color:inherit;font:inherit;text-align:center}.maethe-footer .maethe-home-services p{margin:0}.maethe-copyright{text-align:center;margin:0;padding:20px 16px}.maethe-footer-dialog{max-width:440px;width:calc(100% - 40px);padding:28px;border:1px solid #ddd;background:#faf9f6;color:#171717;font:12px/1.8 Arial}.maethe-footer-dialog::backdrop{background:rgb(0 0 0 / .35)}.maethe-footer-dialog label{display:block;margin:14px 0}.maethe-footer-dialog input:not([type=checkbox]){display:block;width:100%;padding:8px}.maethe-footer-dialog form[method=dialog]{text-align:right}.maethe-footer :focus-visible{outline:1px solid currentColor;outline-offset:4px}@media(max-width:600px){.maethe-footer-menu{grid-template-columns:1fr;gap:24px;padding:24px 16px}.maethe-footer .maethe-home-services{grid-template-columns:1fr;gap:24px}}
body.maethe-homepage .maethe-home span{cursor:auto!important}body.maethe-homepage .maethe-home a span{cursor:pointer!important}body.maethe-homepage .maethe-footer,body.maethe-homepage .maethe-footer *{cursor:auto}body.maethe-homepage .maethe-footer a,body.maethe-homepage .maethe-footer button,body.maethe-homepage .maethe-footer summary{cursor:pointer}body.maethe-homepage .maethe-footer input{cursor:text}

/* Footer transparent, accolé au contenu, rubriques regroupées au centre. */
.maethe-footer { background: transparent; margin: 0; padding: 0; }
.wp-site-blocks > footer,
.wp-site-blocks > .maethe-footer,
.wp-site-blocks > .site-footer-container { margin-block-start: 0; padding: 0; }
.maethe-footer-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 160px));
    justify-content: center;
    align-items: start;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.maethe-footer-menu details { min-width: 0; text-align: left; }
.maethe-footer-menu summary { display: inline-flex; justify-content: flex-start; gap: 8px; }
.maethe-footer-menu ul { margin: 0; padding: 0; }
.maethe-footer .maethe-home-services,
.maethe-copyright { padding: 0; margin: 0; }
.maethe-footer-menu a,
.maethe-footer-menu button {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    transition: background-size .3s ease;
    text-decoration: none;
}
.maethe-footer-menu a:hover,
.maethe-footer-menu button:hover,
.maethe-footer-menu a:focus-visible,
.maethe-footer-menu button:focus-visible {
    background-size: 100% 1px;
    text-decoration: none;
}
@media (max-width: 600px) {
    .maethe-footer-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .maethe-footer-menu a, .maethe-footer-menu button, .maethe-footer-menu summary { transition: none; }
}

/* Titres sans soulignage ; sous-menus alignés sur leur bord gauche. */
.maethe-footer-menu summary,
.maethe-footer-menu summary:hover,
.maethe-footer-menu summary:focus-visible {
    background-image: none;
    text-decoration: none;
}
.maethe-footer-menu ul { text-align: left; }

/* Footer au bas des pages courtes, à la suite des pages longues. */
html{min-height:100%}body{min-height:100vh;margin:0}.wp-site-blocks{min-height:100vh;display:flex;flex-direction:column}.wp-site-blocks>footer,.wp-site-blocks>.maethe-footer,.wp-site-blocks>.site-footer-container{margin-top:auto}.wp-site-blocks>main{flex-shrink:0}

/* Les menus et les informations de service partagent les mêmes axes sur ordinateur. */
.maethe-footer .maethe-footer-menu,
.maethe-footer .maethe-home-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 16px;
    padding-inline: clamp(12px, 3vw, 40px);
    align-items: start;
    text-align: center;
}
.maethe-footer .maethe-footer-menu { padding-block: 7px; }
.maethe-footer .maethe-footer-menu details { text-align: left; }
.maethe-footer .maethe-footer-menu summary { justify-content: flex-start; line-height: 1.4; }
.maethe-footer .maethe-footer-menu summary::after { line-height: 1; }
.maethe-footer .maethe-footer-menu ul { text-align: left; padding: 4px 0 0; }
.maethe-footer .maethe-home-services { padding-block: 4px; line-height: 1.55; }
.maethe-footer .maethe-home-services p > span { display: block; }
.maethe-footer .maethe-copyright { padding-block: 4px 8px; }
.maethe-footer .maethe-home-services > div:nth-child(-n+2) :is(.maethe-service-title, .maethe-service-value) { display: inline; }
.maethe-footer .maethe-home-services > div:nth-child(-n+2) .maethe-service-title::after { content: " "; }
/* Disposition PC : menus au centre, services répartis sur toute la largeur. */
.maethe-footer .maethe-footer-menu summary { white-space: nowrap; }
@media (min-width: 1025px) {
    .maethe-footer .maethe-footer-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 0;
        padding-inline: 19.55%;
    }
    .maethe-footer .maethe-home-services {
        grid-template-columns: repeat(3, minmax(0, 18.5%));
        justify-content: space-between;
        column-gap: 0;
        padding-inline: 0;
    }
}
@media (max-width: 1024px) {
    .maethe-footer .maethe-footer-menu,
    .maethe-footer .maethe-home-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 4px;
        padding-inline: 5px;
    }
    .maethe-footer .maethe-footer-menu details {
        justify-self: center;
        width: max-content;
        max-width: 100%;
    }
    .maethe-footer .maethe-footer-menu summary {
        gap: 5px;
        letter-spacing: .03em;
        font-size: clamp(9px, 2.55vw, 10px);
    }
    .maethe-footer .maethe-home-services > div:nth-child(-n+2) :is(.maethe-service-title, .maethe-service-value) { display: block; }
    .maethe-footer .maethe-home-services > div:nth-child(-n+2) .maethe-service-title::after { content: none; }
}

/* Le menu central et la livraison E.U. partagent l’axe du footer. */
.maethe-footer .maethe-footer-menu details:nth-child(2) {
    justify-self: center;
    width: max-content;
    max-width: 100%;
}
.maethe-footer .maethe-footer-menu details:nth-child(2) ul {
    contain: inline-size;
}
@media (min-width: 1025px) {
    .maethe-footer .maethe-footer-menu details:first-child,
    .maethe-footer .maethe-footer-menu details:last-child {
        padding-inline-start: 28.82%;
    }
}
