/*!
Theme Name: STARTEO Starter Theme
Author: Starteo
Author URI: https://www.starteo.pro
Description: 
Version: 1.0
Requires at least: 5.0
Tested up to: 5.7
Requires PHP: 7.2
Text Domain: gbdi-starter
*/

/* Don't overwrite this file. Compile "/assets/main.(less|scss)" to "/assets/css/main.css" */

/* From http://codex.wordpress.org/CSS */

/* GENERAL */
/*
@font-face {
	font-family: "Ganton";
	src: url(assets/_fonts/Ganton.otf) format("opentype");
}
*/

:root {
  font-size: 125%;

  --font-size-12: 0.6rem; /* 12px */
  --font-size-14: 0.7rem; /* 14px */
  --font-size-18: 0.9rem; /* 18px */
  --font-size-base: 1rem; /* 20px */
  --font-size-30: 1.5rem; /* 30px */
  --font-size-40: 2rem; /* 40px */
  --font-size-60: 3rem; /* 60px */

  --font-family: "arial", sans-serif;
  --font-weight-bold: 700;
  --font-style-italic: italic;

  --color-blue: #333278;
  --color-red: #ca322d;
  --color-black: #393939;
  --color-white: #ffffff;
}

@media (max-width: 992px) {
  :root {
    font-size: 112.5%;

    --font-size-60: 2rem;
    --font-size-40: 1.667rem;
    --font-size-30: 1.25rem;
  }
}

body {
  color: var(--color-black);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.3;
}

ul {
  padding-left: 0;
}

.back-to-top {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 10px; /* Place the button at the bottom of the page */
  right: 10px; /* Place the button 30px from the right */
  z-index: 999; /* Make sure it does not overlap */
  outline: none; /* Remove outline */
  cursor: pointer; /* Add a mouse pointer on hover */
  font-size: 20px; /* Increase font size */
  color: var(--color-white);
  background: var(--color-blue);
  padding: 14px 16px;
  transition:
    background-color 0.3s,
    opacity 0.5s,
    visibility 0.5s;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-red);
}

.ercm-title-60 {
  font-size: var(--font-size-60);
}

.ercm-title-40 {
  font-size: var(--font-size-40);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.ercm-intro {
  font-size: var(--font-size-40);
  font-style: var(--font-style-italic);
}

.ercm-label {
  text-transform: uppercase;
  font-size: var(--font-size-14);
}

.ercm-white {
  color: var(--color-white);
}

.ercm-blue {
  color: var(--color-blue);
}

.ercm-bg-blue {
  background-color: var(--color-blue);
}

.ercm-red {
  color: var(--color-red);
}

.ercm-bg-red {
  background-color: var(--color-red);
}

.ercm-page-content {
  padding-top: 100px;
}

.ercm-content strong {
  font-weight: var(--font-weight-bold);
}

.ercm-bold-italic {
  font-weight: var(--font-weight-bold);
  font-style: var(--font-style-italic);
}

.ercm-bold {
  font-weight: var(--font-weight-bold);
}

.ercm-italic {
  font-style: var(--font-style-italic);
}

.ercm-btn-white-transparent {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  border-radius: 26px;
  padding: 11px 31px;
  transition: all 0.3s ease-in-out;
}

.ercm-btn-white-transparent:hover {
  background-color: var(--color-white);
  color: var(--color-red);
}

.ercm-btn-white-blue {
  background-color: transparent;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  border-radius: 26px;
  padding: 11px 31px;
  transition: all 0.3s ease-in-out;
}

.ercm-btn-white-blue:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.ercm-page a {
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
}

.grecaptcha-badge {
  display: none;
}
/* GENERAL */

/* HEADER */
.ercm-header-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.ercm-header {
  background-color: transparent;
  padding-block: 40px;
  border-bottom: 1.5px solid var(--color-white);
}

.ercm-header-home-link img {
  height: 90px;
}

.ercm-header-menu a {
  color: var(--color-white);
  font-size: var(--font-size-base);
}

.ercm-header-menu .navbar-nav {
  gap: 15px;
}
.carret::after {
  display: none;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  background-color: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 8px 20px;
  margin-top: 0;
}

.dropdown-menu .dropdown-item {
  color: var(--color-white);
  font-size: var(--font-size-base);
  padding: 10px 20px;
  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding-left: 28px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
/* HEADER */

/* FOOTER */
.ercm-footer-support-container {
  background-image: url("assets/images/ERCM-BG-Footer.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: auto;
}

.ercm-footer-support-title p {
  margin-bottom: 0;
}

.ercm-footer-support-content {
  font-style: var(--font-style-italic);
}

.ercm-footer-support-separator {
  background-color: var(--color-red);
  width: 1.5px;
  height: 150px;
}

.ercm-footer-support-btn {
  background-color: var(--color-white);
  color: var(--color-blue);
  border-radius: 26px;
  padding: 15px 33px;
  transition: background-color 0.3s ease-in-out;
}

.ercm-footer-support-btn:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.ercm-footer {
  font-size: var(--font-size-base);
  color: var(--color-white);
}

.ercm-footer-logo {
  height: 90px;
}

.ercm-footer-links {
  font-size: var(--font-size-12);
  opacity: 0.4;
}

.ercm-footer-links a {
  color: var(--color-white);
}

.ercm-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ercm-footer-menu a {
  color: var(--color-white) !important;
  opacity: 0.4;
}

.ercm-footer-menu-logo img {
  height: 96px;
  width: 96px;
}
/* FOOTER */

/* HOME */
.ercm-home-banner-image img {
  padding-top: 96px;
}

.ercm-home-banner-slide img,
.ercm-home-banner-image > img {
  width: 100%;
  height: 613px;
  object-fit: cover;
}

.ercm-home-banner-slider .slick-dots {
  bottom: 20px;
}

.ercm-home-banner-slider .slick-dots li button:before {
  color: var(--color-white);
  font-size: 10px;
  opacity: 0.5;
}

.ercm-home-banner-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--color-white);
}

.ercm-home-banner-slide img {
  width: 100%;
  object-fit: cover;
}

.ercm-home-experts-separator {
  background-color: var(--color-white);
  height: 1px;
  width: 95%;
}

.ercm-home-experts-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: repeat(2, 297px);
  gap: 8px;
  height: 100%;
}

.ercm-home-experts-featured {
  grid-row: 1 / 3;
  grid-column: 1;
}

.ercm-home-experts-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.ercm-home-experts-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ercm-home-experts-item:hover img {
  transform: scale(1.05);
}

.ercm-home-experts-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 58, 130, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ercm-home-experts-item:hover .ercm-home-experts-overlay {
  opacity: 1;
}

.ercm-home-experts-title {
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  margin: 0;
}

.ercm-home-experts-decouvrir {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}

.ercm-home-experts-decouvrir:hover {
  color: var(--color-white);
}

.ercm-home-experts-decouvrir svg {
  flex-shrink: 0;
}

.ercm-home-experts-featured .ercm-home-experts-titre {
  align-self: flex-start;
}

.ercm-home-experts-featured .ercm-home-experts-decouvrir {
  align-self: flex-end;
}

.ercm-home-experts-small .ercm-home-experts-decouvrir {
  align-self: flex-end;
  order: -1;
}

.ercm-home-experts-small .ercm-home-experts-titre {
  align-self: flex-start;
}

.ercm-home-approach-intro-container {
  padding-bottom: 95px;
}

.ercm-home-approach {
  width: 100%;
}

.ercm-home-approach-item {
  display: grid;
  grid-template-columns: 30% 1fr 8%;
  grid-template-rows: auto auto;
  border-top: 1px solid var(--color-red);
  padding: 20px 0;
  cursor: pointer;
  position: relative;
}

.ercm-home-approach-item:last-child {
  border-bottom: 1px solid var(--color-red);
}

.ercm-home-approach-index {
  grid-column: 1;
  grid-row: 1;
  color: var(--color-red);
}

.ercm-home-approach-title {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  text-align: left;
  font-size: var(--font-size-40);
  font-weight: var(--font-weight-bold);
  color: var(--color-blue);
  margin: 0;
}

.ercm-home-approach-arrow {
  position: absolute;
  top: 20px;
  right: 0;
  color: var(--color-blue);
  transition: transform 0.3s ease;
  z-index: 10;
}

.ercm-home-approach-item:hover .ercm-home-approach-arrow {
  transform: rotate(180deg);
}

.ercm-home-approach-body {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 40px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.ercm-home-approach-item:hover .ercm-home-approach-body {
  max-height: 400px;
  padding-top: 20px;
}

.ercm-home-approach-content {
  flex: 1;
}

.ercm-home-approach-intro {
  color: var(--color-red);
  font-weight: var(--font-weight-bold);
  margin-bottom: 10px;
}

.ercm-home-approach-separator {
  flex: 1;
  height: 1px;
  background-color: var(--color-blue);
}

.ercm-home-approach-image {
  flex: 1;
}

.ercm-home-approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.ercm-home-rea-separator {
  background-color: var(--color-white);
  height: 1px;
  width: 100%;
  margin-bottom: 40px;
}

.ercm-home-rea-decouvrir {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 40px;
}

.ercm-home-rea-decouvrir:hover {
  color: var(--color-white);
}

.ercm-home-rea-decouvrir svg {
  flex-shrink: 0;
}

.ercm-home-rea-slider {
  display: flex;
  gap: 16px;
}

.ercm-home-rea-slide {
  position: relative;
  flex: 0 0 28%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  transition: flex 0.5s ease;
  cursor: pointer;
}

.ercm-home-rea-slide:hover {
  flex: 0 0 45%;
}

.ercm-home-rea-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ercm-home-rea-overlay {
  position: absolute;
  inset: 0;
  background: transparent linear-gradient(180deg, #ca312c00 0%, #ca312c 100%) 0%
    0% no-repeat padding-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ercm-home-rea-slide:hover .ercm-home-rea-overlay {
  opacity: 1;
}

.ercm-home-rea-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ercm-home-rea-lieu,
.ercm-home-rea-date {
  color: var(--color-white);
  font-size: var(--font-size-12);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ercm-home-rea-overlay-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ercm-home-rea-title {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-18e);
  margin: 0;
}

.ercm-home-rea-contenu {
  color: var(--color-white);
  font-size: 16px;
  font-style: var(--font-style-italic);
  margin: 0;
}

.ercm-home-rea-lien {
  color: var(--color-white);
  font-size: 24px;
  text-decoration: none;
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ercm-home-rea-decouvrir svg {
  flex-shrink: 0;
}
/* HOME */

/* PAGE - ENTREPRISE */
.ercm-company-separator {
  background: var(--color-red);
  height: 1px;
  width: 100%;
}

.ercm-company-history-title {
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
}

.ercm-company-history-container {
  padding-bottom: 167px;
}

.ercm-company-history-grid {
  display: flex;
  gap: 0;
}

.ercm-company-history-col {
  flex: 1;
  padding: 0 45px;
  border-left: 1px solid var(--color-red);
}

.ercm-company-history-col:first-child {
  border-left: none;
  padding-left: 0;
}

.ercm-company-history-col p,
.ercm-company-history-col li {
  color: var(--color-white);
}

.ercm-company-history-col ul {
  padding-left: 16px;
}

.ercm-company-history-image {
  height: 700px;
  background-attachment: fixed;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 !important;
}

.ercm-company-numbers {
  display: flex;
  gap: 16px;
}

.ercm-company-numbers-item {
  flex: 1;
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 33px 30px 28px 32px;
  display: flex;
  flex-direction: column;
}

.ercm-company-numbers-picto {
  min-height: 143px;
  display: flex;
  align-items: center;
  justify-content: end;
}

.ercm-company-numbers-picto img {
  height: auto;
  max-height: 143px;
  width: auto;
}

.ercm-company-numbers-number {
  font-size: var(--font-size-40);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.ercm-company-numbers-desc {
  font-size: var(--font-size-18);
}

.ercm-company-values-item {
  padding-bottom: 68px;
}

.ercm-company-values-item-title {
  min-width: 177px;
}

.ercm-company-values-image {
  margin-left: 72px;
  height: 1156px;
  border-radius: 10px;
}

.ercm-company-values-content-container {
  margin-right: 80px;
}

.ercm-company-values-image-container {
  border-left: 1px solid var(--color-red);
}
/* PAGE - ENTREPRISE */

/* PAGES - APPROCHE */
.ercm-approach-banner-title {
  font-size: var(--font-size-40);
  border-bottom: 1.5px solid var(--color-red);
  line-height: 1.125;
}

.ercm-approach-expert {
  font-size: var(--font-size-30);
  font-style: var(--font-style-italic);
  padding-bottom: 100px;
}

.ercm-expertise-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.ercm-expertise-image-small {
  padding-right: 85px !important;
}

.ercm-expertise-desc-title {
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
}

.ercm-expertise-desc-intro {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-red);
}

.ercm-expertise-desc-content {
  padding-top: 15px;
}

.ercm-expertise-desc-content strong {
  color: var(--color-blue);
  font-weight: var(--font-weight-bold);
}

.ercm-expertise-desc-item {
  flex: 1;
}

.ercm-expertise-desc-item-columns + .ercm-expertise-desc-item-columns {
  border-left: 1px solid var(--color-red);
  padding-left: 50px;
}
/* PAGES - APPROCHE */

/* PAGES  NOS EXPERTISES */
.page-id-26 .ercm-experts-banner-bg {
  background-image: url("assets/images/ERCM-BG-Charpente.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 979px;
  width: 100%;
}

.page-id-28 .ercm-experts-banner-bg {
  background-image: url("assets/images/ERCM-BG-Couverture.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 979px;
  width: 100%;
}

.page-id-30 .ercm-experts-banner-bg {
  background-image: url("assets/images/ERCM-BG-Bardage.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 979px;
  width: 100%;
}

.page-id-32 .ercm-experts-banner-bg {
  background-image: url("assets/images/ERCM-BG-Metallerie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 979px;
  width: 100%;
}

.page-id-34 .ercm-experts-banner-bg {
  background-image: url("assets/images/ERCM-BG-Serrurerie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 979px;
  width: 100%;
}

.ercm-experts-banner-container {
  padding-block: 150px;
}

.ercm-experts-banner-title {
  font-size: var(--font-size-40);
  line-height: 1.125;
}

.ercm-experts-banner-intro {
  margin-top: 50px;
  border-left: 1.5px solid var(--color-red);
  padding-left: 52px;
}

.ercm-experts-banner-image {
  border-radius: 10px;
  height: 504px;
  width: auto;
  object-fit: cover;
}

.ercm-experts-separator {
  background-color: var(--color-red);
  height: 1px;
  width: 100%;
  margin-bottom: 70px;
}

.ercm-experts-approach-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ercm-experts-approach-tab {
  cursor: pointer;
  padding-right: 24px;
}

.ercm-experts-approach-tab-index {
  color: var(--color-red);
  display: block;
  margin-bottom: 8px;
}

.ercm-experts-approach-tab-title {
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  margin-bottom: 60px;
}

.ercm-experts-approach-tab.active .ercm-experts-approach-tab-title,
.ercm-experts-approach-tab:hover .ercm-experts-approach-tab-title {
  color: var(--color-red);
}

.ercm-experts-approach-tab-border {
  height: 6px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  width: 273px;
  margin-left: 48px;
}

.ercm-experts-approach-tab.active .ercm-experts-approach-tab-border,
.ercm-experts-approach-tab:hover .ercm-experts-approach-tab-border {
  background-color: var(--color-red);
}

.ercm-experts-approach-panel {
  display: none;
  flex-direction: row;
  gap: 24px;
  padding-top: 32px;
}

.ercm-experts-approach-panel-header {
  display: none;
}

.ercm-experts-approach-panel.active {
  display: flex;
}

.ercm-experts-approach-panel-content strong {
  color: var(--color-blue);
  font-weight: var(--font-weight-bold);
}

.ercm-experts-approach-panel-image {
  width: 100%;
  height: 419px;
  border-radius: 10px;
  object-fit: cover;
}

.ercm-experts-approach-zone {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 124px;
}

.ercm-experts-approach-zone p {
  color: var(--color-red);
  font-style: italic;
  font-weight: var(--font-weight-bold);
  margin: 0;
}

.ercm-expert-standard-subtitle {
  font-size: var(--font-size-30);
  font-style: var(--font-style-italic);
  padding-bottom: 80px;
}

.ercm-expert-standard-image {
  border-radius: 10px;
  height: 504px;
  width: auto;
}

.ercm-expert-standard-intro {
  border-bottom: 1.5px solid var(--color-red);
  margin-bottom: 34px;
}

.ercm-expert-standard-content strong {
  color: var(--color-blue);
  font-weight: var(--font-weight-bold);
}
/* PAGES  NOS EXPERTISES */

/* PAGE - NOS REALISATIONS */
.ercm-rea-separator {
  background-color: var(--color-red);
  height: 1px;
  width: 100%;
}

.ercm-rea-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 24px;
}

.ercm-rea-filter {
  background: transparent;
  border: 1px solid var(--color-white);
  border-radius: 26px;
  padding: 10px 25px;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ercm-rea-filter.active,
.ercm-rea-filter:hover {
  background-color: var(--color-white);
  color: var(--color-red);
}

.ercm-rea-grid {
  display: flex;
  flex-direction: column;
  gap: 65px;
}

.ercm-rea-row {
  display: grid;
  gap: 80px;
  height: 400px;
}

.ercm-rea-row--portrait-right {
  grid-template-columns: 549px 549px 297px;
}

.ercm-rea-row--portrait-center {
  grid-template-columns: 549px 297px 549px;
}

.ercm-rea-row--portrait-left {
  grid-template-columns: 297px 549px 549px;
}

/* Items */
.ercm-rea-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
  display: block;
  text-decoration: none;
}

.ercm-rea-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ercm-rea-item:hover img {
  transform: scale(1.05);
}

.ercm-rea-plus {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 20px;
  flex-shrink: 0;
}
/* Overlay */
.ercm-rea-overlay {
  position: absolute;
  inset: 0;
  background: transparent linear-gradient(180deg, #33327800 0%, #333278 100%) 0%
    0% no-repeat padding-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ercm-rea-item:hover .ercm-rea-overlay {
  opacity: 1;
}

.ercm-rea-overlay-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.ercm-rea-lieu {
  color: var(--color-white);
  font-size: var(--font-size-12);
  text-transform: uppercase;
}

.ercm-rea-date {
  color: var(--color-white);
  font-size: var(--font-size-12);
}

.ercm-rea-overlay-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ercm-rea-titre {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-18);
  margin: 0;
}

.ercm-rea-description {
  color: var(--color-white);
  font-size: 16px;
  font-style: var(--font-style-italic);
  margin: 0;
}

.ercm-rea-item.hidden {
  display: none;
}

.ercm-rea-row.hidden {
  display: none;
}

.ercm-rea-btn-seprator {
  background-color: var(--color-white);
  height: 1px;
  width: 95%;
}

.ercm-rea-btn {
  background: transparent;
  border: 1px solid var(--color-white);
  border-radius: 26px;
  padding: 12px 35px;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ercm-rea-btn:hover {
  background-color: var(--color-white);
  color: var(--color-red);
}
/* PAGE - NOS REALISATIONS */

/* PAGE - CONTACT */
.ercm-contact-infos {
  padding-top: 100px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7-select,
.wpcf7 textarea {
  width: 100%;
}

::placeholder,
textarea,
label,
select,
input {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-style: var(--font-style-italic);
  color: var(--color-white);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
  border: none;
  background-color: transparent;
  border-bottom: 1.5px solid var(--color-red);
  padding-bottom: 15px;
  outline: none !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  color: var(--color-white) !important;
}

textarea {
  height: 100px;
}

.select.ercm-contact-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.ercm-contact-select option {
  background-color: var(--color-blue);
  font-family: var(--font-size-base);
  font-size: var(--font-size-base);
  color: var(--color-white);
}

.ercm-contact-select option:first-child {
  display: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.wpcf7-form input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--color-white);
  border-radius: 26px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  color: var(--color-white);
  padding: 12px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input.wpcf7-submit:hover {
  background-color: var(--color-white);
  color: var(--color-red);
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-file {
  display: none;
}

.wpcf7-form-control-wrap[data-name="fichier"]::before {
  content: "Choisir un fichier";
  display: inline-block;
  background: transparent;
  border: 1px solid var(--color-red);
  border-radius: 24px;
  padding: 8px 20px;
  color: var(--color-white);
  font-style: italic;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-form-control-wrap[data-name="fichier"]:hover::before {
  background: var(--color-red);
}

.ercm-file-name {
  color: var(--color-white);
  font-style: italic;
  font-size: var(--font-size-18);
  opacity: 0.7;
  margin-left: 12px;
}
/* PAGE - CONTACT */

/* PAGE - NOUS REJOINDRE */
.ercm-job-title {
  font-size: var(--font-size-40);
  line-height: 1.125;
}

.ercm-job-separator {
  background-color: var(--color-red);
  width: 100%;
  height: 1px;
  margin-bottom: 100px;
}

.ercm-job-content {
  border-top: 1px solid var(--color-red);
  padding-top: 30px;
  margin-bottom: 60px;
}

.ercm-job-form-separator {
  background-color: var(--color-white);
  width: 1px;
  height: 685px;
}

/* PAGE - NOUS REJOINDRE */
