/*
Theme Name:   Bricks Child Theme
Theme URI:    https://bricksbuilder.io/
Description:  Use this child theme to extend Bricks.
Author:       Bricks
Author URI:   https://bricksbuilder.io/
Template:     bricks
Version:      1.2
Text Domain:  bricks
*/

/* ==========================================================================
   SOMMAIRE
   1. Variables
   2. Global
   3. Utilitaires (fonds, conteneurs)
   4. Composants (boutons, cartes, accordéon, crop marks, blockquote…)
   5. Header
   6. Accueil
   7. Campagne
   8. Équipe
   9. Articles
   10. Formulaires (Gravity Forms)
   11. Commentaires pétition
   12. Filtres (FacetWP)
   13. Footer
   14. Responsive
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
	--font-title: 'Antonio', sans-serif;
	--font-body: 'Geist', sans-serif;
	--zw-black: #0E110F;
	--zw-grey-text: #454D48;
	--zw-texture-btn-orange: url('/wp-content/uploads/2026/08/btn_texture_orange.jpg');
	--zw-texture-btn-black: url('/wp-content/uploads/2026/08/btn_texture_noir.jpg');
	--zw-texture-cream: url('/wp-content/uploads/2026/08/bg_texture1.jpg');
}


/* ==========================================================================
   2. GLOBAL
   ========================================================================== */
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}
.anww-tooltip {
	display: none !important
}
.brxe-section {
	scroll-margin-top: 124px;
}

#brx-content.wordpress {
	padding-left: 20px;
	padding-right: 20px;
}

.texte-highlighted {
	font-family: var(--font-title);
	font-size: 55px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.tag-post-type {
	font-family: var(--font-title);
	font-weight: 700;
	background: var(--zw-green);
	text-transform: uppercase;
	padding: 0 5px;
	margin-bottom: 5px;
}

.chapo {
	font-weight: 600;
	font-size: 18px;
	line-height: normal;
	margin-bottom: 35px;
}

.brxe-breadcrumbs {
	font-family: var(--font-title);
	text-transform: uppercase;
	font-size: 20px;
}

blockquote {
	position: relative;
	border: none;
	padding-left: 100px;
	max-width: 80%;
	margin: auto auto 50px;
}

blockquote::before {
	content: "";
	background: url('/wp-content/uploads/2026/10/blockquote.png');
	background-repeat: no-repeat;
	background-size: contain; 
	background-position: center;
	width: 80px;
	height: 80px;
	position: absolute;
	left: 0;
}

blockquote p {
	font-family: 'Geist', sans-serif;
	font-weight: 600;
}


/* ==========================================================================
   3. UTILITAIRES
   ========================================================================== */

/* Fonds */
.fond-vert   { background: var(--zw-green); }
.fond-violet { background: var(--zw-purple); }
.fond-creme  { background: var(--zw-cream); }
.fond-rose   { background: var(--zw-pink); }
.fond-orange { background: var(--zw-orange); }

.fond-creme-texture {
	background-image: var(--zw-texture-cream);
	background-size: cover;
	background-position: center;
}

/* Largeurs */
.container-900,
.single-combats #brx-content h2,
.single-combats #brx-content h3 {
	width: 100%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.container-1200 {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}


/* ==========================================================================
   4. COMPOSANTS
   ========================================================================== */

/* --- Boutons ------------------------------------------------------------ */
.btn-zw {
	display: inline-block;
	padding: 0 20px;
	color: var(--color-text);
	background: var(--zw-orange) var(--zw-texture-btn-orange) center / cover no-repeat;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: var(--text-l);
	text-transform: uppercase;
}

.btn-zw:hover {
	color: #fff;
}

.btn-zw i {
	margin-right: 10px;
}

.btn-zw .anww-external-link-icon,
.brxe-image .anww-external-link-icon,
.bda-file-download .anww-external-link-icon {
	display: none;
}

/* --- Typographie cartes ------------------------------------------------- */
.tag-carte,
.tag-titre,
.titre-carte,
.l-list__item__cartouche {
	font-family: var(--font-title);
	font-weight: 700;
	text-transform: uppercase;
}

/* --- Légende bloc vert -------------------------------------------------- */
.legende-don-bloc-vert {
	position: relative;
	z-index: 0;
	max-width: 600px;
	margin: auto;
	text-align: center;
}

.legende-don-bloc-vert p {
	padding: 15px;
	border: 5px solid var(--zw-green);
}

.legende-don-bloc-vert::before,
.legende-don-bloc-vert::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.legende-don-bloc-vert::before {
	width: calc(100% + 25px);
	height: calc(100% - 5px);
	border-top: 2px solid var(--zw-black);
	border-bottom: 2px solid var(--zw-black);
}

.legende-don-bloc-vert::after {
	width: calc(100% - 5px);
	height: calc(100% + 25px);
	border-left: 2px solid var(--zw-black);
	border-right: 2px solid var(--zw-black);
}

/* --- Liste d'articles (l-list / c-miniPost / c-cardInfos) --------------- */
.l-list__item {
	max-width: 600px;
	margin: 15px auto 25px;
}

.l-list__item__cartouche {
	display: inline-block;
	background: var(--zw-green);
	padding: 0 5px;
}

.l-list__item__cartouche i {
	display: none;
}

.c-miniPost {
	display: flex;
	flex-direction: row-reverse;
	background: var(--zw-cream);
}

.c-miniPost__thumbnail {
	width: 200px;
}

.c-miniPost__infos.c-cardInfos {
	width: calc(100% - 200px);
}

.c-miniPost__excerpt,
.c-cardInfos__meta {
	display: none;
}

.c-cardInfos__title {
	position: relative;
	padding: 15px 35px;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
}

.c-cardInfos__title::before,
.c-cardInfos__title::after {
	background-repeat: no-repeat;
}

.c-cardInfos__title::before {
	content: "";
	position: absolute;
	bottom: 15px;
	left: 38px;
	width: 50px;
	height: 50px;
	background-image: url('/wp-content/uploads/2026/08/icone_double-fleches-cta_wh.png');
	background-position: center;
}

.c-cardInfos__title::after {
	content: "En Savoir plus";
	display: block;
	height: 50px;
	margin-top: 60px;
	padding-left: 60px;
	font-size: 15px;
	line-height: 50px;
	vertical-align: middle;
	background-image: var(--zw-texture-btn-black);
	background-size: 50px 50px;
}

/* --- Cartes propositions ------------------------------------------------ */
.container-cartes-propositions {
	counter-reset: cartes;
}

.brxe-container .carte-propositions {
	background: #fff;
	padding: 35px;
}

.carte-propositions::before {
	counter-increment: cartes;
	content: "#" counter(cartes);
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 35px;
}

.carte-propositions h4 {
	font-size: 35px;
	margin-bottom: 25px;
}

/* --- Crop marks (repères de coupe) -------------------------------------- */
.image-crop-marks,
.div-crops-marks {
	position: relative;
	z-index: 2;
}

.image-crop-marks { padding: 10px; }
.div-crops-marks  { padding: 15px; }

.image-crop-marks::before,
.image-crop-marks::after,
.div-crops-marks::before,
.div-crops-marks::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
	opacity: 0.5;
}

.image-crop-marks::before {
	width: 100%;
	height: calc(100% - 30px);
	border-top: 2px solid var(--zw-black);
	border-bottom: 2px solid var(--zw-black);
}

.image-crop-marks::after {
	width: calc(100% - 30px);
	height: 100%;
	border-left: 2px solid var(--zw-black);
	border-right: 2px solid var(--zw-black);
}

.div-crops-marks::before {
	width: 100%;
	height: calc(100% - 40px);
	border-top: 2px solid var(--zw-black);
	border-bottom: 2px solid var(--zw-black);
}

.div-crops-marks::after {
	width: calc(100% - 40px);
	height: 100%;
	border-left: 2px solid var(--zw-black);
	border-right: 2px solid var(--zw-black);
}

.image-crop-marks img {
	border: 4px solid #fff;
}

.fond-creme .image-crop-marks img,
.fond-creme-texture .image-crop-marks img {
	border-color: var(--zw-cream);
}

.content-div-crop-marks {
	margin: auto;
	padding: 25px;
	background: var(--zw-cream);
	border: 4px solid #fff;
}

/* Variante avec légende (figcaption) */
.image-crop-marks:has(figcaption) {
	padding-left: 200px;
}

.image-crop-marks:has(figcaption) figcaption {
	left: 0;
	bottom: 80px;
	max-width: 200px;
	text-align: right;
	color: var(--zw-grey-text) !important;
	background: none;
	box-shadow: none;
}

.image-crop-marks:has(figcaption)::before {
	left: 185px;
	width: calc(100% - 175px);
	transform: translate(0, -50%);
}

.image-crop-marks:has(figcaption)::after {
	left: 204px;
	width: calc(100% - 219px);
	transform: translate(0, -50%);
}

/* --- Accordéon ---------------------------------------------------------- */
.brxe-accordion {
	max-width: 800px;
	margin: 35px auto;
}

.accordion-item {
	margin-bottom: 15px;
}

.accordion-title:hover * {
	color: #fff;
}

.accordion-title-wrapper {
	background: var(--zw-green);
	padding: 15px;
}

.accordion-title-wrapper i {
	font-size: 2rem;
}

.accordion-content-wrapper {
	position: relative;
	padding: 15px 15px 60px;
}

.btn-accordion {
	position: absolute;
	left: 0;
	bottom: 5px;
	width: 100%;
	height: 45px;
	padding-left: 55px;
	background: var(--zw-cream);
	font-family: var(--font-title);
	font-weight: 700;
	line-height: 45px;
	text-transform: uppercase;
}

.btn-accordion::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 45px;
	height: 45px;
	background: red; /* TODO : remplacer par l'icône définitive */
}

.btn-accordion::after {
	content: "\e661";
	position: absolute;
	right: 0;
	padding: 5px;
	font-family: themify;
	font-size: 35px;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	color: #fff;
	background: #000;
}

/* --- Téléchargement de fichier ------------------------------------------ */
.bda-file-download {
	position: relative;
	margin: auto auto 15px;
	padding: 5px 60px 5px 50px;
	background: var(--zw-cream);
	min-height: 50px;
}

.bda-file-download::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 10px;
	width: 30px;
	height: 30px;
	background: url('/wp-content/uploads/2026/09/clipboard-text.svg') center / contain no-repeat;
}

.bda-file-download a {
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 20px;
}

.bda-file-download .file-download {
	width: 40px;
	height: 40px;
	background:  var(--zw-texture-btn-black);
	background-repeat: no-repeat;
	background-size: cover; 
	position: absolute;
	right: 5px;
	top: 5px;
}
.bda-file-download .file-download::before {
	content: "";
	background: url('/wp-content/uploads/2026/08/icone_double-fleches-cta_wh.svg'); 
	height: 25px;
	width: 25px;
	background-size: contain;
	position: absolute;  
	right: 6px;
	top: 8px;
}
/* --- Carte -------------------------------------------------------------- */
.carte {
	background: var(--zw-light-sea-green);
	padding: 15px;
}

.carte-rose    { background: var(--zw-pink); }
.carte-violette { background: var(--zw-purple); }

.carte *:not(i) {
	color: #fff !important;
	font-family: var(--font-title);
	font-weight: 700;
	text-transform: uppercase;
}

.content-carte {
	padding: 5px 15px 0;
}

.btn-carte {
	padding-left: 0;
	background: none !important;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 16px;
}

.btn-carte i {
	padding: 10px;
	background: var(--zw-texture-btn-black) center / cover;
}

.btn-carte i::before {
	position: relative;
	left: 2px;
	transition: 0.2s;
}

.btn-carte:hover i::before {
	left: 4px;
}

/* Image de carte + crop marks */
.img-carte {
	position: relative;
	z-index: 2;
}

.img-carte img,
.carte-actu-img-marks img {
	display: block;
	width: 100%;
	height: auto;
	border: 2px solid var(--zw-light-sea-green);
	transition: transform 0.2s ease;
}

.carte-rose.carte .img-carte img    { border-color: var(--zw-pink) !important; }
.carte-violette.carte .img-carte img { border-color: var(--zw-purple) !important; }

.carte-actu-img-marks .img-carte img {
	border-color: var(--zw-cream);
}

.carte:hover .img-carte img {
	transform: scale(0.95);
	border-color: var(--zw-light-sea-green);
}

.carte-actu-img-marks:hover .img-carte img {
	transform: scale(0.95);
	border-color: var(--zw-cream);
}

.img-carte::before,
.img-carte::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
	opacity: 0.5;
}

.img-carte::before {
	width: 100%;
	height: calc(100% - 25px);
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.img-carte::after {
	width: calc(100% - 25px);
	height: 100%;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}

.carte-actu-img-marks .img-carte::before {
	border-top-color: #000;
	border-bottom-color: #000;
}

.carte-actu-img-marks .img-carte::after {
	border-left-color: #000;
	border-right-color: #000;
}

/* --- Actualité liée ----------------------------------------------------- */
.actualite-liee {
	position: relative;
	max-width: 600px;
	margin: 55px auto 15px;
	background: var(--zw-cream);
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
}

.actualite-liee::before {
	content: "Lire aussi";
	position: absolute;
	top: -40px;
	left: 0;
	display: inline-block;
	padding: 0 5px;
	background: var(--zw-green);
	font-family: var(--font-title);
	font-weight: 700;
	text-transform: uppercase;
}


/* ==========================================================================
   5. HEADER
   ========================================================================== */
header {
	position: sticky;
	top: 0;
	z-index: 5000;
	padding: 0 20px;
	background: #fff;
	border-bottom: 4px solid var(--zw-green);
	font-size: 18px;
}

.site-header {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.site-header nav a {
	width: 100%;
	color: var(--color-text); /* ancien : var(--text-colo) (coquille) */
	font-family: var(--font-title);
	font-weight: 600;
	text-transform: uppercase;
}

header .bricks-button {
	padding: 10px 20px;
}


/* ==========================================================================
   6. PAGE D'ACCUEIL
   ========================================================================== */
.home h2 {
	font-size: 60px;
	line-height: 70px;
	margin-bottom: 35px;
}

/* --- Slider ------------------------------------------------------------- */
.zw-slider-home {
	position: relative;
}

.acf-main-slider {
	width: 100%;
	padding-bottom: 35px;
	overflow: hidden;
}

.acf-slider-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.zw-slider-home .slide {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	min-width: 100%;
	padding-right: 35px;
	box-sizing: border-box;
}

.titre-slide-home {
	font-family: var(--font-title);
	font-size: 6.5rem;
	font-weight: 700;
	line-height: 7rem;
	text-transform: uppercase;
}

.slide-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.slide-content,
.slide-image {
	padding: 15px;
}

.slide-image {
	position: relative;
	display: flex;
	align-self: flex-start;
}

.slide-image img {
	mix-blend-mode: multiply;
}

.slide-image::before,
.slide-image::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
	opacity: 0.5;
}

.slide-image::before {
	width: 100%;
	height: calc(100% - 36px);
	border-top: 2px solid var(--zw-black);
	border-bottom: 2px solid var(--zw-black);
}

.slide-image::after {
	width: calc(100% - 36px);
	height: 100%;
	border-left: 2px solid var(--zw-black);
	border-right: 2px solid var(--zw-black);
}

.texture-img {
	background: url('/wp-content/uploads/2026/09/texture-slider-accueil.png') center / cover;
	border: 4px solid #fff;
}

/* --- Navigation vignettes ----------------------------------------------- */
.acf-thumbnails-nav {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
	margin-top: 20px;
	padding: 15px;
	background: var(--zw-cream);
}

/* Fond pleine largeur */
.acf-thumbnails-nav::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	width: 100vw;
	height: 100%;
	background: var(--zw-cream);
	transform: translateX(-50%);
}

.thumbnail-dot {
	display: flex;
	gap: 5px;
	cursor: pointer;
}

.thumbnail-dot span {
	max-width: 150px;
	padding-top: 15px;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 16px;
	line-height: normal;
	text-transform: uppercase;
}

.thumbnail-dot img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.thumbnail-dot:not(.active) img {
	filter: grayscale(100%);
}
.thumbnail-dot:not(.active) {
	opacity: 0.5;
}
/* --- Sections ----------------------------------------------------------- */
#nos-combats > div {
	max-width: 700px;
	margin: auto;
	text-align: center;
}

#home-banner-cta {
	padding: 50px;
	background: var(--zw-cream) var(--zw-texture-cream) center / cover;
}

#home-banner-cta h2 {
	font-size: 100px;
	line-height: normal;
	margin-bottom: 35px;
}

#home-banner-cta .btn-zw {
	margin-bottom: 15px;
}

#home-banner-cta .btn-zw:nth-child(odd of .btn-zw) {
	transform: rotate(-2deg);
}

#home-realisations {
	background: var(--zw-green);
}

#groupes-locaux-home img {
	margin-bottom: 50px;
}

.content-carte-home-gl {
	padding: 25px;
}

/* --- Carte action ------------------------------------------------------- */
.carte-action {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-top: 15px solid #fff;
	border-left: 15px solid #fff;
}

.carte-action img {
	position: relative;
	top: 15px;
	left: 25px;
	height: 150px;
	object-fit: cover;
	object-position: center;
	transform: rotate(-3deg);
}
body:not(.home) .carte-action img {
	top: 40px;
}
.carte-action h3 {
	margin-bottom: 35px;
}

.carte-action a {
	position: absolute;
	bottom: 15px;
	left: 15px;
	z-index: 2;
	width: 55px;
	height: 55px;
	background: var(--zw-texture-btn-black) center / cover;
}
.carte-action a .anww-external-link-icon {
	display: none;
}
.carte-action a i {
	position: relative;
	left: 2px;
	transition: 0.2s;
}

.carte-action a:hover i {
	left: 5px;
}


/* ==========================================================================
   7. CAMPAGNE
   ========================================================================== */

/* --- Header de campagne ------------------------------------------------- */
.header-campagne {
	position: relative;
	overflow: hidden;
	padding: 20px 0 70px !important;
}

.header-campagne.rose, .combat-action-mise-en-avant.rose { background: var(--zw-pink); }
.header-campagne.orange, .combat-action-mise-en-avant.orange { background: var(--zw-orange); }
.header-campagne.vert, .combat-action-mise-en-avant.vert   { background: var(--zw-green); }
.header-campagne.violet, .combat-action-mise-en-avant.violet { background: var(--zw-purple); }
.header-campagne.bleu, .combat-action-mise-en-avant.bleu   { background: var(--zw-light-sea-green); }
.header-campagne.noir, .combat-action-mise-en-avant.noir   { background: #000000b2; } 
.header-campagne::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: url('/wp-content/uploads/2026/09/texture-header.png') center / cover no-repeat;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.header-campagne * {
	z-index: 2;
	color: #fff;
}

.header-campagne img {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: auto;
	max-width: 45%;
	max-height: 100%;
}

.header-campagne h1 {
	width: 800px;
	max-width: 100%;
	margin: 15px 0 30px;
	font-size: 80px;
	line-height: 1.1;
}

.header-campagne p {
	max-width: 600px;
	margin-bottom: 35px;
	font-weight: 600;
}

/* --- Chiffres clés ------------------------------------------------------ */
#en-quelques-chiffres {
	background: var(--zw-texture-cream) center / cover;
}

.container-chiffre-cles {
	position: relative;
	padding: 25px;
	background-color: var(--zw-pink);
	background-image: url('/wp-content/uploads/2026/10/green-dust-and-scratches.png');
}

.container-chiffre-cles * {
	z-index: 2;
	color: #fff;
	font-family: var(--font-title);
	font-weight: 700;
}

.container-chiffre-cles p:not(.texte-highlighted) {
	font-family: 'Geist', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: normal;
}

.brxe-container .container-chiffre-cles:nth-child(2) {
	background-color: var(--zw-light-sea-green);
	background-image: url('/wp-content/uploads/2026/10/asfalt-light.png');
}

.brxe-container .container-chiffre-cles:nth-child(3) {
	background-color: var(--zw-green);
	background-image: url('/wp-content/uploads/2026/10/green-dust-and-scratches.png');
}

.brxe-container .container-chiffre-cles:nth-child(4) {
	background-color: var(--zw-purple);
	background-image: url('/wp-content/uploads/2026/10/asfalt-light.png');
}

/* --- Menu sticky -------------------------------------------------------- */
.menu-sticky-campagne {
	position: sticky;
	top: 67px;
	z-index: 200;
}

.menu-sticky-campagne ul {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin: 0;
	list-style: none;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
}


/* ==========================================================================
   8. L'ÉQUIPE
   ========================================================================== */
.membre-equipe {
	padding: 15px;
	background: #fff;
}
.membre-equipe .image-crop-marks img {
	border-color: white;
}

/* ==========================================================================
   9. ARTICLES
   ========================================================================== */
.single-post h1 {
	font-size: 50px;
	line-height: normal;
}

.single-post h2,
.single-decryptages h2 {
	margin-bottom: 20px;
	font-size: 35px;
	line-height: normal;
}
.single-decryptages .brxe-post-content .brxe-text p a{
	text-decoration: underline;
}

/* ==========================================================================
   10. FORMULAIRES (GRAVITY FORMS)
   ========================================================================== */
.gform_wrapper {
	max-width: 900px;
	margin: auto;
}

.gform_wrapper .gform_fields {
	row-gap: 20px !important;
}

.gform_wrapper .gform_fields input,
.gform_wrapper .gform_fields select {
	height: 50px !important;
	padding: 0 20px !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important
}
.gform_wrapper .gform_fields textarea {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important
}
#gfield_instruction_6_8 {
	display: none;
}
.gform_wrapper .gform_fields input[type="checkbox"],
.gform_wrapper .gform_fields input[type="radio"] {
	height: 20px !important;
	padding: 0 !important;
}

.gform_wrapper .gform_fields input::placeholder,
.gform_wrapper .gform_fields textarea::placeholder {
	color: #7e7e7e !important;
	font-family: var(--font-title) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
}

.gform_required_legend {
	display: none !important;
}

.gform-field-label__text {
	font-family: var(--font-title) !important;
	font-size: 20px !important;
	text-transform: uppercase !important;
}

.gform_button {
	display: inline-block !important;
	margin: auto auto 35px !important;
	padding: 10px 20px !important;
	color: var(--color-text) !important;
	background: var(--zw-orange) var(--zw-texture-btn-orange) center / cover no-repeat !important;
	border-radius: 0 !important;
	font-family: var(--font-title) !important;
	font-weight: 700 !important;
	font-size: var(--text-l) !important;
	text-transform: uppercase !important;
}

/* Sur fond violet */
.fond-violet .gform_title {
	color: #fff !important;
	text-align: center;
}

.fond-violet .gform-field-label__text {
	color: #fff;
}

.fond-violet .gchoice legend {
	max-width: 500px !important;
	color: #fff !important;
}


/* ==========================================================================
   11. COMMENTAIRES PÉTITION
   ========================================================================== */
#comment-slider {
	max-width: 900px;
	margin: auto;
}

.fond-violet #comment-slider h3 {
	margin-bottom: 15px;
	color: #fff;
	font-size: 35px;
	text-align: center;
}

.comment-content {
	margin-bottom: 15px;
	padding: 15px;
	background: #7A57B3;
}
.pagination-container button {
	font-family: 'Antonio';
	font-size: 20px;
	margin-right: 10px;
	height: 30px;
	width: 30px;
	text-align: center;
	vertical-align: middle;
	line-height: 30px;
}
.pagination-container button.active {
	background: none;
	color: white;
}

/* ==========================================================================
   12. FILTRES (FACETWP)
   ========================================================================== */
.container-filtres-facet {
	flex-direction: row;
	max-width: 600px;
	margin: auto;
}

.facetwp-dropdown {
	background: #fff url('/wp-content/uploads/2026/07/Icon-ion-arrow-down-b.svg') no-repeat calc(100% - 15px) center;
	border: none;
	font-weight: 600;
}

.facetwp-search {
	border: none;
}

.facetwp-search::placeholder {
	color: #000;
}

.facetwp-facet-pagination {
	margin-top: 35px;
}

.facetwp-pager {
	text-align: center;
}

.facetwp-page {
	line-height: 30px;
}

.facetwp-page.active {
	width: 30px;
	height: 30px;
	background: #fff;
	border-radius: 50%;
}


/* ==========================================================================
   13. FOOTER
   ========================================================================== */
footer {
	padding-bottom: 50px;
	background: var(--zw-dark-green) url('/wp-content/uploads/2026/09/TamponZW.png') center right / contain no-repeat;
}

.menu-footer ul {
	justify-content: space-between;
	width: 100%;
	margin: 0;
	list-style: none;
	color: #fff;
	font-family: var(--font-title);
	font-size: 25px;
	text-transform: uppercase;
}


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1280px) {
	.container-1200 {
		max-width: 100%;
	}
}

@media screen and (max-width: 992px) {
	.titre-slide-home {
		font-size: 4rem;
		line-height: 1.5;
	}
	.single h2 {
		font-size: 2.9rem;
	}
	.zw-slider-home {
		margin-top: 0;
	}

	.home #nos-combats > div {
		max-width: 100%;
	}

	.acf-thumbnails-nav {
		gap: 3%;
	}

	.zw-slider-home .acf-thumbnails-nav span {
		display: none;
	}

	.zw-slider-home .acf-thumbnails-nav .thumbnail-dot {
		width: 30%;
	}

	.menu-sticky-campagne ul {
		font-size: 16px;
	}

	.container-900,
	#failles .container-enjeu {
		max-width: 100% !important;
	}
}

@media screen and (max-width: 768px) {
	/* Slider */
	.zw-slider-home .slide {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
	}

	.titre-slide-home {
		font-size: 3rem;
		margin-bottom: 15px;
	}
	.zw-slider-home .slide {
		padding-right: 0;
	}
	/* Accueil */
	.home .carte {
		width: 380px;
		margin: auto auto 15px;
	}

	.home .carte-action {
		margin: auto auto 15px;
	}

	#home-banner-cta h2 {
		font-size: 60px;
		margin-bottom: 25px;
	}

	/* Header campagne */
	.header-campagne h1 {
		font-size: 60px;
	}

	#failles .container-enjeu:nth-child(3) > div {
		flex-direction: row !important;
	}

	/* Crop marks avec légende */
	.image-crop-marks:has(figcaption) {
		padding-left: 10px;
	}

	.image-crop-marks figcaption {
		position: static;
	}

	.image-crop-marks:has(figcaption)::before,
	.image-crop-marks:has(figcaption)::after {
		left: 50%;
		width: 100%;
		transform: translate(-50%, -50%);
	}

	.image-crop-marks:has(figcaption)::after {
		width: calc(100% - 30px);
	}

	/* Divers */
	.brxe-breadcrumbs {
		font-size: 16px;
	}

	.menu-footer ul {
		flex-direction: column;
		padding-left: 0;
	}

	footer {
		background-image: none;
	}
	.actualite-liee {
		max-width: 100%;
	}
	
	.actualite-liee img {
		display: none;
	}
}

@media screen and (max-width: 700px) {
	.menu-sticky-campagne {
		display: none;
	}
}



.interpellation-buttons-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.interpellation-buttons-container button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: inherit;
    line-height: 0;
}
.interpellation-buttons-container svg {
    height: 22px;
    width: auto;
    fill: currentColor;
}
.interpellation-buttons-container button:hover,
.interpellation-buttons-container button:focus-visible {
    opacity: .7;
}
.interpellation-buttons-container button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}






 /* === Popups interpellation === */
[data-popup-id="6941"] .brx-popup-content,
[data-popup-id="11323"] .brx-popup-content {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 40px;
}
[data-popup-id="6941"] .brx-popup-content {
    width: min(960px, calc(100vw - 32px));
}
[data-popup-id="11323"] .brx-popup-content {
    width: min(680px, calc(100vw - 32px));
}

.itp {
    font-size: 16px;
    line-height: 1.6;
}
.itp-eyebrow {
    margin: 0 0 4px;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .6;
}
.itp-name {
    margin: 0 0 28px;
    font-size: 30px;
    line-height: 1.1;
}
.itp-name:focus {
    outline: none;
}
.itp-subject {
    margin: 0 0 8px;
    font-weight: 600;
}
.itp-body {
    margin: 0 0 28px;
    opacity: .8;
}
.itp-body p {
    margin: 0 0 .75em;
}

.itp-help {
    margin: 0 0 20px;
    font-size: 15px;
}
.itp-letter {
    margin: 0 0 24px;
    padding: 28px 32px;
    background: #fafaf7;
}
.itp-recipient {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 32px auto;
    white-space: pre-line;
}
.itp-recipient::first-line {
    font-weight: 700;
}
.itp-letter .itp-subject {
    margin: 0 0 20px;
}
.itp-letter .itp-body {
    margin: 0;
    opacity: 1;
}
.itp mark {
    background: #fff3a0;
    color: inherit;
    padding: 0 2px;
}

@media (min-width: 860px) {
    .interpellation-email.itp--form {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        grid-template-areas:
            "head head"
            "message form";
        column-gap: 48px;
        align-items: start;
    }
    .itp--form .itp-head    { grid-area: head; }
    .itp--form .itp-message { grid-area: message; }
    .itp--form .itp-form    { grid-area: form; }
    .itp--form .itp-body    { margin-bottom: 0; }
}


/* === Listing interpellations === */
.facetwp-template[data-name="listing_interpellations"] .fwpl-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 40px;
}
.facetwp-template[data-name="listing_interpellations"] .fwpl-result {
    width: 220px;
    text-align: center;
}
.facetwp-template[data-name="listing_interpellations"] .fwpl-row {
    justify-items: center;
    row-gap: 4px;
}
.facetwp-template[data-name="listing_interpellations"] img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    object-fit: cover;
    border-radius: 50%;
}
.facetwp-template[data-name="listing_interpellations"] .itp-card-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
}
.facetwp-template[data-name="listing_interpellations"] .itp-card-title {
    font-size: 14px;
    line-height: 1.4;
    opacity: .7;
}
.facetwp-template[data-name="listing_interpellations"] .interpellation-buttons-container {
    justify-content: center;
    margin-top: 12px;
}


/* === Formulaire GF 5 === */
#gform_wrapper_5 {
    margin: 0;
    max-width: none;
}
#gform_wrapper_5 .gform_fields {
    row-gap: 18px;
}
#gform_wrapper_5 .gfield_label {
    font-size: 15px;
    margin-bottom: 6px;
}
#gform_wrapper_5 .gfield input:is([type="text"], [type="email"]) {
    width: 100%;
    padding: 10px 12px !important;
    border: 1px solid #c4c4c4 !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 16px;
}
#gform_wrapper_5 .gfield input:focus {
    border-color: #1d1d1b !important;
    outline: none;
}
#gform_wrapper_5 .gform_footer {
    justify-content: flex-start;
    margin: 24px 0 0;
    padding: 0;
}

/* === Actions réseaux sociaux === */
.itp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.itp-btn {
    padding: 10px 20px;
    border: 0;
    background: #e8833a;
    color: #1d1d1b;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.itp-btn:hover,
.itp-btn:focus-visible {
    opacity: .85;
}
.itp-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}