:root{
--noir: #000000;
--blanc: #ffffff;
--bleufonce: #151a2c;
--rouge: #c9231c;
}
html {
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
font-size:16px;
}
body {
font-size: 1rem;
margin: 0;
color: var(--noir);
}
[data-ratio] {
display: block;
max-width: 100%;
position: relative;
}
[data-ratio]:before {
content: "";
display: block;
}
[data-ratio] > * {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
[data-ratio="20:9"]:before {
padding-top: 45%;
}
[data-ratio="16:9"]:before {
padding-top: 56.25%;
}
[data-ratio="4:3"]:before {
padding-top: 75%;
}
[data-ratio="1:1"]:before {
padding-top: 100%;
}
h1 {
font-weight: 700;
margin: 1em 0;
text-align: center;
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
font-weight: 700;
}
h3 {
font-size: 1.25rem;
font-weight: 700;
}
.wrapper{
overflow:clip;
}
.alignfull {
margin: 0 calc(50% - 50vw);
max-width: 100vw;
width: 100vw;
}
.wp-block-group.has-background, .wp-block-paragraph.has-background{
padding: 1.5rem
}
.alignfull.has-background {
padding: 2vw calc(-50% - -50vw);
}
.bloc-lien .wp-block-image{
overflow: hidden;
}
.bloc-lien .wp-block-image img{
transition: all 0.2s ease;
}
.bloc-lien:hover .wp-block-image img{
transform: scale(1.05);
}
.bloc-lien h3 a{
display: block;
}
.has-small-font-size{
font-size:0.875rem !important;
}
.has-medium-font-size{
font-size:1.35rem !important;
}
.has-large-font-size{
font-size:1.65rem !important;
}
.has-x-large-font-size{
font-size:2rem !important;
}
.wp-block-paragraph, .wp-block-list{
line-height:150%;
}
a {
text-decoration: none;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
color: #c9231c;
}
a:hover {
color: #151a2c;
}
:focus {
outline: none;
outline: 0;
}
img {
height: auto;
vertical-align: middle;
}
.wp-block-button a{
color: var(--blanc);
}
.wp-block-button a.has-blanc-background-color{
color: var(--rouge);
}
.wp-block-button a:hover{
background-color: var(--noir) !important;
border-color: var(--blanc) !important;
}
.wp-block-image{
overflow: hidden;
}
.wp-block-image a img{
transition: all 0.2s ease
}
.wp-block-image a:hover img{
transform: scale(1.05);
}
.cover {
background-position: 50%;
background-repeat: no-repeat;
background-size: cover;
}
header {
position: sticky;
top:0;
z-index: 999;
background-color: var(--bleufonce);
left: 0;
width: 100%;
height: 90px;
box-sizing: border-box;
padding:0 5%;
}
header .right{
display: flex;
justify-content: end;
align-items: center;
gap:0 1rem
}
header .left{
display: flex;
justify-content: start;
align-items: center;
}
header .center{
display: flex;
justify-content: center;
align-items: center;
gap: 0 2rem
}
header a.logo {
display: block;
width: 100%;
max-width:200px
}
header a.logo img {
width:100%; height: auto;
}
header .menu-navigation-container {
display: none;
}
header ul {
margin: 0;
padding: 0;
list-style: none;
position: relative;
}
header ul li {
text-transform: uppercase;
border-bottom: 1px solid #969696;
vertical-align: middle;
position:relative;
}
header ul li.accueil a {
overflow: hidden;
width: 30px;
height: 30px;
padding: 0;
text-indent: 30px;
background: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/home-01.svg) no-repeat 50% / cover;
margin-top: 10px;
}
header ul li.accueil a:before {
display: none;
}
header ul li ul {
margin: 0.5em 0 1em;
position: relative;
}
header ul li ul li {
text-transform: none;
border-bottom: none;
}
header ul li a {
display: block;
padding: 0.5em 1em;
color: #dcdcdc;
}
header ul li a:before {
content: "";
width: 0.8em;
height: 0.8em;
display: block;
margin: 0 auto;
background: #fff url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/little-star-01.svg) no-repeat 50% / cover;
}
header ul li a:hover {
color: #fff;
}
header ul li a:active:before {
background-color: #c9231c;
}
.home header ul li.accueil, header ul li ul li a:before {
display: none;
}
header .rezos{
display:none;
}
header .burger{
width:40px; height: 40px;
position:relative;
}
header .burger .trt{
width:80%; height: 2px;
background-color: var(--blanc);
position:absolute;
left:50%; top:50%;
transform: translate(-50%, -50%);
transition: all 0.2s ease;
}
header .burger .trt.un{
margin-top: -8px
}
header .burger .trt.qt{
margin-top: 8px
}
header .burger.active .trt.un, header .burger.active .trt.qt {
display: none;
}
header .burger.active .trt.dx{
transform: translate(-50%, -50%) rotate(45deg);
transform-origin: center;
}
header .burger.active .trt.tr{
transform: translate(-50%, -50%) rotate(-45deg);
transform-origin: center;
}
header .phone, header .filet-v{
display:none
}
@media screen and (min-width:1200px){
header .burger{
display: none
}
}
.slide-accueil{
height: calc(100vh - 90px);
position: relative;
}
.home-section{
position:relative;
}
.home-section::before{
content: "";
display: block;
width: 2px;
height: 5rem;
background-color: #fff;
position: absolute;
left: 17.5%;
top: 0;
-webkit-transform: skewX(45deg);
transform: skewX(45deg);
z-index: 10;
}
.home-section h2{
font-size:2rem;
font-weight: 300;
text-transform: uppercase;
margin-top: 4rem
}
@media screen and (min-width:768px){
.home-section h2{
font-size:3rem;
}
}
@media screen and (orientation: portrait){
.slide-accueil{
height: calc(50vh - 80px);
}
}
.slide-accueil .bloc-titre{
position: absolute;
left: 50%;
top: 4rem;
width: 80%;
max-width: 500px;
transform: translateX(-50%);
z-index:2;
}
.slide-accueil .bloc-titre h1{
margin:0;
text-transform: uppercase;
color:var(--blanc)
}
.slide-accueil .swiper-slide{
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
position:relative;
}
.slide-accueil .swiper-slide .filtre{
position:absolute;
left:0; top:0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0)
}
.slide-accueil .accroche {
font-size: 2rem;
color: var(--blanc);
background-color: rgba(0,0,0,.3);
border:1px solid rgba(255,255,255,.3);
border-radius: 1rem;
padding:2rem;
width:80%;
max-width:680px;
text-align:center;
box-sizing:border-box;
}
.slide-accueil .swiper .swiper-pagination{
bottom:2rem
}
.slide-accueil .swiper .swiper-pagination-vertical{
right:2rem;
bottom:unset
}
.slide-accueil .swiper .swiper-pagination-bullet{
width:12px; height: 12px;
background-color: var(--blanc);
opacity:1;
}
.slide-accueil .swiper .swiper-pagination-bullet-active{
background-color: var(--rouge);
}
.slide-accueil .google-advices{
position:absolute;
right:2rem;
bottom:4rem;
z-index:10
}
@media screen and (min-width:992px){
.slide-accueil .accroche {
font-size: 3rem;
}
} .liste-actualites-page .tri{
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
margin-bottom: 2rem;
}
.liste-actualites-page .tri button{
padding: 0.5rem 1rem;
border: 1px solid var(--bleufonce);
background-color: transparent;
color: var(--bleufonce);
font-family: inherit;
text-transform: uppercase;
cursor: pointer;
transition: all 0.2s ease;
}
.liste-actualites-page .tri button:hover,
.liste-actualites-page .tri button.actif{
background-color: var(--rouge);
border-color: var(--rouge);
color: var(--blanc);
}
.liste-actualites-page .liste-articles article{
margin-bottom: 2rem;
}
.liste-actualites-page .liste-articles article[hidden]{
display: none;
}
.liste-actualites-page .liste-articles a{
display: block;
height: 100%;
color: var(--noir);
}
.liste-actualites-page .liste-articles .visuel{
overflow: hidden;
aspect-ratio: 3 / 2;
}
.liste-actualites-page .liste-articles .visuel img{
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.liste-actualites-page .liste-articles a:hover .visuel img{
transform: scale(1.05);
}
.liste-actualites-page .liste-articles .texte{
padding: 1rem 0;
}
.liste-actualites-page .liste-articles time{
font-size: 0.875rem;
color: var(--rouge);
}
.liste-actualites-page .liste-articles h3{
font-size:1rem;
margin: 0.5rem 0;
color: var(--bleufonce);
}  .liste-actus-home article{
margin-bottom: 30px;
}
.liste-actus-home a{
display: block;
height: 100%;
color: var(--noir);
}
.liste-actus-home h3{
font-size:1rem
}
.liste-actus-home .visuel{
overflow: hidden;
aspect-ratio: 3 / 2;
}
.liste-actus-home .visuel img{
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.liste-actus-home a:hover .visuel img{
transform: scale(1.05);
}
.liste-actus-home .texte{
padding: 1rem 0;
}
.liste-actus-home time{
font-size: 0.875rem;
color: var(--rouge);
}
.liste-actus-home h3{
margin: 0.5rem 0;
color: var(--bleufonce);
}  .slider-references a{
display: block;
}
.slider-references .swiper-pagination{
position: static;
margin-top: 1rem;
}
.slider-references .swiper-pagination-bullet{
width: 12px; height: 12px;
background-color: var(--bleufonce);
opacity: 1;
}
.slider-references .swiper-pagination-bullet-active{
background-color: var(--rouge);
}  .liste-references-page .row{
row-gap: 3rem;
}
.liste-references-page a{
display: block;
width:80%;
}
.liste-references-page a:hover{
transform: scale(1.2);
} .contenu{
width: 80%;
max-width:1300px;
margin: 0 auto;
padding:0 0 1.5vw 0
}
.home .contenu{
padding:0;
}
.bandeau-titre .content{
width: 80%;
max-width:1300px;
margin: 0 auto;
padding:1rem 0;
}
.bandeau-titre {
display:flex;
justify-content: center;
align-items: center;
background-color: var(--rouge)
}
.bandeau-titre h1 {
text-transform: uppercase;
font-size: 2em;
margin: 0.5em 0;
font-weight: 500;
color: var(--blanc)
}
.bandeau-titre h1 > span {
display: block;
font-size: 0.3em;
border-bottom: 1px solid rgba(255,255,255,.4);
padding: 0.5em 0;
letter-spacing: 0.2rem;
font-weight: 400
}
.contenu .texte {
text-align: left;
line-height: 145%;
}
.contenu h1 {
text-transform: uppercase;
}
.contenu h2,
.contenu h3 {
text-align: left;
}
.contenu .side-barre {
margin-bottom: 4em;
}
.contenu .side-barre .image-une {
margin: 1.5em 0;
}
.contenu .side-barre .image-une img {
width: 100%;
}
.contenu .side-barre {
text-align: left;
}
.contenu .side-barre h3 {
text-transform: uppercase;
font-weight: 400;
color: #c9231c;
}
.contenu .side-barre ul {
list-style: none;
margin: 0;
padding: 0;
}
.contenu .side-barre ul li {
border-bottom: 1px dotted #b4b4b4;
}
.contenu .side-barre .blocpdf {
margin-bottom: 2em;
}
.contenu .side-barre a {
display: block;
padding: 0.5em 0;
color: #151a2c;
-webkit-transition: color 0.2s ease-out;
transition: color 0.2s ease-out;
}
.contenu .side-barre a > span {
display: inline-block;
padding-right: 5px;
}
.contenu .side-barre a:hover {
color: #c9231c;
}
.contenu .side-barre ul li a > span {
display: block;
font-size: 0.8em;
padding: 0;
}
.contenu .side-barre ul li a .parution {
font-weight: 900;
}
.contenu .side-barre ul li a .date {
padding-bottom: 0.5em;
}
.wpcf7-form {
text-align: left;
}
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
width: 100%;
font-size: 1em;
font-family: Lato, sans-serif;
padding: 5px;
}
.wpcf7-form select {
width: auto;
border: none;
}
.wpcf7-form label {
text-align: left;
display: inline-block;
padding-right: 1em;
}
.wpcf7-form input[type="date"] {
width: auto;
border: none;
}
.wpcf7-form input[type="submit"] {
background: none;
text-transform: uppercase;
font-size: 2em;
font-weight: 300;
width: auto;
border: none;
padding: 0;
cursor: pointer;
}
.wpcf7-form div {
margin: 0.75em 0;
}
.contenu .infos-presse {
display: inline-block;
background: #151a2c;
padding: 5px 0;
color: #fff;
border-radius: 3px;
font-size: 0.9em;
margin-bottom: 2em;
}
.contenu .infos-presse span {
display: inline-block;
padding: 0 0.5em;
}
.slide-accueil .swiper {
height: 100%;
}
.nav-mobile{
position: fixed;
z-index: 998;
left:-100%; top:0;
width:100%; height: 100%;
background:var(--bleufonce);
color: var(--blanc);
display: flex;
flex-direction: column;
align-items: center;
transition: all 0.35s ease;
}
.nav-mobile.opened{
transform: translateX(100%)
}
.nav-mobile .inner{
width:80%;
max-width:400px;
padding-top:120px;
}
.nav-mobile ul{
list-style: none;
margin:1rem 0;
padding:0;
}
.nav-mobile ul li{
text-transform: uppercase;
text-align: center;
border-bottom: 1px solid rgba(255,255,255,.5)
}
.nav-mobile ul li a{
color: var(--blanc);
display: block;
padding:0.5rem 0
}
.nav-mobile ul li a::before{
content: "";
width: 0.8em;
height: 0.8em;
display: block;
margin: 0px auto;
background: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/little-star-01.svg) 50% center / cover no-repeat rgb(255, 255, 255);
}
.nav-mobile ul ul.sub-menu {
display: none
}
.nav-mobile ul ul.sub-menu li{
text-transform: none;
border-bottom: none;
}
.nav-mobile ul ul.sub-menu li a::before{
display:none
}
@media screen and (min-width:1200px){
.nav-mobile{
display: none
}
}
footer {
border-top: 1px solid #c8c8c8;
background-color: rgb(235,235,235);
padding: 3em 0;
font-size: 0.9em;
position: relative;
z-index: 100;
}
footer .content{
width: 80%;
max-width:1440px;
margin: 0 auto;
padding:1rem 0;
}
footer .row {
margin-left: 0;
margin-right: 0;
}
footer .row > div {
padding-left: 0;
padding-right: 0;
}
footer a {
color: #151a2c;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
footer a:hover {
color: #c9231c;
}
footer ul {
margin: 0;
padding: 0;
list-style: none;
}
footer .logo, footer .rezo{
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
gap:1.5rem;
}
footer .logo{
flex-direction: column;
align-items: center;
justify-content: start
}
footer .logo a{
display: inline-flex;
width: 200px;
}
footer .logo img {
width: 100%;
height: auto;
}
footer .menus{
display: flex;
justify-content: center
}
footer .textwidget p {
margin: 0;
}
.menu-menu-footer-container {
margin: 1em 0;
}
.menu-menu-footer-container ul li {
text-align: left;
}
.menu-menu-footer-container ul li a {
display: block;
padding: 2px 0;
}
.menu-resaux-sociaux-container ul{
display: flex;
flex-wrap: wrap;
gap:0.25rem;
}
.menu-resaux-sociaux-container ul li {
text-align: center;
width: 3.5em;
height: 3.5em;
}
.menu-resaux-sociaux-container ul li a {
display: block;
width: 100%;
height: 100%;
background-color: #969696;
-webkit-mask-position: 50%;
mask-position: 50%;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: cover;
mask-size: cover;
text-indent: 3.5em;
overflow: hidden;
white-space: nowrap;
}
.menu-resaux-sociaux-container ul li a:hover {
background-color: #c9231c;
}
.menu-resaux-sociaux-container ul li.fbk a {
-webkit-mask-image: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/fbk-01.svg);
mask-image: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/fbk-01.svg);
}
.menu-resaux-sociaux-container ul li.lnk a {
-webkit-mask-image: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/lnk-01.svg);
mask-image: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/lnk-01.svg);
}
.menu-resaux-sociaux-container ul li.insta a {
-webkit-mask-image: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/instagram-01.svg);
mask-image: url(//www.philippebonnemann.com/wp-content/themes/bonnemann/img/instagram-01.svg);
}
@media screen and (min-width: 1024px) {
.menu-navigation-container > ul,
.menu-navigation-container > ul > li,
.menu-navigation-container > ul > li > a {
background-color: inherit;
}
.menu-navigation-container > ul > li > a {
position: relative;
z-index: 2;
}
.menu-navigation-container ul ul {
z-index: 1;
}
.menu-navigation-container > ul > li > a:after {
content: "";
position: absolute;
top: 0;
left: 100%;
width: 15px;
height: 100%;
background-color: inherit;
}
}
@media screen and (min-width: 1025px) {
.bandeau-titre h1 {
text-transform: uppercase;
font-size: 3.5em;
bottom: 0.5em;
color: #fff;
text-align: left;
}
.contenu h1 {
font-size: 3em;
padding-bottom: 0.5em;
margin: 2em 0 1em;
}
.contenu h2 {
font-size: 2rem;
}
.home-section h2{
font-size:3rem;
}
.contenu .texte {
text-align: justify;
}
.contenu .texte.gauche {
padding-right: 3.75%;
}
.contenu .texte.droite {
padding-left: 3.75%;
}
.contenu .side-barre > div {
padding-left: 5%;
}
.contenu .side-barre .blocpdf {
margin-bottom: 4em;
}
footer .logo {
text-align: left;
}
footer .rezo {
display: flex;
justify-content: end
}
}
@media screen and (min-width:1200px){
header .menu-navigation-container {
display: flex;
justify-content: center;
padding:0.5rem 0;
height:100%;
}
header .menu-navigation-container ul{
display: flex;
align-items: center;
gap:0.5rem;
}
header ul li {
font-size: 0.8rem;
border-bottom: none;
background-color: inherit;
}
header ul li a {
display: block;
padding: 1.5em 1em;
color: #c8c8c8;
}
header ul li a:hover {
color: #fff;
}
header ul li.current_page_item a:before, header ul li a:hover:before, header ul li.current-menu-ancestor a::before {
background-color: #c9231c;
}
header ul li ul.sub-menu {
display:none;
position: absolute;
left: 50%;
top: 100%;
transform: translateX(-50%);
background-color: #151a2c;
margin: 0;
padding: 1rem;
border: 1px solid #c8c8c8;
min-width:250px;
max-width:300px;
}
header ul li ul.sub-menu li{
border-bottom: 1px solid rgba(255,255,255,.3);
text-transform: none;
}
header ul li ul.sub-menu li:last-child{
border-bottom: none;
}
header ul li ul li a {
display: block;
padding: 0.75rem 0;
}
header .filet-v{
display: block;
width:1px;
height: 50px;
background-color: rgba(255,255,255,.4);
}
header .phone{
display: block;
color: var(--blanc);
padding: 0.5rem 0
}
}
@media screen and (min-width: 1440px) {
header ul li {
font-size: 0.9rem;
}
header .rezos{
display: block
}
header .rezos ul{
list-style: none;
margin:0; padding:0;
display: flex;
gap:0.85rem;
}
header .rezos ul li {
width: auto;
height: auto;
}
header .rezos ul li a{
width:35px; height: 35px;
padding:0;
overflow:hidden;
text-indent: 100%;
background-color: var(--blanc);
text-align:center;
}
header .rezos ul li a::before{
display:none;
}
}
@media screen and (min-width: 1680px) {
html {
font-size: 15px;
}
header ul li {
font-size: 1rem;
}
}