/*!
Theme Name: wpbase
Theme URI: http://equipelebleu.com
Author: LEBLEU
Author URI: http://equipelebleu.com
Version: 1.0.0
Text Domain: wpbase
*/
:root {
	--rouge: #db0612;
	--noir: #0d0d0d;
	--grispale: #f4f4f4;
	--grismed: #9f9f9f;
	--blanc: #fff;
}

h2, .section-title h2 {
	width: 100%;
	display: block;
	font-size: 60px;
	font-weight: 800;
	color: var(--rouge);
	text-transform: uppercase;
	margin-top: 0;
    margin-bottom: 24px;
}
h3, .side-content h3 {
	width: 100%;
	display: block;
	font-size: 50px;
	font-weight: 700;
	color: var(--rouge);
	text-transform: uppercase;
}

h4{
	width: 100%;
	display: block;
	font-size: 36px;
	font-weight: 700;	
	text-transform: uppercase;
}

.content-section {
	padding:100px 0 !important;
}

.page-contact h6 {
	margin: 0;
	text-transform: uppercase;
	font-size: 1rem;
}

.light h1,
.light h2,
.light h3,
.light h4,
.light h5,
.light h6 {
	color: var(--blanc) !important;
}
.page-header {
    width: 100%;
    height: 500px;
    max-height: unset;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    position: relative;
    background-size: cover !important;
    padding-top: 100px;
}
.accordeon {
	background-color: var(--grispale);
	margin-bottom: 45px;
	text-decoration: none;
	padding: 3rem;
}
.accordeon .accent-ligne {
	display: block;
	color: var(--rouge);
	border: none;
	border-bottom: solid;
	border-width: 6px;
	width: 100px;
	margin-top: 15px;
	margin-bottom: 20px;
}
.tab-wrapper .tab-item .tab-inner {
	width: 100%;
	display: flex;
	position: relative;
	background: var(--noir);
	flex-direction: column;
}
.tab-wrapper .tab-item .tab-inner ul {
	width: 100%;
	height: auto;
	overflow: auto;
	float: left;
	color: var(--blanc);
	margin: 0;
	padding: 45px;
}
.tab-wrapper .tab-item .tab-inner figure .d-flex {
	width: 100%;
	height: 100%;
}
.contact-box li h6 {
	width: auto;
	display: inline-block;
	color: var(--rouge);
	padding-right: 25px;
	margin: 0;
}
.contact-box li a {
	text-decoration: none;
}
.premiereLettreLarge::first-letter {
  font-size: 48px;
	letter-spacing:7px;
}
.class-box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	flex-direction: column;
	align-items: center;
}
.class-box>div {
margin-bottom: 25px;
}
/* CLASS BOX */
.class-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}
.class-box:hover figure img {
  opacity: 0.75;
  transform: scale(1.05);
}
#valeurs .class-box figure {
padding: 0 3.5em;
  width: 100%;
  display: block;
  margin-bottom: 20px;
  background: var(--rouge);
  overflow: hidden;
}
.class-box figure img {
  width: 100%;
  -webkit-transition: all .35s ease-in-out;
  -moz-transition: all .35s ease-in-out;
  -ms-transition: all .35s ease-in-out;
  -o-transition: all .35s ease-in-out;
  transition: all .35s ease-in-out;
}
.class-box h6 {
  width: 100%;
  display: block;
  font-size: 30px;
  font-weight: 800;
}
.class-box small {
  width: 100%;
  display: block;
  font-size: 16px;
  opacity: 1/*0.7*/ !important;
}
span.lettrine {
	font-size: 72px;
	font-weight: 700;
}
.recent-news .content {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	padding: 40px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}
footer .custom-button {
  margin: 35px 0 ;

}
.footer .footer-social {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 0;
    flex-direction: row;
    justify-content: center;
}
.footer .footer-social li {
	display: inline-block;
	margin: 0 5px;
	padding: 0;
	list-style: none;
}

.bg-rouge + .bg-rouge,
.bg-blanc + .bg-blanc, 
.bg-noir + .bg-noir,
.bg-grispale + .bg-grispale {
	padding-top:0 !important;
}
.bg-blanc.no-spacing + .bg-blanc{
	padding-top:100px !important;
}
.bg-blanc.no-spacing + .bg-blanc.no-spacing{
	padding-top:0 !important;
}

.coordonnee {
	background-color: var(--grispale);
	height:100%;
	text-decoration: none;
	padding: 3rem;
}
.coordonnee .accent-ligne {
	display: block;
	color: var(--rouge);
	border: none;
	border-bottom: solid;
	border-width: 6px;
	width: 100px;
	margin-top: 15px;
	margin-bottom: 20px;
}

.v2 .section-title {
	margin-bottom:15px;
}

.v2 .font-large {
	font-size:22px;
}

.v2 h3, 
.v2 .side-content h3 {
	font-size:40px;
}

.side-content {
	padding-top:60px;
	padding-bottom:60px;
}

.navbar .navbar-button a {
	letter-spacing: 0 !important;
}

.page-header.v2 {
	height:550px;
}

.v2 h1 {
	margin-bottom:10px;
}

.v2 .custom-button {
	margin-top:15px !important;
}

.page-header.v2 .container p {
	font-size:22px;
}

.side-image .side-timetable li span {
	font-size:22px;
}

.side-image .side-timetable.STright,
.side-image .side-timetable.STleft {
	padding:30px !important;
}

.side-image img {
	height: 60vh !important;
}

.no-spacing {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form.sent p,
.wpcf7-form.sent input {
	display:none !important;

}

.collapse.show {
	display:block !important;
}

a.side-link {
	font-size: 22px;
	color: var(--rouge);
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
}

a.side-link:hover {
	color: #FFF;
	text-decoration: none;
}

@media screen and ( max-width:991px ){
	h2, .section-title h2 {
		font-size:8vw !important;
	}

	h1 {
		font-size:12vw !important;
	}

	.page-header.v2 {
		height:500px !important;
	}

	.bg-grispale h3 {
		padding-top: 40px !important;
	}

	.reverse {
		flex-direction: column-reverse;
	}

	.side-image .side-timetable.STright {
		right:0 !important;
	}
	.side-image .side-timetable.STleft {
		left:0 !important;
	}

	.bg-blanc + .no-spacing .side-content { 
		padding-top:0 !important;
	}
}

/*.section-photo + .section-photo {
	margin-top: -100px;
}*/

.carousel-control-prev {
	left: -10% !important;
}
.carousel-control-next {
	right: -10% !important;
}

.bg-blanc .carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23db0612' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}
.bg-blanc .carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23db0612' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

#carouselExampleIndicators .carousel-item {
    position: relative;
}

#carouselExampleIndicators .realisation-caption {
    position: absolute;
    inset: auto 16% 48px;
    z-index: 2;
    padding: 0;
    background: none;
    text-align: left;
    pointer-events: none;
}

#carouselExampleIndicators .realisation-title {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 14px 20px;

    background: rgba(0, 0, 0, 0.9);
    border-left: 4px solid #db0612;
    border-radius: 3px;

    color: #fff;
    font-size: clamp(18px, 2.3vw, 30px);
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    text-shadow: none;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    #carouselExampleIndicators .realisation-caption {
        inset: auto 12% 36px;
        padding: 0;
    }

    #carouselExampleIndicators .realisation-title {
        padding: 8px 12px;
        font-size: 16px;
        line-height: 1.3;
    }
}

.light a:hover{
  color:#db0612 !important;
}

.side-content *{
  text-align: justify !important;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 991px){
	h3, .v2 h3,
	.v2 .side-content h3 {
		font-size: 7vw !important;
	}
	.class-box h6 {
		font-size: 6vw !important;	}
	#topbutton {
		display: none;
		position: fixed;
		bottom: 5px;
		right: 9.8vw;
		z-index: 5;
		width: 60px;
		height: 60px;
		line-height: 60px;
		border: none;
		outline: none;
		background-color: var(--rouge);
		color: white;
		cursor: pointer;
		padding: 0;
		font-size: 23px;
	}
	.carousel-control-next,
	.carousel-control-prev{
		display: none !important;
	}
}
.grecaptcha-badge {
	visibility: hidden;
}

.footer p.copyright.privacy-link a {
	color: #fff;
}

.footer p.copyright.privacy-link a:hover {
	color: var(--rouge);
}

.noticecookies {
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 999999;
	background: var(--rouge);
	color: var(--noir);
	padding: 20px 0;
  }
  
  .noticecookies .container>div {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
  }
  
  .noticecookies .texte {
	padding-right: 50px;
	max-width: 80%;
	color: #fff;
  }
  
  .noticecookies .texte p {
	color: #fff;
  }
  
  .noticecookies .texte a {
	text-decoration: underline;
	color: #fff;
  } 
  
  .noticecookies .btn {
	display: inline-block;
	font-size: 16px;
	border: 2px solid #fff;
	color: #fff;
	font-weight: 700;
	border-radius: 0px !important;
	padding: 18px 26px;
	line-height: 14px;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 -3px rgba(0, 0, 0, 0.3) inset;
	text-align: center;
	transition: all ease .3s;
	cursor: pointer;
  }
  
  .noticecookies .btn:hover {
	background-color: #fff;
	color: var(--rouge);
  }

  .check-privacy {
	display: block;
	margin-top: 1rem;
  }

  .check-privacy .wpcf7-list-item {
	margin-left: 0;
  }

  .titre-equipe {
	text-transform: uppercase;
	font-weight: 600;
  }

  @media screen and (max-width: 767px) {
	.noticecookies .container>div {
	  flex-wrap: wrap;
	  gap: 16px;
	}
  
	.noticecookies .texte {
	  max-width: 100%;
	  padding-right: 0;
	}
  }

.anchors {
  scroll-margin-top: 100px;
}


html {
  scroll-behavior: smooth;
}

.pb-0{
	padding-bottom:0px !important;
}

@media (min-width: 992px) {
  section.content-section .row:has(figure.side-image) {
    align-items: stretch !important;
  }

  section.content-section .col-lg-6:has(> figure.side-image) {
    position: relative;
  }

  section.content-section figure.side-image.full-left,
  section.content-section figure.side-image.full-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50vw;
    height: 100%;
    margin: 0;
  }

  section.content-section figure.side-image.full-left {
    right: 0;
    left: auto;
  }

  section.content-section figure.side-image.full-right {
    left: 0;
    right: auto;
  }

  section.content-section figure.side-image > img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
}

/* G4 R&D — contact form */
#contact_form {
  --g4-red: #db0612;
  --g4-ink: #0d0d0d;
  --wpforms-button-background-color: var(--g4-red);
  --wpforms-button-text-color: #fff;
  --wpforms-field-border-radius: 0px;
  --wpforms-button-border-radius: 0px;

  width: 100%;
  max-width: 760px;
  margin: 40px auto;
  text-align: left;
  font-family: inherit;
}

/* Comfortable spacing without changing WPForms' hidden fields */
#contact_form .wpforms-field {
  padding-top: 0;
  padding-bottom: 24px;
}

/* Labels */
#contact_form .wpforms-field-label {
  margin-bottom: 10px;
  color: var(--g4-ink);
  font-size: 17px;
  font-weight: 700;
  text-align: left !important;
  line-height: 1.4;
}

#contact_form .wpforms-required-label {
  color: var(--g4-red);
}

/* Let the name, email and message use the available width */
#contact_form .wpforms-field-row,
#contact_form input[type="text"]:not([aria-hidden="true"]):not(.dropzone-input),
#contact_form input[type="email"],
#contact_form textarea {
  max-width: 100%;
}

/* Text fields */
#contact_form input[type="text"]:not([aria-hidden="true"]):not(.dropzone-input),
#contact_form input[type="email"],
#contact_form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  background: #f7f7f7;
  color: var(--g4-ink);
  box-shadow: none;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
  transition: border-color 160ms ease, background-color 160ms ease;
}

#contact_form textarea {
  min-height: 180px;
  resize: vertical;
}

/* Visible keyboard focus */
#contact_form input:focus,
#contact_form textarea:focus {
  border-color: var(--g4-red);
  background-color: #fff;
  outline: 2px solid var(--g4-red);
  outline-offset: 3px;
  box-shadow: none;
}

#contact_form .wpforms-field-sublabel {
  margin-top: 7px;
  color: #606060;
  font-size: 14px;
}

/* File upload */
#contact_form .wpforms-uploader {
  max-width: 100%;
  padding: 24px 18px;
  border: 1px dashed #999;
  border-radius: 0;
  background: #f7f7f7;
  text-align: center;
}

#contact_form .wpforms-uploader:hover,
#contact_form .wpforms-uploader:focus-within {
  border-color: var(--g4-red);
  background: #fff;
}

#contact_form .dz-message svg {
  color: var(--g4-red);
}

#contact_form .modern-title {
  color: #454545;
  font-family: inherit;
  font-size: 16px;
}

#contact_form .modern-title > span {
  color: var(--g4-red);
  text-underline-offset: 3px;
}

/* Consent */
#contact_form .wpforms-field-label-inline {
  color: #454545;
  font-size: 15px;
  line-height: 1.6;
}

#contact_form input[type="checkbox"] {
  accent-color: var(--g4-red);
}

/* Submit button */
#contact_form .wpforms-submit-container {
  padding-top: 8px;
  text-align: left;
}

#contact_form .wpforms-submit {
  min-width: 180px;
  height: auto;
  padding: 16px 32px;
  border: 2px solid var(--g4-red);
  border-radius: 0;
  background: var(--g4-red);
  color: #fff;
  box-shadow: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease;
}

#contact_form .wpforms-submit:hover {
  border-color: var(--g4-ink);
  background: var(--g4-ink);
}

#contact_form .wpforms-submit:focus-visible {
  outline: 2px solid var(--g4-ink);
  outline-offset: 4px;
}

#contact_form .wpforms-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Validation */
#contact_form input.wpforms-error,
#contact_form textarea.wpforms-error {
  border-color: var(--g4-red);
}

#contact_form label.wpforms-error {
  color: var(--g4-red);
}

/* Mobile */
@media (max-width: 600px) {
  #contact_form {
    margin: 28px auto;
  }

  #contact_form .wpforms-field-name .wpforms-field-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  #contact_form .wpforms-field-name .wpforms-field-row-block {
    float: none;
    width: 100%;
    margin: 0;
  }

  #contact_form .wpforms-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #contact_form * {
    transition: none !important;
  }
}

@media (max-width: 991px) {
  /* Keep anchor headings below the compact header. */
  .anchors { scroll-margin-top: 80px; }

  /* Replace 5vh: a predictable header and usable touch target. */
  #mainmenu.sticky,
  #mainmenu.sticky > .container { height: 64px; }
  #mainmenu.sticky .logo {
    height: auto;
    padding: 0;
  }
  #mainmenu.sticky .logo img {
    display: block;
    width: 100px;
    height: 35px;
    object-fit: contain;
  }
  #mainmenu.sticky::before { display: none; }

  .hamburger-menu {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
  }
  .hamburger-menu span { left: 7px; width: 30px; }
  .hamburger-menu span:nth-child(1) { top: 12px; width: 30px; }
  .hamburger-menu span:nth-child(2) { top: 21px; width: 22px; }
  .hamburger-menu span:nth-child(3) { top: 30px; width: 30px; }
  .hamburger-menu:hover span { width: 30px !important; }
  .hamburger-menu.open span:nth-child(1),
  .hamburger-menu.open span:nth-child(3) {
    top: 21px;
    left: 7px;
    right: auto;
  }
  .hamburger-menu.open span:nth-child(2) { left: 7px; }
  .hamburger-menu:focus-visible {
    outline: 2px solid #db0612;
    outline-offset: 3px;
  }

/* Active section: red text with an underline */
#mainmenu .site-menu li > a.is-active,
.side-widget .site-menu li > a.is-active {
  color: #db0612 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

  /* Animate transform instead of left; keep drawer scrollable. */
  .side-widget {
    left: 0;
    width: 360px;
    max-width: calc(100vw - 64px);
    height: 100vh;
    height: 100dvh;
    padding: 24px;
    transform: translateX(-110%);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms;
  }
  .side-widget.active {
    transform: translateX(0);
    visibility: visible;
  }
  .side-widget .inner {
    width: 100%;
    align-content: flex-start;
    overscroll-behavior-y: contain;
  }
  .side-widget .logo { margin-bottom: 16px; }
  .side-widget .logo img {
    display: block;
    width: 140px;
    max-width: 100%;
    height: auto;
  }
  .side-widget .site-menu ul li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    line-height: 1.25;
  }

  /* svh avoids resizing content as the phone toolbar expands/collapses. */
  .slider, .slider .main-slider {
    height: 100vh;
    height: 100svh;
  }
  .side-image img {
    height: 60vh !important;
    height: 60svh !important;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .side-widget, .hamburger-menu, .hamburger-menu span {
    transition: none !important;
  }
}