/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme
 Author:       Paul Fleury
 Author URI:   https://paulfleury.fr
 Template:     generatepress
 Version:      0.1
*/

/* ===== MODERN NORMALIZE ===== */
 
*,
::before,
::after {
  box-sizing: border-box;
}
 
html {
  font-family: system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
 
body {
  margin: 0;
}
 
b,
strong {
  font-weight: bolder;
}
 
code,
kbd,
samp,
pre {
  font-family: ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;
  font-size: 1em;
}
 
small {
  font-size: 80%;
}
 
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
 
sub {
  bottom: -0.25em;
}
 
sup {
  top: -0.5em;
}
 
table {
  border-color: currentcolor;
}
 
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
 
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
 
legend {
  padding: 0;
}
 
progress {
  vertical-align: baseline;
}
 
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
 
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
 
::-webkit-search-decoration {
  -webkit-appearance: none;
}
 
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
 
summary {
  display: list-item;
}

iframe {
	display: block;
}

/* ==== SLIDING NAV ==== */

@media (min-width: 767px) {
	.gb-menu {
	  position: relative;
	}

	.gb-menu-item {
	  position: relative;
	  z-index: 1;
	}

	.gb-menu-link {
	  position: relative;
	  display: block;
	  padding: 10px 20px;
	  transition: color 0.3s ease;
	  z-index: 1;
	}

	/* Le background glissant */
	.gb-menu-bg-slider {
	  position: absolute;
	  top: 0;
	  left: 0;
	  height: 100%;
	  background: white;
	  border-radius: 99px;
	  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	  opacity: 0;
	  z-index: 0;
	  pointer-events: none;
	}

	/* Désactiver la transition au chargement */
	.gb-menu-bg-slider.no-transition {
	  transition: none;
	}

	.gb-menu-bg-slider.active {
	  opacity: 1;
	}
}

/* ==== BREADCRUMB ==== */

.breadcrumb-wrapper .breadcrumb-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
}

/* ==== BUTTON ==== */

.btn-primary {
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
  	transition-duration: 0.3s;
  	transition-property: transform, background;
  	transition-timing-function: ease-out;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  	transform: translateY(-8px);
	color: var(--white);
	background-color: #107295;
}