/*!
Theme Name: Les briocheurs
Author: foutaizz
Author URI: https://instagram.com/foutaizz/
Description: Food website
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: les-briocheurs
*/

/*-------------------------------------------------------------- GENERAL ----------------------------------------------------------------*/
@font-face {
    font-family: "Asap";
    src: url("https://les-briocheurs.fr/wp-content/themes/les-briocheurs/fonts/asap.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Yantramanav";
    src: url("https://les-briocheurs.fr/wp-content/themes/les-briocheurs/fonts/yantramanav.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Icons";
    src: url("https://les-briocheurs.fr/wp-content/themes/les-briocheurs/fonts/icons.woff2") format("woff2");
    font-display: swap;
}
.material-symbols-outlined {
  font-family: 'icons';
  font-weight: normal;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 1;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
:root {
    font-size: 1rem;
    --color-text: #861b22;
    --color-text-alt: #e8dfd1;
    --color-bg: #e8dfd1;
    --color-bg-alt : #861b22;
    --color-link: #e8dfd1;
    --color-link-hover: #e8dfd1;
}
*,
*::after,
*::before {
    box-sizing: border-box;
	text-decoration: none;
	list-style-type: none;
	outline: none;
	color: var(--color-text);
	padding: 0;
	margin: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: "Yantramanav", Serif ;
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-osx-font-smoothing: grayscale;
    -o-osx-font-smoothing: grayscale;
    background-color: var(--color-bg);
}
main{
	padding: 0 2rem 6rem;
}
h1, h2, h3, h4, h5, h6{
	font-family: "Asap", Serif;
	font-weight: 900;
	font-style: normal;
	text-transform: uppercase;
	line-height: 1;
}
h1{
    font-size: 4.2rem;
}
h2{
    font-size: 2.4rem;
    font-family: "Yantramanav", Serif ;
    font-weight: 500;
}
h3{
    font-size: 2.1rem;
}
h4{
    font-size: 1.6rem;
    font-family: "Yantramanav", Serif ;
    font-weight: 500;
}
h5{
    font-size: 1.2rem;
    font-family: "Yantramanav", Serif ;
    font-weight: 500;
}
img {
    width: 100%;
    height: auto;
}

/*-------------------------------------------------------------- HEADER ----------------------------------------------------------------*/

.header {
    position: fixed;
    width: 100%;
    height: auto;
    padding: 1rem 2rem;
    z-index: 100;
    top: 0;
}
.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 4rem;
    background-color: var(--color-bg);
    border-radius: .5rem;
}
.navbar>a {
    padding: 1rem;
    border: 1px solid var(--color-text);
    height: 100%;
    border-radius: .5rem 0 0 .5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.navbar>a>img {
    display: flex;
    width: auto;
    height: 1rem;
    align-items: center;
    flex-direction: row;
}
.navbar>ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    border: 1px solid var(--color-text);
    border-right: 0;
    border-left: 0;
    padding: 1rem;
    width: 100%;
    height: 100%;
    white-space: nowrap;
}
.navbar>ul#menu-menu-2 {
    border: 1px solid var(--color-text);
    width: auto;
    border-radius: 0 .5rem .5rem 0;
}
.current_page_item>a{
    font-weight: 900;
}

/*-------------------------------------------------------------- FIRST SECTION ----------------------------------------------------------------*/

section.home {
    display: flex;
    width: 100%;
    height: 100dvh;
    padding: 7rem 0 2rem;
    align-items: center;
    gap: 2rem;
}
.left-home, .right-home {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: .5rem;
	flex-basis: calc(100% / 1.5);
}
.right-home {
    flex-basis: calc(100% / 3);
}
.left-home>img, .right-home>img{
	position: absolute;
	width: inherit;
    height: inherit;
    object-fit: cover;
    border-radius: inherit;
}
.left-home>div, .right-home>div{

}
.left-home>div, .right-home>div{
	width: inherit;
    height: inherit;
    position: relative;
    border-radius: inherit;
    display: flex;
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0,0,0,1) -20%, rgba(0,0,0,0) 100%);;
    padding: 2rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.left-home>div>div, .right-home>div>div{
	background-color: transparent;
    width: 100%;
}
.left-home>div>div>h1, .right-home>div>div>h1{
	display: flex;
	align-items: center;
	background-color: transparent;
	color: var(--color-text-alt);
    max-width: calc(100% - 2rem);
}
.left-home>div>div>h4, .right-home>div>div>h4{
	display: flex;
	align-items: center;
	background-color: transparent;
	color: var(--color-text-alt);
	max-width: 55%;
}

/*-------------------------------------------------------------- SECOND SECTION ----------------------------------------------------------------*/
section.home-slide {
    position: relative;
    height: calc(100dvh - 7rem);
    width: 100%;
    padding: 2rem 0 0;
}

.home-slide>.left-home>div{
    justify-content: flex-end;
}

/*-------------------------------------------------------------- BUTTONS ----------------------------------------------------------------*/
a.button {
  display: block;
  position: absolute;
  width: 56px;
  height: 56px;
  right: 0;
  bottom: 0;
  margin: 2rem;
  overflow: hidden;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  border: 0;
}
.button:before,
.button:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 7px;
  background-color: transparent;
}
.button:before {
  border: none;
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}
.button:after {
  border: 4px solid var(--color-link-hover);
  transform: scale(1.3);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}
.button:hover:before,
.button:focus:before {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button:hover:after,
.button:focus:after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}
.button-box {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
}
.button-elem {
  display: block;
  width: 20px;
  height: 20px;
  margin: 20px -78px 0 18px;
  transform: rotate(0deg);
  fill: var(--color-text-alt);
  background: transparent;
}
.button:hover .button-box,
.button:focus .button-box {
  transition: 0.4s;
  transform: translateX(40px);
}
.button-elem>svg {
	background-color: transparent;
}

/*-------------------------------------------------------------- FOOTER ----------------------------------------------------------------*/

footer {
    position: relative;
    background: var(--color-bg-alt);
    height: 100%;
    width: 100%;
    border-radius: .5rem .5rem 0 0;
}
footer * {
    color: var(--color-text-alt);
}
.site-footer-top {
    display: flex;
    flex-direction: row;
    padding: 2rem;
    gap: 2rem;
    width: 100%;
}
.site-footer-top>div {
    display: flex;
    padding: 1rem;
    border: 1px solid var(--color-text-alt);
    border-radius: .5rem;
    height: 100%;
}
.footer-top-logo>a{
    display: flex;
}
.footer-top-logo>a>img {
    width: 4rem;
    height: auto;
}
.footer-top-contact {
    flex-basis: calc(100% / 1.5 - 8rem);
}
.footer-top-socials {
    flex-basis: calc(100% / 3);
}
.footer-top-contact>ul, .footer-top-socials>ul {
    display: flex;
    gap: .5rem;
    flex-direction: column;
    width: 100%;
}
.footer-top-contact>ul>li:first-child, .footer-top-socials>ul>li:first-child{
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.site-footer-bottom{
    display: flex;
    flex-direction: row;
    padding: 0 2rem 2rem;
    width: 100%;
}
.footer-bottom-copyright{
    text-transform: uppercase;
    font-weight: 900;
    font-size: .8rem;
}
form.wpcf7-form {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-end;
    column-gap: 2rem;
    row-gap: 1rem;
}
form>p{
    flex-basis: calc(50% - 1rem);
}
form>p:nth-last-child(3){
    flex-basis: calc(100% - 11rem);
}
form>p:nth-last-child(3)>span{
    display: flex;
    flex-direction: column;
}
form>p:nth-last-child(2){
    display: flex;
    justify-content: flex-end;
    flex-basis: 9rem;
}
input, textarea {
    background-color: transparent;
    color: var(--color-text-alt);
    opacity: 1;
    border: none;
    border-bottom: 2px dotted var(--color-text-alt);
    border-radius: 0;
    padding: .5rem;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    padding: .5rem 0;
}
textarea{
    resize: none;
}
input::placeholder, textarea::placeholder{
    background-color: transparent;
    color: var(--color-text-alt);
    opacity: 1;
    font-family: inherit;
    font-size: inherit;
}
input[type=submit]{
    width: auto;
    cursor: pointer;
    border: 1px solid var(--color-text-alt);
    border-radius: .5rem;
    padding: 1rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
}
.screen-reader-response>ul, .wpcf7-response-output{
    display: none;
}
.wpcf7-not-valid-tip{
    font-weight: 900;
}
select {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-text);
    border-radius: .5rem;
    padding: 0.5rem;
}
span.wpcf7-form-label {
    border-bottom: 2px dotted var(--color-text);
    width: 100%;
    display: block;
    padding: .5rem 0;
}
form label{
    display: flex;
    flex-direction: column;
}
form p>span>span{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
form p>span>span>span {
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: rtl;
    width: min-content;
    white-space: pre;
    gap: .5rem;
}
input[type="checkbox"] {
    accent-color: var(--color-bg-alt);
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--color-bg-alt) inset !important;
}
input:-webkit-autofill{
    -webkit-text-fill-color: var(--color-text-alt) !important;
}

/*-------------------------------------------------------------- PAGE ----------------------------------------------------------------*/

.hero-banner {
    display: flex;
    flex-direction: row;
    height: 75dvh;
    padding: 7rem 0 2rem 0;
}
.hero-banner * {
    color: var(--color-text-alt);
}
.hero-banner-left {
    display: flex;
    flex-basis: calc(100% / 3);
    background: var(--color-bg-alt);
    border-radius: .5rem 0 0 .5rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}
.hero-banner-txt {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.hero-banner-right {
    flex-basis: calc(100% / 1.5);
    height: 100%;
    width: 100%;
}
.hero-banner-right>img {
    object-fit: cover;
    height: 100%;
    border-radius: 0 0.5rem .5rem 0;
}
.entry-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 6rem 14rem;
}
.entry-content-products {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 2rem 0;
}
.entry-content-product {
    position: relative;
    height: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
}
.content-product-txt {
    position: relative;
    width: 100%;
    display: flex;
    padding: 2rem;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
    aspect-ratio: 3 / 2;
}
.entry-content-product>img {
    position: absolute;
    aspect-ratio: 3 / 2;
    border-radius: .5rem;
    object-fit: cover;
}
.content-product-desc {
    position: relative;
    display: flex;
    padding: 1rem 2rem;
}

/*-------------------------------------------------------------- CONTACT / DEVIS ----------------------------------------------------------------*/
#contact main input, #contact main textarea, #devis main input, #devis main textarea{
    color: var(--color-text);
    border-bottom: 2px dotted var(--color-text);
}
#contact main input::placeholder, #contact main textarea::placeholder, #devis main input::placeholder, #devis main textarea::placeholder{
    color: var(--color-text);
}
#contact main input[type=submit], #devis main input[type=submit]{
    border: 1px solid var(--color-text);
}
#contact main input:-webkit-autofill, #devis main input:-webkit-autofill{
    -webkit-text-fill-color: var(--color-text) !important;
}
#contact main input:-webkit-autofill,
#contact main input:-webkit-autofill:hover, 
#contact main input:-webkit-autofill:focus, 
#contact main input:-webkit-autofill:active,
#devis main input:-webkit-autofill,
#devis main input:-webkit-autofill:hover, 
#devis main input:-webkit-autofill:focus, 
#devis main input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--color-bg) inset !important;
}
#devis main form>p:nth-last-child(4){
    flex-basis: calc(100% - 1rem);
}

/*-------------------------------------------------------------- REVIEWS ----------------------------------------------------------------*/

section.reviews {
    position: relative;
    width: 100%;
    height: auto;
    padding: 8rem 0 0;
}

.reviews-container {
    position: relative;
    display: flex;
    height: 70%;
    width: 100%;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}

.reviews-text {
    width: 100%;
    background-color: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 1rem;
    flex-basis: calc(100% / 3 - 2rem);
}

.rate-icon {
    width: 4rem;
    padding: .5rem;
    background-color: var(--color-bg-alt);
    border-radius: 100%;
}

.reviews-text .rate {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.rate-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rate-title {
    margin: 0;
    color: var(--color-text-alt);
}

.swiper {
  margin: 0;
  overflow: hidden;
  cursor: grab;
  flex-basis: calc(100% / 1.5);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--color-bg-alt);
  padding: 2rem;
  gap: 1rem;
  height: auto;
  border-radius: 1rem;
}

.card-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
}

.card .image {
    width: auto;
    height: auto;
  min-width: 4rem;
  min-height: 4rem;
  max-width: 4rem;
  max-height: 4rem;
  border-radius: 50%;
}

.card .image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.card .name, .card .time{
  color: var(--color-text-alt);
}

.card .name {
    margin: 0;
}

.card .job {
  color: var(--color-text-alt);
  opacity: 0.8;
  height: auto;
  margin: 0;
}

.card .time, .card .job {
    opacity: 0.6;
}

.card .rating {
    position: relative;
    display: flex;
    color: var(--color-text-alt);
}

.rating>span{
    color: var(--color-text-alt);
}

.swiper-pagination {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.swiper-pagination-bullet {
  background-color: var(--color-bg-alt);
  opacity: 1;
  height: .5rem;
  width: .5rem;
  border-radius: 0.1rem!important;
  transition: 0.3s;
  bottom: 0;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-bg-alt);
  width: 2rem;
}

.rating-total{
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-text-alt);
    opacity: .6;
}

.rating-total-star{
    display: flex;
    align-items: center;
}

.rating-total .material-symbols-outlined {
    font-size: 1rem;
    color: var(--color-text-alt);
}

@media only screen and (max-width: 53rem){
    section.reviews{
        padding: 0;
        height: auto;
    }
    .card {
        padding: 2rem 1rem;
    }
    .reviews-text{
        padding: 1rem;
    }
    .reviews-text .rate {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/*-------------------------------------------------------------- BANNER ----------------------------------------------------------------*/
section.banner {
    position: relative;
    height: 60dvh;
    width: 100%;
    background-color: var(--color-bg-alt);
    border-radius: .5rem;
    margin: 7rem 0 0 0;
}

section.banner *{
    color: var(--color-text-alt);
}

.banner-text {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 14rem;
}
.banner-text h4 {
    max-width: 35%;
}
.banner-img {
    position: absolute;
    height: 100%;
    width: 75%;
    right: 0;
    overflow: hidden;
}

.banner-img img {
    position: relative;
    width: 25%;
    left: 25%;
    top: 25%;
    rotate: -10deg;
    -webkit-animation: mover 2s infinite  alternate;
    animation: mover 2s infinite  alternate;
    opacity: .8;
}
img.banner-img-1 {
    position: absolute;
    top: 66%;
    left: 35%;
    rotate: 3deg;
    width: 15%;
    -webkit-animation: mover 1.5s infinite  alternate;
    animation: mover 1.5s infinite  alternate;
    opacity: .8;
}
img.banner-img-2 {
    position: absolute;
    left: 55%;
    top: 40%;
    rotate: 2deg;
    width: 33%;
    -webkit-animation: mover 2.5s infinite  alternate;
    animation: mover 2.5s infinite  alternate;
    opacity: .8;
}

.banner-button {
    position: relative;
    display: flex;
    justify-content: center;
    transform: translate(0, -50%);
}

button{
    background-color: var(--color-bg);
    border: 1px solid var(--color-text);
    color: var(--color-text)!important;
    width: auto;
    height: auto;
    padding: 1rem 2rem;
    border-radius: .5rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    display: flex;
    gap: 1rem;
    align-items: center;
}
button>a{
    color: var(--color-text)!important;
}

button:after{
    content: '➔';
    position: relative;
    left: 0;
    transition: left .25s ease-in-out;
}

button:hover:after{
    left: .5rem;
}