/*
Theme Name: Dsbd
Author: David DI SAN BONIFACIO
Author URI: https://dsbd.fr
Description: Thème créé par l'agence web Dsbd
Requires at least: WordPress 5.0
Version 1.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3.	Site Header
  4.  Site Footer		
	7. 	Page Home
	8.	Page Archives Woocommerce
	9.	Page Single Product Woocommerce
	14.	Cart
	15.	Cart checkout
	17.	Search template
	18. Error 404
	19. Site Footer
	20. Responsivity / Media Queries

----------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */

/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}


/*------------------------------------------------------------------
# Font face
-------------------------------------------------------------------**/

@font-face {
  font-family: "Roboto";
  src: url('/wp-content/themes/dsbd/fonts/roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: "Roboto Italic";
  src: url('/wp-content/themes/dsbd/fonts/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-style: italic;
}

/*------------------------------------------------------------------
# Variables
-------------------------------------------------------------------**/

/*Colors variables */
:root {
  --color-primary: #FCF9F6;
  --color-secondary: #47617F;
  --color-accent: #D4B4A9;
  --color-white: #FCF9F6;

  --color-background: #FCF9F6;
  --color-surface: #f8f9fa;
  --color-border: #e0e0e0;

  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-inverted: #ffffff;

  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger:  #dc3545;
}

/* Fonts  variables */
:root {
  --font-family-base: 'Roboto', sans-serif;
  --font-family-heading: 'Roboto', sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3rem;

  --line-height-base: 1.6;
  --line-height-heading: 1.3;

  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Buttons variables */
:root {
  --btn-padding-y: 0.75rem;
  --btn-padding-x: 1.5rem;
  --btn-border-radius: 0.5rem;
  --btn-font-size: var(--font-size-md);
  --btn-transition: all 0.3s ease;
}


 /* Transitions variables*/
:root{
  --transition-fast: 0.2s all ease-in-out;
  --transition-medium: 0.4s all ease-in-out;
  --transition-slow: 0.5s all ease-in-out;
}
/* Dark theme variables */
.theme-dark {
  --color-background: #121212;
  --color-surface: #1e1e1e;
  --color-text: #eeeeee;
  --color-border: #333;
}

/*------------------------------------------------------------------
# Typography
-------------------------------------------------------------------**/

h1 {
  font-size: 3rem;
  line-height: 120%;
  font-weight: 200 !important;
  font-family: var(--font-family-heading);
  margin-bottom: 0;
}

h2 {
  font-size: 2.5rem;
  line-height: 120%;
  font-weight: 200;
  font-family: var(--font-family-heading);
  margin-bottom: 0;
  text-wrap: balance;
}

h3 {
  font-size: 2rem;
  line-height: 120%;
  font-weight: 200;
  font-family: var(--font-family-heading);
  margin-bottom: 0;
}

h4 {
  font-size: 1.3rem;
  line-height: 110%;
  font-weight: 300;
  font-family: var(--font-family-heading);
  margin-bottom: 0;
}

h5 {
  font-size: 1.125rem;
  line-height: 140%;
  font-weight: 300;
  font-family: var(--font-family-heading);
  margin-bottom: 0;
}

h6 {
  font-size: 0.875rem;
  line-height: 150%;
  font-weight: 300;
  font-family: var(--font-family-heading);
  margin-bottom: 0;
}

p, li {
  line-height: 150%;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--font-family-base);
}


@media screen and (max-width: 770px) {
h1 {
  font-size: 2.2rem;
  line-height: 120%;
}

h2 {
    font-size: 1.725rem;
    line-height: 120%;

}

h3 {
  font-size: 1.5rem;
    line-height: 120%;

}

h4 {
  font-size: 1.3rem;
    line-height: 120%;

}

h5 {
  font-size: 1.3rem;
    line-height: 140%;

}

h6 {
    font-size: 1.3rem;
    line-height: 140%;

}

p, li {
  font-size: 1rem;
  }
  

}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  color: inherit;
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

section{
position: relative;
z-index: 1;
}

/*------------------------------------------------------------------
# Custom classes 
-------------------------------------------------------------------**/

.mw-550{
  max-width: 550px;
}

.mw-650{
  max-width: 650px;
}

.mw-750{
  max-width: 750px;
}

.mw-900{
  max-width: 900px;
}

/*------------------------------------------------------------------
# General elements 
-------------------------------------------------------------------**/

body{
  background-color: var(--color-background) !important;
}

.page-content{
  overflow-x: hidden;
}

.divider{
  height: 2px;
  width: 80px;
  background: var(--color-secondary);
}

.button{
  padding: 0.5rem 1rem !important;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: 0.2s all ease-in-out;
  width: max-content !important;
  max-width: 100%;
  font-weight: 500;
  height: max-content !important;
  border-radius: var(--radius-buttons);
  font-size: 0.825rem !important;
  }
  
  .button.line{
  border: 1px solid var(--clr-primary);
  color: var(--clr-black);
  transition: 0.5s all ease-in-out;
  }
  
  .button.line:hover{
    background-position: left;
    transition: 0.5s all ease-in-out;
    color: white;
  }
  
  .button.line.white{
    border: 1px solid var(--color-white);
    color: var(--color-white);
    background: linear-gradient(to left, transparent 50%, white 50%) right;
    background-size: 200%;
  }
  
  .button.line.white:hover{
    color: var(--clr-black);
  }
  
  .button.full{
    transition: 0.4s all ease-in-out;
    color: var(--color-white) !important;
    padding: 0.5rem 1rem;
    background: var(--color-secondary);
    width: max-content;
  }
  
  .button.full .mega-menu-link{
    color: white;
  }
  
  .button.full.light{
    background: var(--color-secondary);
  }
  
  .button.full.white{
    background-color: white;
    transition: 0.4s all ease-in-out;
    color: black !important;
    background: linear-gradient(to left, var(--color-white) 50%, black 50%) right;
    background-size: 200%;
  }
  
  .button.empty{
  background: white;
  backdrop-filter: blur(1px);
  transition: 0.5s all ease-in-out;
  border: 1px solid transparent;
  color: var(--color-white);
  }
  
  .button.full:hover{
    background-position: left !important;
    transition: 0.5s all ease-in-out !important;
  }
  
  .button.full.white:hover{
    color: var(--color-white);
  }
  
  .button.empty:hover{
    color: var(--color-white);
  }
  
  .button.link{
  border-radius: 0;
  padding: 0;
  color: inherit;
  padding-right: 50px !important;
  padding-left: 0 !important;
  margin-top: auto !important;
  text-underline-offset: 2px;
  cursor: pointer;
  }
  
  .button.link::after{
  content: url('');
  padding-left: 5px;
  color: inherit;
  transition: all 0.2s ease-in-out;
  position: absolute;
  right: 15px;
  top: calc(50% + 5px);
  transform: translateY(-50%);
  }
  
  .button.link:hover{
  border: none;
  transform: scale(1);
  }
  
  .button.link:hover::after{
  transition: all 0.2s ease-in-out;
  right: 10px;
  text-decoration: none;
  }

  .button.read-more{
    padding: 0 !important;
  }
  
  .read-more a{
    font-size: 0.8rem;
  }
  
  .read-more .underline{
    width: 50%;
    height: 2px;
    content: '';
    background: var(--color-secondary);
    transition: all 300ms ease-in-out;
  }
  
  .read-more .underline.white{
    background-color: var(--color-white);
  }
  
  .read-more:hover .underline{
    width: 100%;
    transition: all 300ms ease-in-out;
  }
  
  .card.box-shadow-light{
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
  }
  
  .card.box-shadow-spread{
  box-shadow: 0 0 50px 0px rgba(0, 0, 0, 0.1);
  }
  
  .text-white{
  color: white;
  }
  
  .bg-cover{
  background-size: cover;
  }
  
  .bg-center{
  background-position: center;
  }
  
  .fit-cover{
  object-fit: cover;
  }
  
  .overlay{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
  transition: 0.2s all ease-in-out;
  }
  
  .z-index-9{
  z-index: 9;
  }
  
  .arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  }
  
  .arrow .right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  }
  
  .arrow .left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  }
  
  .arrow .up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  }
  
  .arrow .down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  }
  
  .sticky-100{
  position: sticky;
  height: max-content;
  top: 100px;
  }
  
  .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
  clr-primary-50: transparent;
  border-bottom: 1px solid #333;  
  border-radius: 0;
  color: #333;
  }
  
  .tag{
  background: #f1f1f1;
  padding: 0.3em 0.5rem;
  border-radius: var(--radius-buttons);
  font-size: 0.7rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: block;
  width: max-content;
  height: max-content;
  flex: none;
  border: #d8d8d8;
  }
  
  .date{
  font-size: 0.8rem;
  }
  
  .separator:last-child{
  display: none;
  }
  
  .btn-rounded{
  width: max-content; 
  border : 1px solid black;
  border-radius: var(--radius-buttons);
  clr-primary-50: transparent;
  transition: all 200ms ease-in-out;
  }
  
  .btn-rounded:hover{
  width: max-content; 
  border : 1px solid black;
  clr-primary-50: black;
  border-radius: var(--radius-buttons);
  color: white;
  transition: all 200ms ease-in-out;
  }
  
  .btn-rounded.active{
  clr-primary-50: black;
  color: white;
  }
  
  .radius{
    border-radius: var(--radius-border);
  }
  
  .button.radius{
    border-radius: var(--radius-buttons);
  }

  [id]{
    scroll-margin-top: 100px;
  }
  
  @media screen and (max-width: 991px){
    .buttons{
      flex-wrap: wrap;
    }
    .buttons .button{
        width: 100%;
        text-align: center;
    }
    .buttons .button:first-of-type{
      margin-bottom: 1rem;
    }
  }

/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/

header {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: var(--color-white);
  color: var(--clr-black);
}

header.transparent {
  position: absolute;
  top: 0;
  width: 100%;
  background: linear-gradient(-180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1), transparent);
  z-index: 9999999;
  color: var(--color-white);
}

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

header.transparent.banner-active {
  top: 80px;
}

header.sticky {
  background-color: var(--color-white);
  color: var(--clr-black);
  position: sticky;
  top: 0 !important;
  z-index: 99;
}

/*--------------------------------------------------------------
# Header Menu Base
--------------------------------------------------------------*/

.header-menu {
  height: 100%;
  padding-top: 5px;
}

.header-menu .menu,
.header-menu.desktop-menu #menu-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.header-menu .menu ul,
.header-menu.desktop-menu ul {
  list-style: none;
  padding: 0;
}

.header-menu.desktop-menu ul li {
  font-size: 0.9rem;
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--clr-black);
  padding: 1.5rem 0;
}

@media screen and (max-width: 991px) {
  .header-menu .menu,
  .header-menu.desktop-menu #menu-header {
    gap: 1.5rem;
  }
}

/* Buttons */

.header-menu .button,
.header-menu.desktop-menu .button.line {
  font-size: 0.9rem;
}

.header-menu.desktop-menu .button.line {
  border: 1px solid var(--color-secondary);
  color: var(--clr-black);
}

.header-menu.desktop-menu .button.line a {
  color: var(--clr-black);
}

/* Current item */

.header-menu.desktop-menu ul .current-menu-item > a:first-of-type {
  border-bottom: 1px solid var(--color-secondary);
  margin-top: 2px;
}

/* Logo */

.header-menu.desktop-menu .logo {
  width: 80px;
}

/* Sticky Logo Area */

header.sticky .header-menu.desktop-menu .menu-logo {
  background: var(--color-white);
  padding: 10px;
  border-radius: 100px;
  margin-bottom: -40px;
}

/* Submenus */

.header-menu.desktop-menu .menu-item-has-children::after,
.transparent .header-menu.desktop-menu .menu-item-has-children::after {
  content: '';
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  padding: 2px;
  display: inline;
  margin-left: 0.5rem;
  transform: rotate(45deg);
  transition: transform 0.2s ease-in-out;
}

.header-menu.desktop-menu ul .menu-item-has-children:hover::after {
  transform: rotate(-135deg);
}

header.transparent .header-menu.desktop-menu .menu-item-has-children:hover::after,
header.transparent.sticky .header-menu.desktop-menu .menu-item-has-children::after,
header.transparent .header-menu.desktop-menu.highlight-background .menu-item-has-children::after {
  border-color: var(--clr-black);
}

/* Sub-menu dropdown */

.header-menu.desktop-menu .sub-menu {
  display: none;
  position: fixed;
  background: white;
  top: 80px;
  opacity: 0;
  padding: 0;
  z-index: 9;
  transition: all 0.2s ease-in;
  z-index: 9999;
  padding: 1rem;
}

.admin-bar .header-menu.desktop-menu .sub-menu{
  top: calc(80px + 32px);
}

.header-menu.desktop-menu ul .menu-item-has-children:hover .sub-menu {
  display: block;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.header-menu.desktop-menu .sub-menu li {
  padding: 0;
  margin: 0;
  height: 100%;
  color: var(--clr-black);
  margin-bottom: 0.3rem;
}

.header-menu.desktop-menu .sub-menu a {
  display: flex;
  height: 100%;
  transition: all 0.2s ease-in;
  border-bottom: none !important;
}

.header-menu .sub-menu a .menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1rem;
  font-weight: 700;
  flex-basis: 120%;
}

.header-menu.desktop-menu .sub-menu li a .menu-thumbnail {
  flex-basis: 80%;
}

.header-menu.desktop-menu .sub-menu li a .menu-thumbnail img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-border);
  height: 100%;
}

.header-menu.desktop-menu .sub-menu a .menu-content .menu-excerpt {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Transparent Header Specific
--------------------------------------------------------------*/

header.transparent .sub-menu,
header.transparent .header-menu.desktop-menu .sub-menu li {
  color: var(--clr-black);
}

header.transparent .burger-icon img {
  filter: invert(100%);
}

.transparent .header-menu.desktop-menu .button.line,
.transparent .header-menu.desktop-menu .button.line a {
  border: 1px solid var(--color-secondary);
  color: var(--color-white);
}

header.transparent .header-menu.desktop-menu.highlight-background {
  background-color: var(--color-white);
  color: var(--clr-black);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 770px) {
  header .logo {
    width: 45px !important;
  }

  header.sticky .header-menu {
    padding: 0 !important;
  }

  header.transparent.banner-active {
    top: 32px;
  }

  header.sticky .mobile-menu-toggle .close-icon {
    filter: none;
  }
}

/**** Mobile ****/

/* Styles pour l'icône burger et la croix */
.burger-icon,
.close-icon {
  cursor: pointer;
}

.close-icon {
  display: none;
  z-index: 9;
  right: 1rem;
  top: 30px;
}

header .header-menu.mobile-menu{
  display: flex;
  position: absolute;
  left: 0;
  min-height: 100vh;
  height: calc(100% + 150px);
  overflow-y: scroll;
  width: 100vw;
  list-style: none;
  background: var(--color-background);
  z-index: 99;
  top: auto;
  padding-left: 1rem;
  transform: translateX(-100vw);
  transition: all 400ms ease-in-out;
  
}

header .header-menu.mobile-menu ul{
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: calc(100% + 100px);
  overflow-y: scroll;
}

header .header-menu.mobile-menu.active{
    transform: translateX(0);
    transition: all 400ms ease-in-out;
}

header .header-menu.mobile-menu.active + .mobile-menu-toggle .burger-icon {
  display: none; /* Masquer l'icône burger lorsque le menu est ouvert */
}

header .header-menu.mobile-menu.active + .mobile-menu-toggle .close-icon {
  display: block; /* Afficher la croix lorsque le menu est ouvert */
}

/* Styles pour les trois barres de l'icône burger */
.burger-icon .bar,
.close-icon .bar {
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: transform 0.3s; /* Animation de rotation pour la croix */
}
.close-icon .bar:nth-child(1) {
  transform: rotate(45deg);
}
.close-icon .bar:nth-child(2) {
  transform: rotate(-45deg);
}

.header-menu.mobile-menu li{
  padding: 0;
  list-style: none;
  color: var(--clr-black);
}

.header-menu.mobile-menu ul{
  padding: 0;
}

.header-menu.mobile-menu ul li{
  height: auto;
  font-size: 1.125rem;
}

.header-menu.mobile-menu ul li ul li{
  padding-left: 1rem;
  font-size: 1rem;
}

.header-menu.mobile-menu .menu-menu-principal-container{
  width: 100%;
}

.header-menu.mobile-menu ul li.menu-item-has-children > a::after{
  border-color: var(--clr-black);
}

.header-menu.mobile-menu .sub-menu {

}



/* -------------------------------------------------------------------------- */

/*	Infos banner
/* -------------------------------------------------------------------------- */

.infos_banner{
  color: white;
  background-color: var(--clr-primary);
  text-align: center;
  padding: 0.5rem 0;
}

.infos_banner p{
  margin: 0;
  font-size: 12px;
}

.infos_banner a{
  text-decoration : underline;
}

.infos-banner{
width: 100%;
position: relative;
color: white;
text-align: center;
}

/* -------------------------------------------------------------------------- */

/*	Bootstrap reset
/* -------------------------------------------------------------------------- */

.container-xl, .container-xxl{
  max-width: 1600px;
}

.card{
border: none;
}

.mb-6{
  margin-bottom: 8rem !important;
}

@media screen and (min-width: 991px) {
  .mt-lg-6{
  margin-top: 8rem !important;
  }

  .mb-lg-6{
  margin-bottom: 8rem !important;
  } 
}

.pb-6{
padding-bottom: 8rem !important;
}

.py-6{
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-7{
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

@media screen and (max-width: 771px) {
  .gx-5{
    --bs-gutter-x: inherit;
  }
  .mb-6{
    margin-bottom: 5rem !important;
    }
    
}

/* -------------------------------------------------------------------------- */

/*	Swiper reset
/* -------------------------------------------------------------------------- */

.swiper-wrapper{
box-sizing: inherit;
}

.swiper-slide.col-10{
width: 80%;
}

.swiper-arrows{
  gap: 2rem;
}

.swiper-pagination-bullet-active{
  background: var(--color-secondary);
}

.swiper-button-next, .swiper-button-prev{
  color: var(--color-white);
  position: relative;
  background: var(--color-secondary);
  height: 40px;
  width: 40px;
  border-radius: 5px;
}

.swiper-button-next::after, .swiper-button-prev::after{
  font-size: 1rem;
  font-weight: bold;
}

.swiper-scrollbar{
  height: 5px;
}

.swiper-scrollbar-drag{
  background: var(--color-secondary);
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
  content: url('/wp-content/uploads/2025/07/arrow-prev.svg');
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
  content: url('/wp-content/uploads/2025/07/arrow-next.svg');
}

@media screen and (min-width: 768px){
.swiper-slide.col-md-3{
  width: calc(40% - 30px);
}
}

.fancybox__container{
  z-index: 999999;
}

.swiper .nav-container{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(50%) translateX(-50%);
  z-index: 9;
}

.swiper-navigation.rounded-nav{
  gap: 30px;
  background: var(--clr-primary);
  height: 80px;
  width: 80px;
  border-radius: 80%;
  color: white;
}

.swiper-navigation.rounded-nav .swiper-button-next, .swiper-navigation.rounded-nav .swiper-button-prev{
color: black;
position: relative;
top: 9px;
color: white;
}


/* -------------------------------------------------------------------------- */

/*	Custom post global
/* -------------------------------------------------------------------------- */

.post.custom-post:hover .content{
  background: var(--clr-primary);
  color: white;
  border-radius: 0 0 var(--radius-border) var(--radius-border);
}
  
.post.custom-post:hover .content .tag{
  color: black;
}
  
.post.custom-post:hover .content .localisation .tag{
  color: white;
}
  
.post.custom-post:hover .content img, .post.custom-post:hover .content .divider{
  filter: invert();
}


/* -------------------------------------------------------------------------- */

/* Archives
/* -------------------------------------------------------------------------- */

.archive .facetwp-dropdown{
  padding: 0.5rem 0.2rem;
  border-radius: var(--radius-border);
  width: 100%;
}

.archive .post{
  border-radius: var(--Corner-Extra-small, 4px);
  border: 1px solid var(--gray-200, #E5E7EB);
  background: var(--white, #FFF);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.10), 0px 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.archive .post .content{
  border-radius: 0 0 var(--radius-border) var(--radius-border);
  flex-grow: 2;
}

.archive .post .content p{
  font-size: 0.825rem;
}

.archive .post .thumbnail img{
  aspect-ratio: 16/ 9;
  object-fit: cover;
  border-radius: var(--radius-border) var(--radius-border) 0 0;
  transition: all 300ms ease-in-out;
}

.archive .post .category{
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  width: max-content;
  background-color: var(--clr-light-grey);
  border: 1px solid var(--clr-black);
  color: var(--clr-black);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-border);
}

.archive .post .excerpt p{
  line-height: 24.3px;
}  

.archive .post:hover .thumbnail img{
  transform: scale(1.05);
  transition: all 300ms ease-in-out;  
}

.archive .post:hover .content{
  background: var(--color-secondary);
  color: white;
}

.archive .post:hover .content .read-more .underline{
  background: var(--color-white);
  width: 100%;
}


/* -------------------------------------------------------------------------- */

/*	Blog single page
/* -------------------------------------------------------------------------- */

.single-post .back-arrow{
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid;
  border-radius: 8px;
}

.single-post .back-arrow .bi-arrow-left{
  content: url('/wp-content/uploads/2024/10/back-arrow-light-line.svg');
  height: 15px;
  width: auto;
}

.single-post .breadcrumb p > span{
  display: flex;
  gap: 8px;
}

.single-post .breadcrumb p{
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 21.6px;
  text-align: left;
}

.single-post .breadcrumb_last{
 font-weight: 700; 
}

.single-post .categories{
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  width: max-content;
  background-color: var(--clr-light-grey);
  border: 1px solid var(--clr-black);
  color: var(--clr-black);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-border);
}

.single-post .excerpt{
  font-family: var(--font-family-base);
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
}

.addtoany_list a:not(.addtoany_special_service)>span{
  border: 1px solid var(--clr-secondary);
  padding: 0.3rem;
}

.single-post .text-bloc, .single-post .quote, .single-post .conclusion, .single-post .heading{
  max-width: 720px;
  margin: auto;
}

.single-post .text-bloc, .single-post .quote, .single-post .conclusion{
  position: relative;
  z-index: 1;
}


.single-post .thumbnail{
  position: relative;
  z-index: 1;
}

.single-post .thumbnail img{
  border-radius: 1rem;
  margin: auto;
}

.single-post .top-page{
  z-index: 0;
}

.single-post .orange-shape{
  position: absolute;
  bottom: 0px;
  right: calc(-20vw);
  transform: translateY(50%);
}

.single-post .quote{
  border-left: 1px solid black;
  padding-left: 2rem;
}

.single-post .quote .quote-text{
  font-family: var(--font-family-base);
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
  line-height: 36px;
  text-align: left;
}

.single-post .quote .quote-author{
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

.single-post .quote .quote-author::before{
  content: "—";
  margin-right: 0.8rem;
}

.single-post .conclusion{
  background-color: white;
  border: 1px solid black;
  border-radius: var(--radius-border) var(--radius-border);
}


.single-post .related-posts .related-post-items{
  display: flex;
  align-items: stretch;
}

.single-post .related-posts .related-post-item{
  border-radius: var(--radius-border) var(--radius-border);
}

.single-post .related-posts .related-post-item .thumbnail{
  aspect-ratio: 16/10;
}

.single-post .related-posts .related-post-item .thumbnail img{
  border-radius: var(--radius-border) var(--radius-border) 0 0;
  width: 100%;
  object-fit: cover;
}

.single-post .related-posts .related-post-item .inner{
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.single-post .related-posts .related-post-item .content{
  background-color: var(--clr-light-grey);
  border-radius: 0 0 var(--radius-border) var(--radius-border);
  flex-grow: 1;
}

.single-post .related-posts .related-post-item .categorie{
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  width: max-content;
  background-color: var(--clr-light-grey);
  border: 1px solid var(--clr-black);
  color: var(--clr-black);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-border);
}

.single-post .related-posts .related-post-item .title{
  font-family: var(--font-family-base);
  color: var(--clr-secondary);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: left;
  
}

.single-post .related-posts .related-post-item .excerpt{
  text-align: left;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

.single-post .related-posts .related-post-item .read-more{
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
}

/* -------------------------------------------------------------------------- */

/*	Contact form
/* -------------------------------------------------------------------------- */

.wpcf7{
  max-width: 750px;
  margin: auto;
}

.wpcf7-form label{
  margin-bottom: 1rem;
}

.wpcf7-form label, .wpcf7-form input, .wpcf7-form textarea{
  width: 100%;
}

.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-number, .wpcf7-form textarea{
  border-radius: var(--radius-border);
  border: 1px solid rgb(194, 194, 194);
  padding: 0.5rem 1rem;
}

.wpcf7-form .next-step, .wpcf7-form .prev-step{
  border-radius: var(--radius-border);
  background-color: var(--clr-primary);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
}

.wpcf7-form .navigation{
  display: flex;
  justify-content: space-between;
}

.wpcf7-form .next-step{
  margin-left: auto;
}

.wpcf7-form input[type="checkbox"]{
  width: auto;
}

.wpcf7-form .wpcf7-submit{
  border: none;
  width: max-content !important;
  padding: 0.5rem 1rem;
  width: 100%;
  background-color: black;
  color: white;
  border-radius: var(--radius-border);
}

.wpcf7-radio .wpcf7-list-item-label{
  display: flex;
  justify-content: center;
  align-items: center;
}

.wpcf7-radio{
  display: flex;
  margin-bottom: 3rem;
}

.wpcf7-list-item{
  display: flex;
}

.wpcf7-list-item input[type="radio"]{
  margin-right: 0.8rem;
  width: 12px;
}


/* -------------------------------------------------------------------------- */

/*	Footer
/* -------------------------------------------------------------------------- */

footer{
  background-color: #47617F;
  color: white;
  overflow: hidden;
}

footer .container{
  position: relative;
  z-index: 1;
}

footer ul{
list-style: none;
padding: 0;
}

footer .infos p{
  font-size: 0.8rem;
  line-height: 110%;
}

footer #menu-copyright-footer{
display: flex;
}


footer #menu-copyright-footer li{
margin: 0 0.5rem;
}

footer .email{
flex-grow: 1;
margin-right: 1rem;
}

footer ul li{
padding-bottom: 0.5rem;
font-size: 0.8rem;
color: white;
}

footer p{
  font-size: 0.8rem;
}

footer .optin{
font-size: 12px;
line-height: 150%;
}

footer .divider{
height: 1px;
background: none;
border-top: 1px solid white !important;
opacity: 0.4;
width: 100%;
}

footer .copyright{
font-size: 0.9rem;
}

footer #menu-legal-notices{
  display: flex;
  gap: 1rem;
}

footer .background-img{
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  rotate: -20deg;
}

@media screen and (max-width:770px) {
footer #menu-copyright-footer{
  flex-direction: column;
}
footer .copyright{
  flex-direction: column;
}
footer .copyright p{
  order: 2;
}
footer .footer-partners{
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center;
  width: 100% !important;
}
footer .footer-partners img{
  width: 50px;
}
}

/* -------------------------------------------------------------------------- */

/*	Modal
/* -------------------------------------------------------------------------- */

.popup{
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-content{
  position: absolute;
  background-color: var(--color-background);
  overflow: auto;
  width: 90%;
  top: 3rem;
  transform: translateX(-50%);
  height: calc(100vh - 6rem);
  overflow: scroll;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  padding: 3rem;
}

.popup .close{
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */

/*	Responsivity
/* -------------------------------------------------------------------------- */

/* Tablets landscape */

@media screen and (min-width: 1020px) {
  .header-menu{
    width: 90%;
    max-width: none;
    display: flex;
  }
}

/* Tablets portrait */

@media screen and (max-width: 1020px) {
  .popup {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    width: 80%;
    max-width: auto;
    height: 70vh;
    animation: fadeIn 0.3s;
    border-radius: var(--radius-border);
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
  }

  .close:hover, .close:focus {
    color: black;
  }
}
@media screen and (max-width: 991px) {
  .popup-content{
    width: 90%;
    top: 3rem;
    transform: translateX(-50%);
    height: calc(100vh - 6rem);
    overflow: scroll;
  }
}
