/*
Theme Name: Jouanaud Bâtiment – Le Journal
Theme URI: https://www.jouanaudbatiment.com
Author: Oscar
Description: Thème du blog « Le Journal » de Jouanaud Bâtiment. Reprend à l'identique le header, les couleurs, la police (Roboto) et le footer du site principal. L'URL du site principal se règle à un seul endroit : en haut de functions.php (constante JB_SITE_PRINCIPAL).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: jouanaud-journal
*/

/* ==========================================================================
   Police : Roboto 400 / 700 (celle du site), servie localement
   ========================================================================== */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/roboto-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/roboto-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/roboto-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/roboto-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Couleurs et mesures relevées sur jouanaudbatiment.com
   ========================================================================== */
:root {
	--texte: "Roboto", sans-serif;
	--primary: #D83B1E;        /* accent : bouton, puces, icônes, survol menu */
	--red: #e81217;            /* survol des liens, filet des titres */
	--black: #171b1e;          /* titres, fil d'Ariane */
	--text: #000;              /* texte courant */
	--bg: #fff;                /* fond */
	--beige: #E8DDC1;          /* fond du menu mobile */
	--grey: #CFCFCF;
	--lightgrey: #EAEAEA;
	--max-width: 1200px;
	--padding-horizontal: 32px;
	--letter-spacing: 1.2px;
	--form-border: 1px solid #EAEAEA;
	--radius-input: 6px;
}
@media (max-width: 749px) { :root { --padding-horizontal: 16px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; background: var(--bg); color: var(--text); position: relative; font-family: var(--texte); font-size: 16px; }
body:has(#Header.open_header), html.jb-menu-open body { overflow: hidden; }
::selection { background: var(--red); color: #fff; }
a { text-decoration: none; color: #000; font-weight: 700; letter-spacing: var(--letter-spacing); transition: background-color .4s, color .4s; }
a:hover { color: var(--red); }
p { margin: 0; padding: 0; font-family: var(--texte); font-weight: 400; line-height: 1.4rem; font-size: 1rem; color: #000; }
ul li { font-family: var(--texte); line-height: 1.4rem; }
img { max-width: 100%; height: auto; }
.center { margin-left: auto; margin-right: auto; width: 100%; max-width: var(--max-width); color: #000; }

.btn { background-color: var(--primary); display: inline-flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; color: #fff; padding: 12px 18px; border-radius: 10px; white-space: nowrap; border: 0; font-family: var(--texte); font-size: .8rem; font-weight: 700; letter-spacing: var(--letter-spacing); cursor: pointer; transition: background-color .4s, color .4s; }
.btn.upper { text-transform: uppercase; }
.btn:hover, .btn:focus-visible { color: #fff; background-color: var(--red); }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 8px; top: 8px; z-index: 100000; padding: 12px 18px; background: #fff; color: var(--black); border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ==========================================================================
   Header (identique aux pages intérieures du site)
   ========================================================================== */
#Header { display: flex; width: 100%; justify-content: center; align-items: center; background-image: url("assets/header-bg.png"); background-position: 0 0; background-repeat: repeat-x; background-size: auto max(212px, 100%); padding: 0 var(--padding-horizontal); }
#Header > .content { display: flex; width: 100%; flex-wrap: nowrap; justify-content: center; align-items: stretch; max-width: var(--max-width); padding-top: 48px; min-width: 0; }

/* Bloc blanc du logo : largeur bornée, jamais écrasé */
#Header .left { display: inline-flex; justify-content: center; align-items: center; padding: 30px; position: relative; flex: 0 0 auto; }
#Header .left::before { content: ""; position: absolute; inset: 0; background-color: #fff; border-radius: 16px 16px 0 0; }
#Header .left > a { width: 234px; z-index: 10; position: relative; display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; letter-spacing: normal; }
#Header .left > a > img { display: block; width: 100%; height: auto; max-height: 90px; object-fit: contain; object-position: left center; } /* un logo carré ou haut ne déforme pas le header */
/* Repli sans logo : le titre passe à la ligne dans la même largeur */
.site-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; max-width: 100%; color: var(--black); font-size: 1.1rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: var(--letter-spacing); overflow-wrap: anywhere; hyphens: auto; }
.site-tagline { display: block; max-width: 100%; margin-top: 4px; color: var(--primary); font-size: .7rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: var(--letter-spacing); overflow-wrap: anywhere; }
#Header .left > a:hover .site-title { color: var(--red); }

/* Menu */
#Header .nav { display: flex; flex: 1 1 auto; min-width: 0; }
#Header .center { display: inline-flex; flex-wrap: nowrap; justify-content: center; align-items: center; list-style: none; color: #fff; flex-grow: 1; min-width: 0; margin: 0; padding: 0; }
#Header .center > li { height: 100%; flex: 0 0 auto; }
#Header .center > li > a { display: inline-flex; justify-content: center; align-items: center; padding: 0 18px; color: #fff; text-transform: uppercase; position: relative; font-weight: 700; letter-spacing: var(--letter-spacing); font-size: .8rem; line-height: 1.4rem; height: 100%; white-space: nowrap; }
/* 18 px au lieu de 32 px sur le site : nécessaire pour loger le 5e onglet « Le Journal » sans rien chevaucher */
#Header .center > li > a::after { content: ""; position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); width: 4px; height: 4px; background-color: #fff; border-radius: 50%; }
#Header .center > li:first-of-type > a { padding-left: 0; }
#Header .center > li:last-of-type > a::after { display: none; }
#Header .center > li.selected > a { text-decoration: underline; }   /* onglet actif : souligné, comme sur le site */
#Header .center > li:hover > a { color: var(--primary); }

#Header .right { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 auto; }
#Header .right > .btn { font-size: .8rem; }
#Header .right > .facebook { display: block; margin-left: 16px; width: 26px; height: 26px; background-image: url("assets/icons/fb.svg"); background-size: cover; background-position: center; }

/* Bouton « Menu » (mobile) */
#TopMenu { color: #fff; margin-left: 16px; display: none; align-items: center; gap: 8px; text-transform: uppercase; cursor: pointer; background: none; border: 0; padding: 0; font-family: var(--texte); font-size: 1rem; letter-spacing: normal; }
#TopMenu .burger_m { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; order: 2; }
#TopMenu .burger_m > span { width: 30px; height: 2px; background-color: #fff; border-radius: 6px; }
#TopMenu .close_div { display: none; width: 22px; height: 22px; position: relative; order: 2; }
#TopMenu .close_div::before, #TopMenu .close_div::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
#TopMenu .close_div::before { transform: translate(-50%, -50%) rotate(45deg); }
#TopMenu .close_div::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Largeur intermédiaire : même resserrement que le site */
@media (max-width: 1279px) {
	#Header .left { padding: 20px; }
	#Header .left > a { width: 180px; }
}
/* Menu replié : sous 1200 px, ou dès que le menu ne tient plus (classe posée par menu.js) */
@media (max-width: 1199px) {
	#Header .center > li { display: none; }
	#Header .right > .facebook { display: none; }
	#TopMenu { display: inline-flex; }
}
#Header.is-compact .center > li { display: none; }
#Header.is-compact .right > .facebook { display: none; }
#Header.is-compact #TopMenu { display: inline-flex; }
@media (max-width: 575px) {
	#Header .right > .btn { display: none; }
}

/* Menu ouvert (plein écran, fond beige, comme sur le site) */
#Header.open_header { position: fixed; inset: 0; z-index: 9999; background-color: var(--beige); background-image: none; max-height: 100%; overflow-y: auto; padding-bottom: 100px; align-items: flex-start; }
.admin-bar #Header.open_header { top: 32px; }
@media (max-width: 782px) { .admin-bar #Header.open_header { top: 46px; } }
#Header.open_header > .content { flex-direction: column; justify-content: flex-start; align-items: center; flex-grow: 1; padding-top: 130px; position: relative; }
@media (max-width: 749px) { #Header.open_header > .content { padding-top: 100px; } }
#Header.open_header .left { position: absolute; left: 0; top: 30px; padding: 0; }
#Header.open_header .left::before { display: none; }
@media (max-width: 749px) { #Header.open_header .left > a { width: 150px; } }
#Header.open_header .nav { width: 100%; flex: 0 0 auto; }
#Header.open_header .center { display: flex; width: 100%; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 100px; }
#Header.open_header .center > li { display: block; width: 100%; height: auto; text-align: center; }
#Header.open_header .center > li > a,
#Header.open_header .center > li:first-of-type > a { padding: 50px var(--padding-horizontal); width: 100%; height: auto; color: var(--primary); font-size: 1.65rem; line-height: 1.2; white-space: normal; }
#Header.open_header .center > li > a:hover { color: #fff; }
#Header.open_header .center > li > a::after { top: 100%; right: 50%; transform: translate(50%, 50%); width: 300px; max-width: 80%; height: 1px; border-radius: 0; background-color: var(--primary); }
#Header.open_header .right > .btn { display: inline-flex; position: fixed; bottom: 0; left: 0; right: 0; height: 80px; padding: 8px 16px; text-align: center; background-color: var(--primary); color: #fff; z-index: 10; border-radius: 0; font-size: 1.2rem; }
#Header.open_header .right > .facebook { display: none; }
#Header.open_header #TopMenu { display: inline-flex; position: absolute; right: 0; top: 30px; padding-top: 20px; color: var(--primary); }
@media (max-width: 749px) { #Header.open_header #TopMenu { padding-top: 10px; } }
#Header.open_header #TopMenu .burger_m { display: none; }
#Header.open_header #TopMenu .close_div { display: block; }

/* ==========================================================================
   Contenu
   ========================================================================== */
.container { padding: 70px var(--padding-horizontal) 150px; }
@media (max-width: 950px) { .container { padding-top: 35px; } }

.breadcrumb { display: block; list-style: none; margin: 0 auto; padding: 0; }
.breadcrumb li, .breadcrumb a { color: var(--black); font-family: var(--texte); font-size: .9rem; text-transform: uppercase; font-weight: 700; }
.breadcrumb li { display: inline; line-height: 1.4rem; }
.breadcrumb li::after { content: "/"; padding: 0 7px; }
.breadcrumb li:last-of-type::after { display: none; }
.breadcrumb a:hover { color: var(--red); }

.title_page { color: var(--black); font-size: 2rem; font-family: var(--texte); line-height: 3rem; font-weight: 700; text-transform: uppercase; text-align: left; margin: 20px 0; position: relative; padding-left: 20px; border-left: 10px solid var(--red); overflow-wrap: anywhere; }
@media (max-width: 575px) { .title_page { font-size: 1.4rem; line-height: 2rem; } }
.archive-description { margin-top: 10px; }

/* Liste des articles : vignettes 4 / 3 / 2 / 1 colonnes */
.lst_actu { display: flex; flex-wrap: wrap; margin: 50px -10px 0 0; }
@media (max-width: 720px) { .lst_actu { margin-top: 30px; } }
@media (max-width: 450px) { .lst_actu { margin-top: 20px; } }
.actu { width: 25%; position: relative; overflow: hidden; padding-right: 10px; margin-bottom: 10px; }
@media (max-width: 980px) { .actu { width: calc(100% / 3); } }
@media (max-width: 720px) { .actu { width: 50%; } }
@media (max-width: 450px) { .actu { width: 100%; } }
.actu a.pic_actu { display: block; width: 100%; overflow: hidden; position: relative; aspect-ratio: 5 / 4; background: var(--lightgrey); letter-spacing: var(--letter-spacing); }
.actu a.pic_actu img { display: block; width: 100%; height: 100%; object-fit: cover; }
.actu .legend { display: block; width: 100%; height: 40px; position: absolute; bottom: 0; left: 0; background-color: rgba(23, 27, 30, .6); color: #fff; padding: 0 10px; font-family: var(--texte); font-size: .85rem; line-height: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: height .4s ease; z-index: 5; }
.actu:hover .legend, .actu a:focus-visible .legend { height: 100%; white-space: normal; padding-top: 10px; padding-bottom: 10px; line-height: 20px; }
.no-results { margin-top: 30px; }
.no-results + .search-form, .error-404 .search-form { margin-top: 25px; }

/* Pagination */
.pagin { display: block; width: 100%; text-align: right; margin-top: 25px; }
.pagin .pagin-item { display: inline-block; vertical-align: top; margin: 0 10px 10px 0; }
.pagin .page-numbers { display: inline-block; height: 40px; min-width: 40px; padding: 0 8px; line-height: 38px; font-family: var(--texte); font-weight: 400; color: var(--black); border: 1px solid var(--black); text-align: center; font-size: 1.2rem; letter-spacing: normal; transition: all .4s ease; }
.pagin .page-numbers.current, .pagin a.page-numbers:hover { color: var(--red); border-color: var(--red); }
.pagin .page-numbers.dots { border-color: transparent; }

/* Article seul : texte + colonne « Les autres articles » */
.actu_content { display: flex; flex-wrap: wrap; align-items: flex-start; width: 100%; padding-top: 10px; }
.current_actu { width: calc(100% - 300px); padding-right: 60px; min-width: 0; }
.current_actu.full { width: 100%; padding-right: 0; }
@media (max-width: 920px) { .current_actu { width: 100%; padding-right: 0; } }
.current_actu > h1, .current_actu h2, .current_actu h3, .suggest_actu h3, .comments-area h2, .comment-reply-title { display: block; width: 100%; font-family: var(--texte); text-transform: uppercase; color: var(--black); font-size: 1.35rem; font-weight: 700; line-height: normal; margin: 20px 0; overflow-wrap: anywhere; }
.current_actu > h1 { margin: 14.5px 0; }
.current_actu .actu_pic { display: block; width: 100%; height: auto; margin: 15px 0 0; }
.descript { margin-top: 40px; line-height: 1.6rem; overflow-wrap: break-word; }
.descript > *:first-child { margin-top: 0; }
.descript p { margin: 15px 0; }
.descript ul, .descript ol { margin: 16px 0; padding-left: 40px; }
.descript h4, .descript h5, .descript h6 { color: var(--black); text-transform: uppercase; font-size: 1.1rem; margin: 20px 0 10px; }
.descript blockquote { margin: 20px 0; padding-left: 20px; border-left: 4px solid var(--red); }
.descript img, .descript figure { max-width: 100%; height: auto; }
.descript figure { margin: 20px 0; }
.descript figcaption, .wp-caption-text, .gallery-caption { font-size: .85rem; color: #676767; margin-top: 6px; }
.descript table { border-collapse: collapse; width: 100%; margin: 20px 0; }
.descript th, .descript td { border: 1px solid var(--lightgrey); padding: 8px 12px; text-align: left; }
.descript pre { overflow-x: auto; background: #F0F1F3; padding: 16px; }
.page-links { margin: 20px 0; font-weight: 700; }
.page-links a, .page-links > span { margin-left: 8px; }

.suggest_actu { width: 300px; }
@media (max-width: 920px) { .suggest_actu { width: 100%; margin-top: 25px; } }
.suggest_actu h3 { text-align: center; }
@media (max-width: 920px) { .suggest_actu h3 { text-align: left; } }
.suggest_actu .actu { width: 100%; padding-right: 0; margin-bottom: 25px; }
@media (max-width: 920px) { .suggest_actu .jb-suggest-list { display: flex; flex-wrap: wrap; gap: 10px; } .suggest_actu .actu { width: 190px; margin-bottom: 0; } }
@media (max-width: 650px) { .suggest_actu .actu { width: calc(50% - 5px); } }
@media (max-width: 450px) { .suggest_actu .actu { width: 100%; } }
.suggest_actu .widget { margin-top: 25px; }
.suggest_actu .widget ul { padding-left: 20px; }

/* Alignements WordPress */
.alignleft { float: left; margin: 5px 20px 10px 0; }
.alignright { float: right; margin: 5px 0 10px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { }

/* ==========================================================================
   Recherche et formulaires
   ========================================================================== */
.search-form { display: flex; gap: 10px; max-width: 600px; }
.search-form .search-field { flex: 1 1 auto; min-width: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea { font-family: var(--texte); font-size: 1rem; color: #000; background: #fff; border: var(--form-border); border-radius: var(--radius-input); padding: 12px 16px; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
label { font-weight: 700; font-size: .9rem; }

/* 404 */
.error-404 p { margin-top: 20px; }
.error-404 .center > .btn { margin-top: 30px; }

/* ==========================================================================
   Commentaires
   ========================================================================== */
.comments-area { margin-top: 50px; padding-top: 10px; border-top: 1px solid var(--lightgrey); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 30px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--lightgrey); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.comment-meta .avatar { border-radius: 50%; }
.comment-author, .comment-author a { font-weight: 700; color: var(--black); }
.comment-date { font-weight: 400; font-size: .85rem; color: #676767; letter-spacing: normal; }
.comment-content p { margin: 12px 0; line-height: 1.6rem; }
.comment-awaiting-moderation { margin-top: 10px; font-style: italic; }
.comment-actions { font-size: .85rem; text-transform: uppercase; }
.comment-actions a { color: var(--primary); margin-right: 12px; }
.comment-actions a:hover { color: var(--red); }
.comment-respond { margin-top: 30px; }
.comment-reply-title small { margin-left: 10px; font-size: .8rem; text-transform: none; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-notes, .logged-in-as { font-size: .9rem; }
.required { color: var(--red); }
.comments-area .nav-links { display: flex; justify-content: space-between; margin: 20px 0; }
.no-comments { margin-top: 20px; }

/* ==========================================================================
   Footer (identique au site)
   ========================================================================== */
#Footer { display: block; width: 100%; line-height: normal; padding-top: 300px; }
@media (max-width: 575px) { #Footer { padding-top: 200px; } }
#MapFooter { position: relative; }
#MapFooter::before { content: ""; position: absolute; top: 0; left: 50%; width: 100%; height: 800px; background-image: url("assets/footer-deco.png"); transform: translateY(-45%) translateX(-50%); z-index: 0; background-size: contain; background-position: center center; background-repeat: repeat-x; pointer-events: none; }
@media (max-width: 1023px) { #MapFooter::before { height: 600px; } }
@media (max-width: 575px) { #MapFooter::before { transform: translateY(-300px) translateX(-50%); height: 600px; } }

#CtcBlk { position: absolute; line-height: normal; top: 0; right: 150px; z-index: 25; transform: translateY(-100px); display: block; width: 310px; }
@media (max-width: 749px) { #CtcBlk { width: 210px; right: 60px; } }
@media (max-width: 459px) { #CtcBlk { right: 50%; transform: translateX(50%) translateY(-140px); } }
#CtcBlk > .content { background-color: #fff; padding: 40px; width: 100%; border-radius: 20px; box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, .15); }
@media (max-width: 749px) { #CtcBlk > .content { padding: 20px; } }
#CtcBlk .logo_footer { margin-bottom: 40px; }
@media (max-width: 749px) { #CtcBlk .logo_footer { margin-bottom: 20px; } }
#CtcBlk .logo_footer > img { display: block; width: 100%; height: auto; max-height: 140px; object-fit: contain; object-position: left center; }
#CtcBlk .logo_footer .site-title { -webkit-line-clamp: 4; }
#CtcBlk .item { display: flex; width: 100%; flex-direction: column; position: relative; padding-left: 50px; margin-bottom: 30px; font-size: 16px; font-weight: 700; color: #000; }
#CtcBlk a.item:hover { color: var(--red); }
#CtcBlk .item:last-child { margin-bottom: 0; }
#CtcBlk .item b { font-weight: 700; }
#CtcBlk .item.adresse_ctc { font-weight: 400; font-size: 14px; line-height: 1.4; letter-spacing: normal; }
#CtcBlk .item::before { content: ""; position: absolute; top: 50%; left: 0; width: 24px; aspect-ratio: 1 / 1; transform: translateY(-50%); background-color: var(--primary); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
#CtcBlk .item.adresse_ctc::before { -webkit-mask-image: url("assets/icons/marker.svg"); mask-image: url("assets/icons/marker.svg"); }
#CtcBlk .item.phone_ctc::before { -webkit-mask-image: url("assets/icons/phone.svg"); mask-image: url("assets/icons/phone.svg"); }
#CtcBlk .item.mail_ctc::before { -webkit-mask-image: url("assets/icons/email.svg"); mask-image: url("assets/icons/email.svg"); }
#CtcBlk .item.facebook::before { -webkit-mask-image: url("assets/icons/facebook.svg"); mask-image: url("assets/icons/facebook.svg"); }
@media (max-width: 749px) {
	#CtcBlk .item { padding-left: 30px; font-size: .7rem; margin-bottom: 20px; }
	#CtcBlk .item.adresse_ctc { font-size: .7rem; }
	#CtcBlk .item::before { width: 18px; }
}

#MapContact { display: block; width: 100%; height: 600px; position: relative; z-index: 1; background: #E5E3DF; }
#MapContact iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1024px) { #MapContact { height: 400px; } }
@media (max-width: 640px) { #MapContact { height: 350px; } }
/* Sans carte : on garde la place du bloc contact */
#MapFooter.no-map { min-height: 330px; }
@media (max-width: 749px) { #MapFooter.no-map { min-height: 260px; } }

#Footer footer { padding: 0 var(--padding-horizontal); display: flex; width: 100%; justify-content: center; align-items: center; background-image: url("assets/header-bg.png"); background-position: top center; position: relative; }
#Footer footer > .content { max-width: var(--max-width); display: flex; width: 100%; justify-content: center; align-items: center; z-index: 10; }
#Footer footer ul { display: flex; width: 100%; flex-wrap: wrap; justify-content: center; align-items: stretch; list-style: none; margin: 0; padding: 0; }
#Footer footer li > a { padding: 40px 34px; display: inline-flex; justify-content: center; align-items: center; color: #fff; position: relative; }
#Footer footer li > a::after { content: ""; position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); width: 4px; height: 4px; background-color: var(--primary); border-radius: 50%; }
#Footer footer li:last-child > a::after { display: none; }
@media (max-width: 1023px) { #Footer footer li > a { padding: 40px 16px; } }
@media (max-width: 749px) { #Footer footer li > a { padding: 20px 16px; font-size: .65rem; } }
@media (max-width: 575px) { #Footer footer li > a { padding: 8px 16px; } #Footer footer ul { padding: 12px 0; } }
