/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

:root{
  --green: #B8BDB8; 
  --black: #1A1919;       
}

@media (min-width: 769px){
h1 em, h2 em {
	display:block!important;
}
}

h1 em, h2 em {
	font-style:normal!important;
}

.acf-lien { display: none !important; }

.brz-btn.brz-a {
	padding: 15px 20px!important;
}


@font-face {
  font-family: 'Arial';
  src: url('/wp-content/uploads/2025/09/ARIAL.woff2') format('woff2'),
       url('/wp-content/uploads/2025/09/ARIAL.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-synthesis: none; 
}


@font-face {
  font-family: 'Arial';
  src: url('/wp-content/uploads/2025/09/Arial-BoldMT.woff2') format('woff2'),
       url('/wp-content/uploads/2025/09/Arial-BoldMT.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}


@font-face {
  font-family: 'Times';
  src: url('/wp-content/uploads/2025/09/Times-CG-1.woff2') format('woff2'),
       url('/wp-content/uploads/2025/09/Times-CG-1.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}

/* GLOBAL */

.justify-center .brz-row {
	justify-content:center!important;
}

@media (max-width: 768px){
.column-reverse .brz-row {
	display:flex!important;
	flex-direction: column-reverse!important;
}
}

/* menu */

#menu-menu-principal li a, strong:not(.no-strong strong) {
	font-family: 'Arial'!important;
	font-weight: 700;
}


@media (min-width: 1000px) {
	
	#menu-menu-principal li {
		padding: 0px 0px 0px 20px!important;
	}
	
	#menu-menu-principal .sub-menu li {
		padding: 12px!important;
	}
	 
	#menu-menu-principal li a:not(.btn-menu-custom a) {
		padding: 0px!important;
	}
	
  .home #header .ct-container,
  .home[data-header*="type-1"] .ct-header [data-row*="middle"] {
    background: transparent !important;
    transition: background 0.3s ease;
  }

  .home #header #menu-menu-principal li > a,
  .home nav[class*=menu] li[class*=current-menu-] > .ct-menu-link {
    --theme-link-initial-color: #FFF !important;
    color: #FFF !important;
    transition: color 0.3s ease;
  }
	
	.home #header #menu-menu-principal li ul.sub-menu li a {
		color: var(--black)!important;
	}

  .home .btn-menu-custom a {
    border: 1px solid #FFF !important;
    transition: border-color 0.3s ease;
  }

  .home.scrolled #header .ct-container,
  .home.scrolled[data-header*="type-1"] .ct-header [data-row*="middle"] {
    background: #FFF !important;
  }

  .home.scrolled #header #menu-menu-principal li a,
  .home.scrolled nav[class*=menu] li[class*=current-menu-] > .ct-menu-link {
    color: #000 !important;
  }

  .home.scrolled .btn-menu-custom a {
    border-color: #000 !important;
  }
	
	.home.scrolled #header #menu-menu-principal li svg path {
		FILL: #000 !important;
	}
.ct-menu-link::after {
  content: ""!important;
  position: absolute!important;
  bottom: -2px!important;          /* espace sous le texte */
  width: 0% !important; /* largeur fixée */
  height: 2px!important;
  background: currentColor!important;
  transition: width 0.3s ease!important;
}
	
	.btn-menu-custom .ct-menu-link::after, .sub-menu .ct-menu-link::after {
		display:none!important;
	}

.ct-menu-link:hover::after, .current_page_item .ct-menu-link::after{
  width: 100% !important; 
	opacity: 1!important;
}
}

/* HOME */
@media (min-width: 1000px) {
.home #main {
	margin-top: -74px!important;
}
}

@media (max-width: 600px) {
 #header .default-logo {
	max-width: 160px!important;
}
}

@media (max-width: 1100px) {
	.slider-1 {
		background-position: 87% 71% !important;
	}
}

.slider-home {
  position: relative;
  overflow: hidden;
}

.slide {
  position: relative;
  min-height: 100vh;          
  display: flex;
  align-items: stretch;
  background-size: cover;
  background-position: top center; 
  background-repeat: no-repeat;
}

.slide .ct-container {
	height: 100vh!important;
	display: flex!important;
    align-items: center!important;
}

.slide-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr; 
  align-items: center;
  gap: 2rem;
  padding: clamp(24px, 5vw, 64px);
}

.slide-content .content {
  background: rgba(255,255,255,0.45);          
  color: #192a3d;
	padding: 15px 20px!important;
}

.slide-content .content p {
	margin-bottom: 0px!important;
}

.slide-content span.h2 {
	font-family: "Times";
	display: block;
	  margin: 0 0 .5rem;
	font-weight: 400!important;
	font-size: 50px!important;
}

.slide-content p {
  font-family: "Arial";
	font-weight: 700!important;
}

.slide-content .btn {
	font-family: "Arial";
	margin-top: 20px;
  display: inline-block;
  padding: 15px 20px!important;
  background: #fff;
  color: #192a3d;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .slide-inner {
    grid-template-columns: 1fr;
  }
  .slide {
    background-position: CENTER; 
  }
}

@media (max-width: 600px) {
  .slide span.h2 {
    font-size: 35px!important;
    LINE-HEIGHT: 36px;
  }
}
@media (min-width: 1042px) {

.btn-menu-custom a{ 
	border: 1px solid var(--black)!important;
  }/*
	.btn-menu-custom a.color-text {
  	border-color: #FFF!important; 
  	color: #FFF;
	}
	.color-text {
	COLOR:#FFF!important;
	}
	.menu li.menu-item a.color-text .ct-icon path {
	  fill: #FFF!important;
	} */
}

@media (min-width: 1000px) {
#menu-menu-principal { 
	height: 50%!important;
  }
	
	.btn-menu-custom a {
		padding-right: 12.5px!important;
	}
	
h2 em, h3 em {
	display:block!important;
}
}

h2 em, h3 em {
	font-style: normal!important;
}

/* PAGE AGENCE  */
@media (min-width: 769px){
	.ul-magin-custom {
		margin-inline-start: 5em!important;
	}
	
	.ul-custom-2 p {
		margin-left: 3em!important;
	}
	
	.img-position .brz-image {
	position: relative;
	left: -40px;
}
}

@media (max-width: 991px){
.none {
	display:none!important;
}
}

.ul-custom-2 ul, .ul-custom-2 li {
	margin-inline-start: 0px!important;
}

.ul-custom-2 li::before {
	display:none!important;
}

.ul-custom-2 li:not(.ul-custom-2 li:last-child) {
	padding-bottom: 15px!important;
}


.ul-custom-2 li em {
	display:block!important;
	font-style: normal!important;
}


/* SERVICES PAGE  */

.case-animation  {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.case-animation:hover {
  transform: scale(0.95);
}

@media (max-width: 768px) {
.background-left .brz-bg-image {
	background-position: left!important;
}
}

/* REALISATIONS */

.ul-realisation ul {
	display: flex!important;
	flex-direction: column!important;
}

.ul-realisation ul li:not(.ul-realisation ul li:last-child) {
	margin-bottom: 15px!important;
}

/* Galerie réalisation */

/* === RESET / ANTI-MASONRY (au cas où l'ancien JS a posé des styles inline) === */
.r-gal,
.r-gal * { box-sizing: border-box; }

.r-gal {            /* On force Grid */
  display: grid !important;
  gap: 14px !important;
  margin: 0 auto;
  height: auto !important;           /* évite hauteur figée par Masonry */
}

.r-gal__item {
  position: static !important;       /* Masonry met parfois absolute */
  width: auto !important;            /* annule width:calc(...) hérités */
  margin: 0 !important;              /* pas de margin-bottom en Grid */
  overflow: hidden;
}

.r-gal__img {
  display: block;
  width: 100%;
  height: auto;
}

/* === GRILLE PAR CAS === */
/* 1 image */
.r-gal--1 { grid-template-columns: 1fr !important; }

/* 2–3 images */
.r-gal--2 { grid-template-columns: repeat(2, 1fr) !important; }

/* >3 images */
.r-gal--3 { grid-template-columns: repeat(3, 1fr) !important; }

/* Responsive : mobile */
@media (max-width: 640px) {
  .r-gal--2,
  .r-gal--3 { grid-template-columns: 2, 1fr !important; }
}

.ul-realisation ul {
	margin-inline-start: 0!important;
}

.r-gal__item {
	border: 1px solid var(--black);
}

/* REALISATION PAGE  */

.post-card a.brz-a .brz-img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.post-card a.brz-a:hover .brz-img {
  transform: scale(1.05);
	filter: brightness(1.06);
}


/* FOOTER */
.footer{ 
  background: var(--green);
  color: var(--black);
}

.footer .footerlv1 {
	padding: 75px 0px;
}

.footer a{ color: inherit; text-decoration: none; }
.footer a:hover{ text-decoration: underline; }

.footer__inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr; 
  gap: var(--gap);
	padding-top: 40px;
}

.rue {
	display: block;
	margin-top:20px;
}

.footer__col{ min-width: 0; }


.footer__logo{
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0px;
  font-weight: 600;
  letter-spacing: .2px;
}


.footer__address{
  font-family: Arial;
	font-weight: 700;
  color: var(--footer-muted);
}

.footer__title{
  font-size: clamp(16px, 1.6vw, 18px);
  margin: 4px 0 20px;
	display: block;
}

.footer__links{
  list-style: none;
  margin: 0;
	padding: 0px!important;
}

.footer_links li a {
	  padding: 0 0 0 20px;
	display: block;
	transition: all 0.3s ease-out;
}

.footer__links a:hover { 
	padding: 0 0 0 10px;
	text-decoration:none!important;
	color: var(--black);
	transition: all 0.3s ease-out;
}

#gform_1 {
	display: flex!important;
    align-items: center!important;
}

#gform_1 .gform_footer {
	margin-top: 0px!important;
	padding: 0px!important;
}

#gform_1 .gform_body {
	width: 100%!important;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
	background: transparent!important;
	padding: 10px!important;
}

#gform_1  .gform_footer input[type="submit"], #gform_submit_button_2 {
    border-radius: 48px !important;
    color: #F8FCF9 !important;
    font-family: "Arial" !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 8px 24px !important;
    margin-bottom: 0px !important;
	background: var(--black)!important;

}

#gform_1  .gform_footer input[type="submit"] {
	position: relative;
    left: -68px;
	top:-8px;
}


#gform_1 input {
	border-radius: 30px;
	border: 1px solid var(--black)!important;
	color: var(--black)!important;
}

input::placeholder {
	color: var(--black)!important;
	opacity: 1!important;
}

#gform_1 .gform_wrapper.gravity-theme .gform_footer {
	margin-top: 0px!important;
}

#validation_message_1_1 {
	display:none!important;
}

.footer__legal{
  background: var(--black);
  color: #fff;
  font-size: 14px;
}
.footer__legal-nav{
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__legal-nav a{
  color: #fff;
  text-decoration: none;
	opacity: 1;
	transition: all 0.3s ease-out;
}
.footer__legal-nav a:hover { 
	opacity: 0.5;
	text-decoration: none;
	color: #fff;
	transition: all 0.3s ease-out;
}

.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
	  row-gap: 20px;
  }
	
.footer .footerlv1 {
	padding: 70px 0px;
}
}

@media (max-width: 767px){
  .footer__inner{
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
	
	.footer .footerlv1 {
	padding: 70px 0px;
}
	
	.footer__inner {
		padding: 50px 0px 0px 0px;
	}
}
@media (max-width: 768px){
  .footer__inner{
	  grid-template-columns: 1fr;
    gap: 28px;
    padding: 25px 0px 0px 0px;
  }
  .footer__logo { 
	  margin-bottom: 0px; 
	}
	.footer .footerlv1 {
	padding: 60px 0px;
	}
	
	.footer__legal-nav {
		gap: 3px;
	}
}

@media (max-width: 600px){
  .footer__logo { 
	  max-width: 180px;
	}
}