/*
Theme Name: de La Butte
Theme URI: https://delabutte.net
Author: Les Commerces de La Butte
Description: Thème du site des Commerces de La Butte (Cours Julien, Notre-Dame-du-Mont, La Plaine, Marseille). Charte « de La Butte » : Dida, aplats saturés, cadres arrondis, pastilles.
Version: 0.1.16
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delabutte
*/
.dida{font-family:var(--wp--preset--font-family--dida);font-weight:400}
.wordmark{display:inline-flex;align-items:flex-end;gap:14px;text-decoration:none!important;color:inherit}
.wordmark .dida{font-size:2.4rem;line-height:.85}
.wordmark svg{height:1.9rem;width:auto;display:block}
.wordmark svg g{fill:currentColor}
.site-footer .wordmark .dida{font-size:3.2rem}
.site-footer .wordmark svg{height:2.6rem}
/* Pastilles */
.pill,.is-style-pastille a,.wp-block-navigation .wp-block-navigation-item__content{border-radius:999px}
.wp-block-navigation .wp-block-navigation-item__content{background:var(--wp--preset--color--gris-clair);color:var(--wp--preset--color--noir);padding:.55em 1.1em}
.wp-block-navigation .nav-adherer .wp-block-navigation-item__content{background:var(--wp--preset--color--jaune)}
.pill{display:inline-flex;align-items:center;padding:.45em 1em;font-weight:700;font-size:.95rem;line-height:1.1;text-decoration:none}
.pill.contour{border:4px solid currentColor}
.pill.penchee{transform:rotate(-2deg)}
.pill.penchee-d{transform:rotate(3deg)}
.wp-block-button.is-style-contour .wp-block-button__link{background:transparent;color:currentColor;border:4px solid currentColor}
/* Cadres photo */
.is-style-cadre img,.cadre{border:8px solid currentColor;border-radius:36px;overflow:hidden}
.tuile{display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:36px;gap:.4rem}
.tuile .dida{font-size:4.5rem;line-height:1}
.tuile small{font-weight:700}
/* Filets */
.filet-haut{border-top:4px solid currentColor}
.ligne-agenda{border-top:4px solid currentColor;padding:1.1rem 0}
.ligne-agenda:last-child{border-bottom:4px solid currentColor}
.carte-bordee{border:4px solid currentColor;border-radius:24px;padding:1.1rem}
/* Couverture façon affiche */
.couverture h1{font-size:var(--wp--preset--font-size--affiche);line-height:.92}
.pastilles-empilees{display:flex;flex-direction:column;align-items:center}
.pastilles-empilees .pill{font-size:1.6rem;padding:.25em 1.2em;border:4px solid currentColor;margin-top:-4px}
.quartiers{display:flex;gap:1rem;width:100%}
.quartiers .pill{flex:1;justify-content:center;font-size:1.4rem;padding:.7em}
.rues{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem}
@media (max-width:781px){.quartiers{flex-direction:column}.couverture h1{font-size:3rem}}
:focus-visible{outline:3px solid var(--wp--preset--color--bleu);outline-offset:3px}
.fil-ariane ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem;font-weight:700;font-size:.95rem}
.fil-ariane li+li::before{content:"›";margin-right:.35rem}
.fil-ariane a{text-decoration:none}.fil-ariane a:hover{text-decoration:underline}
.fil-ariane li[aria-current]{opacity:.7}
.wp-element-caption,.dlb-cadre figcaption,.dlb-credit{font-size:.8rem;font-weight:400;margin-top:.4rem;opacity:.85;text-align:left}
/* Pleine largeur : pas de marge entre les bandes de l'annuaire et des fiches */
.dlb-annuaire,.dlb-fiche{margin-top:0!important}.dlb-fiche>*,.dlb-annuaire>*{margin-block-start:0!important}

/* Accueil : alignement maquette */
.envies{display:flex;flex-wrap:wrap;gap:12px}.pill-envie{font-size:1.25rem;font-weight:700;padding:14px 26px;text-decoration:none!important;display:inline-flex}
.pill-envie:hover{filter:brightness(.92)}
.liste-rdv{border-bottom:4px solid #1a1a1a}
.ligne-rdv{display:flex;flex-wrap:wrap;align-items:center;gap:20px;justify-content:space-between;border-top:4px solid #1a1a1a;padding:22px 0;text-decoration:none!important;color:#1a1a1a}
.rdv-titre{font-size:2.5rem;flex:1 1 380px;line-height:.9}.rdv-date{background:#1a1a1a;color:#fff;font-weight:700;padding:10px 18px;display:inline-flex}
.rdv-lieu{font-size:1.06rem;font-weight:700;flex:0 1 260px;text-align:right}
.ligne-rdv:hover .rdv-titre{text-decoration:underline}
.wp-block-navigation .current-menu-item>.wp-block-navigation-item__content{background:#1a1a1a;color:#fff}
@media (max-width:781px){.rdv-lieu{text-align:left}}
/* Pas d'espace blanc entre les sections pleine largeur et le pied de page */
.wp-site-blocks>*{margin-block-start:0!important}
main>.alignfull:last-child,main .wp-block-post-content>.alignfull:last-child{margin-bottom:0}
/* Pied de page : plan du site comme la maquette */
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:1.125rem}
.site-footer ul a{text-decoration:none;font-weight:700;color:inherit}.site-footer ul a:hover{text-decoration:underline}
/* Lettre (formulaire Brevo) */
.lettre{margin:1rem 0 1.5rem}
.lettre-ligne{display:flex;gap:.5rem;flex-wrap:wrap}
.lettre input[type=email]{flex:1 1 12rem;min-width:0;border:4px solid #fff;border-radius:999px;background:transparent;color:#fff;padding:.7rem 1.1rem;font:inherit;font-weight:700}
.lettre input[type=email]::placeholder{color:rgba(255,255,255,.6)}
.lettre button{border:4px solid #fef043;border-radius:999px;background:#fef043;color:#1a1a1a;padding:.7rem 1.4rem;font:inherit;font-weight:700;cursor:pointer}
.lettre button:hover{background:#fff;border-color:#fff}
.lettre-optin{display:flex;gap:.5rem;align-items:flex-start;margin-top:.75rem;font-size:.85rem;line-height:1.35}
.lettre-optin input{margin-top:.2em;accent-color:#fef043}
.lettre-pot{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}

.lettre-msg{margin:.6rem 0 0;font-weight:700}
.lettre.est-envoye .lettre-ligne,.lettre.est-envoye .lettre-optin{display:none}

.site-footer .venir{display:grid;grid-template-columns:auto 1fr;gap:.2rem .7rem;margin:.4rem 0 1rem;font-size:.95rem;line-height:1.35}
.site-footer .venir dt{font-weight:700}.site-footer .venir dd{margin:0}
