/*
Theme Name: bbxdesert
Theme URI: http://wordpress.bbxdesign.com
Description: Thème Désert WordPress
Version: 2.0
Author: bbx
Author URI: http://bbxdesign.com
Tags: empty, full-width, simple, white

  bbxdesert
  http://wordpress.bbxdesign.com

*/

@font-face {
    font-family: 'TT Norms';
    src:  url('/wp-content/themes/version2theme-2024/fonts/TTNorms-Regular.woff2') format('woff2'),
         url('/wp-content/themes/version2theme-2024/fonts/TTNorms-Regular.woff') format('woff'),
         url('/wp-content/themes/version2theme-2024/fonts/TTNorms-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: fallback;
}

/* ===GÉNÉRAL=== */
:root {
    --bleu: #00A3A3;
    --gris: #383F45;
	--jaune: #F9B300;
	--rose: #CE1C76;
	--vert: #00993C;
    --blanc: #fff;
    --noir: #333;
	
	--fbleu: invert(35%) sepia(77%) saturate(1615%) hue-rotate(154deg) brightness(97%) contrast(102%);
	--fgris: invert(20%) sepia(12%) saturate(612%) hue-rotate(166deg) brightness(96%) contrast(84%);
	--fjaune: invert(75%) sepia(78%) saturate(1681%) hue-rotate(355deg) brightness(94%) contrast(108%);
	--frose: invert(17%) sepia(100%) saturate(2508%) hue-rotate(312deg) brightness(100%) contrast(96%);
	--fvert: invert(45%) sepia(76%) saturate(5482%) hue-rotate(130deg) brightness(92%) contrast(101%);
	
    --max: 1240px; scroll-behavior: smooth; --ease: all 0.3s ease;
}

.has-blue-background-color { background-color: var(--bleu) !important; }
.has-yellow-background-color { background-color: var(--jaune) !important; }
.has-green-background-color { background-color: var(--vert) !important; }
.has-red-background-color { background-color: var(--rose) !important; }

.has-blue-color strong { color: var(--bleu); }
.has-blue-color::before, .has-blue-color::after { background-color: var(--bleu); }
.has-yellow-color strong { color: var(--jaune); }
.has-yellow-color::before, .has-yellow-color::after { background-color: var(--jaune); }
.has-green-color strong { color: var(--vert); }
.has-green-color::before, .has-green-color::after { background-color: var(--vert); }
.has-red-color strong { color: var(--rose); }
.has-red-color::before, .has-red-color::after { background-color: var(--rose); }
.has-white-color::before, .has-white-color::after { background-color: white; }

* { font-family: 'parisplus-std'; }
body { overflow: hidden; }
.post-content { max-width: var(--max); margin: auto; margin-top: 120px; padding: 0 20px; }
body:not(.home) .post-content { padding-top: 60px; }
.post-content > .wp-block-group, .post-content > .wp-block-columns { margin-bottom: 100px; }
.post-content > .wp-block-columns > .wp-block-column, .post-content >.wp-block-group > div > .wp-block-columns > .wp-block-column { align-self: auto; }
.wp-block-column.is-vertically-aligned-center { align-self: center !important; }
.post-content > .wp-block-group.has-background { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.post-content > .wp-block-group.has-background > div { max-width: 1240px; padding: 0 20px; margin: 0 auto; }
:target { scroll-margin-top: 150px; }

/*.wp-block-image.is-style-rounded { height: 100%; }*/
.wp-block-image.is-style-rounded img { border-radius: 20px !important; height: 100%; object-fit: cover; }

a { text-decoration: none !important; transition: var(--ease); color: inherit; }
p { margin-bottom: 20px; color: var(--gris); }
p em { font-style: normal; color: var(--bleu); font-weight: bold; }
li { color: var(--gris); }
body:not(.home) h1 { font-size: 50px; text-transform: uppercase; color: white; text-align: center; margin-bottom: 60px; background-color: var(--bleu); padding: 60px; width: 100vw; margin: -60px calc(50% - 50vw) 60px; }
body:not(.home) h1::after { content: ""; width: 20px; height: 20px; background-color: white; display: inline-block; border-radius: 100%; margin-left: 4px; }
h2 { font-size: 40px; text-transform: uppercase; margin-bottom: 10px; color: var(--gris); }
h2 strong { color: var(--bleu); }
h2::after { content: ""; width: 13px; height: 13px; background-color: var(--bleu); display: inline-block; border-radius: 100%; margin-left: 4px; }
h3 { text-transform: uppercase; font-size: 18px; margin-bottom: 10px; color: var(--gris); }
h3::before { content: ""; width: 14px; height: 14px; display: inline-block; margin-right: 5px; border-radius: 100%; }

/* Boutons */
body .wp-block-button__link { text-transform: uppercase; padding: 10px 45px 10px 15px; background-color: var(--gris); display: flex; align-items: center; gap: 10px; position: relative; }
body .wp-block-button__link.has-background:hover { background-color: var(--gris) !important; }
body .wp-block-button__link:hover { background-color: var(--bleu); }
body .wp-block-button__link::after { content: url("/wp-content/uploads/2024/10/fleche.svg"); display: block; position: absolute; right: 8px; top: 0; bottom: 0; margin: auto; height: fit-content; padding-top: 4px; width: 25px; height: 25px; background-color: white; border-radius: 20px; mix-blend-mode: screen; transition: var(--ease); }

body .wp-block-button__link.has-white-background-color { color: var(--gris) !important; }
body .wp-block-button__link.has-white-background-color:hover { background-color: var(--bleu) !important; color: white !important; }
body .wp-block-button__link.has-white-background-color::after { content: url("/wp-content/uploads/2024/10/fleche-blanche.svg"); mix-blend-mode: darken; background-color: var(--gris); }
body .wp-block-button__link.has-white-background-color:hover::after { mix-blend-mode: screen; filter: invert(1) brightness(1.5); }





/* ==========HEADER========== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; height: 120px; box-shadow: 0 0 5px #00000055; background-color: white; z-index: 10; }
.flex-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; position: relative; height: 100%; }
.custom-logo-link { height: fit-content; }
.custom-logo { width: 200px; height: auto; }

.admin-bar .site-header {margin-top:32px;}

/* Contact */
.page .site-header .wp-block-button__link { font-size: 16px; }
.contact .contact-bouton { width: 100%; margin-bottom: 10px; }
.contact .wp-block-social-links { justify-content: space-between; }
.contact :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link { background-color: var(--bleu); }
.contact .plan-bouton { position: absolute; top: 100%; right: 0; }
.contact .plan-bouton .wp-block-button__link { padding-left: 45px; background-color: var(--bleu); border-radius: 0 0 0 20px; box-shadow: 0 2px 5px #00000055; }
.contact .plan-bouton .wp-block-button__link::before { content: ""; filter: invert(1); display: block; position: absolute; left: 9px; top: 4px; width: 30px; height: 30px; background: url('/wp-content/uploads/2024/10/carte.svg'); background-repeat: no-repeat; background-size: contain; background-position: center; z-index: 10; }

/* Contact mobile */
.menu-mobile .contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.menu-mobile .contact .plan-bouton { position: relative; top: 0; }
.menu-mobile .contact .plan-bouton .wp-block-button__link { border-radius: 20px; box-shadow: none; }

/* Menu */
#menu-menu-accueil { display: flex; justify-content: flex-end; gap: 30px; align-items: center; }
#menu-menu-accueil .menu-item a { text-transform: uppercase; font-weight: 900; font-size: 16px; transition: var(--ease); color: var(--gris); display: flex; align-items: center; width: max-content; padding: 10px 0; }
#menu-menu-accueil li.menu-item { position: relative; }
#menu-menu-accueil .menu-item a:not(.devis):hover { color: var(--bleu); }
#menu-menu-accueil > li.current_page_item > a, #menu-menu-accueil > li.current-page-ancestor > a { position: relative; color: var(--bleu) !important; }

/* Sub-menu */
#menu-menu-accueil .sub-menu { display: none; background-color: white; position: absolute; transition: var(--ease); padding: 15px 17px 5px; margin-top: 0; width: max-content; left: -17px; box-shadow: rgba(0,0,0,0.1) 0 5px 5px; border-radius: 0 0 10px 10px; width: calc(100% + 34px); }
#menu-menu-accueil .sub-menu li.menu-item { padding: 0; }
#menu-menu-accueil .sub-menu li a { color: var(--gris); text-transform: initial; font-weight: normal; font-size: 14px; height: initial; text-transform: uppercase; }
#menu-menu-accueil .sub-menu li a::before { content: ""; width: 5px; height: 5px; display: inline-block; margin-right: 5px; border-radius: 100%; background-color: var(--bleu); margin-top: 4px; }
#menu-menu-accueil li.menu-item:hover > a { color: var(--bleu); }
#menu-menu-accueil li.menu-item:hover > .sub-menu { display: block; opacity: 1; animation: normal 0.3s submenu; }
@keyframes submenu {
    from { opacity: 0; display: none; }
    to { opacity: 1; display: block; }
}

/* Burger */
.burger-menu { position: absolute; right: 20px; bottom: 0; top: 0; margin: auto; height: fit-content; }
.bar { transition:0.2s; cursor:pointer; }
.bar-1, .bar-2, .bar-3 { width:5em; display: block; width: 27px; border-top: 3px solid var(--bleu); margin-top:6px; transition:0.2s; border-radius: 10px; }
.inverted .bar span { border-color: var(--noir); }
.change .bar-1 { -webkit-transform: rotate(-45deg) translate(-10px, 5px); transform: rotate(-45deg) translate(-4px, 7px); }
.change .bar-2 { opacity:0; }
.change .bar-3 { -webkit-transform: rotate(45deg) translate(-10px, 5px); transform: rotate(45deg) translate(-6px, -9px); }
.menu-mobile, .burger-menu { display: none; }

/* Menu Mobile */
.menu-mobile { position: absolute; z-index: 5; top: 90px; left: 0; padding: 20px; width: 100%; background-color: var(--blanc); }
.menu-mobile .menu { display: flex; flex-wrap: wrap; gap: 20px; }
.menu-mobile .menu-item { width: 100%; }
.menu-mobile .menu-item a { text-transform: uppercase; font-weight: 900; transition: var(--ease); color: var(--gris); }
.menu-mobile .menu-item a:hover { color: var(--bleu); }
.menu-mobile .sub-menu { padding: 0 10px; margin: 5px 0 0; position: relative; }
.menu-mobile .sub-menu::before { content: ""; height: 100%; width: 3px; background-color: var(--bleu); display: block; position: absolute; left: 0; top: 0; border-radius: 5px; }
.menu-mobile .sub-menu .menu-item a, .menu-mobile .sub-menu .menu-item a strong { font-weight: normal; text-transform: inherit; }
.menu-mobile .phone::before, .menu-mobile  .linkedin { filter:brightness(0.3) grayscale(1) }

@media screen and (max-width: 1000px) {
    #menu-menu-accueil.menu, .flex-header > .contact { display: none; }
    .burger-menu { display: block; }
    .custom-logo { width: 200px; }
    .flex-header { padding: 20px; }
	.admin-bar .site-header { margin-top: 46px; }
}



/* ==========ACCUEIL========== */
.landing { margin-bottom: 80px !important; }
.landing .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.landing figure { display: flex; justify-content: center; }
.landing img { max-height: 550px; width: 500px; object-fit: cover; object-position: top; }
.landing h1 { color: white; text-transform: uppercase; font-weight: normal; font-size: 30px; margin-bottom: 50px; text-align: left; }
.landing h1 strong { font-size: 70px; font-weight: bold; }
.landing h1::after { content: none; }
.landing h2 { color: white; font-size: 70px; font-weight: normal; text-transform: uppercase; line-height: 1; width: fit-content; }
.landing h2 strong { color: white; }
.landing h2 strong::after { content:""; background-color: white; border-radius: 100%; width: 20px; height: 20px; }
.landing h2 em { font-style: normal; font-size: 40px; text-align: right; display: block; color: white; }
.landing h2::after { content: none; }

.presentation p { max-width: 640px; margin: auto; display: block; }

.infos-pratiques li { margin-bottom: 20px; margin-left: 30px; position: relative; }
.infos-pratiques li::before { content:""; width: 25px; height: 25px; position: absolute; left: -30px; top: 0; bottom: 0; margin: auto; }
.infos-pratiques li:nth-child(1)::before { background: url("/wp-content/uploads/2024/10/epingle.svg"); filter: var(--fjaune); background-size: contain; background-repeat: no-repeat; background-position: center; }
.infos-pratiques li:nth-child(2)::before { background: url("/wp-content/uploads/2024/10/calendrier.svg"); filter: var(--fvert); background-size: contain; background-repeat: no-repeat; background-position: center; width: 35px; height: 35px; left: -35px; }
.infos-pratiques li:nth-child(3)::before { background: url("/wp-content/uploads/2024/10/billet.svg"); filter: var(--frose); background-size: contain; background-repeat: no-repeat; background-position: center; }
.infos-pratiques li:nth-child(4)::before { background: url("/wp-content/uploads/2024/10/telephone.svg"); filter: var(--fbleu); background-size: contain; background-repeat: no-repeat; background-position: center; }



/* ===========ACTUALITÉS========== */
h2.has-white-color { padding: 30px 0; margin: 0; }

.wp-block-latest-posts, .posts { display: flex; gap: 20px; margin-bottom: 30px; justify-content: space-between; }
.posts { margin-bottom: 60px; }
.wp-block-latest-posts li, .posts .post { border-radius: 20px; overflow: hidden; background-color: white; margin: 0; padding: 0; box-shadow: 0 0 5px #00000055; margin: 0 !important; width: 23% !important; }

.wp-block-latest-posts__featured-image, .posts .wp-post-image { aspect-ratio: 16 / 9; overflow: hidden; width: 100%; height: auto; display: flex; align-items: center; object-fit: cover; }
.posts .lien-image { overflow: hidden; display: block; }
.wp-block-latest-posts__featured-image a, .wp-block-latest-posts__featured-image a img, .posts .lien-image, .posts .wp-post-image { width: 100%; transition: var(--ease); }
.wp-block-latest-posts__featured-image a:hover img, .posts .lien-image:hover .wp-post-image { transform: scale(1.2); }

.wp-block-latest-posts__post-title, .posts h3 { text-transform: uppercase; font-weight: bold; font-size: 20px; margin: 20px; display: block; }
.posts h3::before { content: none; }
.wp-block-latest-posts__post-title:hover, .posts h3 a:hover { color: var(--bleu); }
.wp-block-latest-posts__post-title::after, .posts h3::after { content:""; margin-left: 5px; background-color: var(--bleu); display: inline-block; width: 8px; height: 8px; border-radius: 100%; }
.wp-block-latest-posts__post-excerpt, .posts .post-excerpt { padding: 0 20px 20px; margin: 0 !important; }
.posts p, .posts .post-excerpt { margin-bottom: 0; padding-bottom: 0; }

.wp-block-latest-posts__read-more { text-transform: uppercase; color: var(--bleu); display: flex; align-items: center; gap: 10px; position: relative; width: fit-content; margin-left: auto; margin-top: 20px; }
.wp-block-latest-posts__read-more:hover { color: var(--gris); }
.wp-block-latest-posts__read-more::after { content: url("/wp-content/uploads/2024/10/fleche.svg"); display: block; margin: auto; padding-top: 4px; width: 25px; height: 25px; border-radius: 20px; transition: var(--ease); filter: var(--fbleu); }
.wp-block-latest-posts__read-more:hover::after { filter: var(--gris); }
.posts .wp-block-latest-posts__read-more { margin: 20px 20px 20px auto; }

.blog .post-content > a { text-transform: uppercase; padding: 10px 45px 10px 15px; color: white; font-weight: bold; background-color: var(--bleu); display: flex; align-items: center; gap: 10px; position: relative; border: none; width: fit-content; margin-left: auto; border-radius: 20px; margin: 60px auto; }
.blog .post-content > a:hover { background-color: var(--gris); }
.blog .post-content > a::after { content: url("/wp-content/uploads/2024/10/fleche.svg"); display: block; position: absolute; right: 8px; top: 0; bottom: 0; margin: auto; height: fit-content; padding-top: 4px; padding-left: 4px; width: 25px; height: 25px; background-color: white; border-radius: 20px; mix-blend-mode: screen; transition: var(--ease); }

.single .miniatures { aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center; max-width: 800px; margin: 0 auto 20px; border-radius: 20px; }
.single .miniatures img { height: auto; }
.single .post-content { margin-bottom: 60px; }





/* ==========FORMULAIRES=========== */
.wpcf7 { max-width: 600px; margin: auto; }
.wpcf7 .flex { display: flex; gap: 20px; }
.wpcf7 input, .wpcf7 textarea { border: none; background-color: white; padding: 10px; border-radius: 10px; width: 100%; color: var(--gris); border: 2px solid var(--bleu); }
.wpcf7 textarea { resize: vertical; }
.wpcf7 ::placeholder { color: var(--gris); }
.wpcf7 p { margin: 0; margin-bottom: 20px; }
.wpcf7 p:nth-last-child(2) { margin: 0; }
.wpcf7 p a { text-decoration: underline !important; }
.wpcf7 p a:hover { color: var(--bleu); }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 10px; }
.wpcf7 .wpcf7-spinner { position: absolute; }

.wpcf7 .wpcf7-submit { text-transform: uppercase; padding: 10px 45px 10px 15px; color: white; font-weight: bold; background-color: var(--bleu); display: flex; align-items: center; gap: 10px; position: relative; border: none; width: fit-content; margin-left: auto; border-radius: 20px; }
.wpcf7 .wpcf7-submit:hover { background-color: var(--gris); }
.wpcf7 .wpcf7-submit::after { content: url("/wp-content/uploads/2024/10/fleche.svg"); display: block; position: absolute; right: 8px; top: 0; bottom: 0; margin: auto; height: fit-content; padding-top: 4px; width: 25px; height: 25px; background-color: white; border-radius: 20px; mix-blend-mode: screen; transition: var(--ease); }





/*  ==========FOOTER========= */
.site-footer { background-color: var(--gris); }
#footer { max-width: 1240px; padding: 40px 20px; margin: auto; display: flex; justify-content: space-between; }
#footer p { color: white; text-transform: uppercase; }
#footer p a:hover { color: var(--bleu); }
#footer img { width: 200px; margin-bottom: 20px; }
#footer .wp-block-social-links { margin-bottom: 20px; }
#footer .wp-social-link { background-color: white !important; }
#footer .wp-block-social-links path { color: var(--gris) !important; }

#footer .mail { margin-bottom: 0; }
#footer .mail a { display: flex; align-items: center; }
#footer .mail a::before { content:""; display: inline-block; width: 16px; height: 16px; margin-right: 7px; background: url('/wp-content/uploads/2024/10/mail.svg'); background-repeat: no-repeat; background-position: center; background-size: contain; filter: invert(1); transition: var(--ease); }
#footer .mail a:hover::before { filter: var(--fbleu); }
#footer .footer-3 p { margin-bottom: 10px; }

.site-info { padding: 10px 20px; background-color: white; }
.site-info p { margin-bottom: 0; }
.site-info a:hover { color: var(--bleu); }




#cmplz-document { max-width: 1200px !important; margin-bottom: 80px; }
.grecaptcha-badge { z-index: 5; }





/* ==========RESPONSIVE========== */
@media screen and (max-width: 782px) {
	.wp-block-latest-posts.is-grid li { width: 48% !important; }
	#footer { gap: 20px; flex-wrap: wrap; }
}


@media screen and (max-width: 540px) {
	.wp-block-latest-posts.is-grid li { width: 100% !important; }
}





















