/**************** CORRECTIONS *****************/

@font-face {
    font-family: 'ITC';
    src: url('../fonts/avantgarde_demi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#body {
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ITC', 'Montserrat', 'Helvetica', sans-serif !important;
    letter-spacing: 0px;
}

a, a:hover {
  color: #00537b;
}

.padding-horiz, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body {
  padding-left: 0;
  padding-right: 0;
}


#header #navbar ul.navigation li a,
#header.scrolled #navbar ul.navigation li a {
  color: #00537b;
  font-size: 1.2rem;
}

#header #navbar ul.navigation li a::before, 
#header #navbar ul.navigation li a::after {
  background-color: #d59f00 !important;
}

#header.scrolled #navbar a,
#header.scrolled #navbar a:hover
{
  color: #00537b !important;
}

#header.scrolled #logo img {
  max-height: 50px;
  transition: all 0.5s ease;
  padding: 0.75rem;
}

#header #logo img {
  max-height: 70px;
  transition: all 0.5s ease;
  padding: 1rem;
}

.content {
  padding-left: 7rem;
  padding-right: 7rem;
}

.button {
  color: #00537b;
  border: 1px solid #00537b;
  margin-top: 20px;
  background: transparent;
}

.button:active {
  box-shadow: 0 1px 0 #00537b;
}

.button:hover {
  background: #00537b;
  color: #fff;
}

/******************* FOOTER ******************/
#footer {
  position: relative;
  margin-top: 80px;
  height: auto;
}

#footer .totop {
  bottom: auto; 
  top: -1rem;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
  gap: 100px;
  justify-content: center;
  background-color: #333;
  padding : 1.7rem;
}

.footer-column {

}

.footer-title {
  font-size: 1.3rem;
}

.footer-content {
  text-align: left;
  color: white;
}

#footer .footer-content p {
  top: auto;
  transform: none;
}

#footer a {
	color: #d59f00;
}

/********************* HERO *******************/
.hero {
  position: relative;
  width: 100%;
  /*height: 100vh;*/
  height: 600px;
  overflow: hidden;
}

.hero::before { 
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.2); /* intensité du voile */
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-text {
  position: absolute;
  top: 20%;
  right: 7%;
  color: white;
  word-wrap: break-word;
  max-width: 30vw;
  /* text-shadow: 0 2px 10px rgba(0,0,0,0.6); */
  z-index: 2;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.hero-text h1 {
  font-size: 4rem;
  margin: 0;
}

.hero-text p {
  font-size: 1.3rem;
}

@media (max-width: 1400px) { 
  .hero-text { 
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%); 
    margin: 0 auto; 
    max-width: 80vw; 
    text-align: center; 
  }
}

/********************** SECTION 2 COLONNES ET IMAGE *******************/
.presentation {
  overflow: hidden;
  padding-bottom: 40px;
}

.text-image-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
}

.text-column {
  flex: 1 1 45%;
}

.image-column {
  flex: 1 1 45%;
}

.image-column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.image-ecran {
  width: 80%;
  height: auto;
  margin: 20px auto;
  display: block;
}

.feature-item .button {
  color: black;
  border-color: black;
}

.feature-item .button:hover {
  color: white;
  border-color: #a7bd43;
}

/* Responsive */
@media (max-width: 768px) {
  .presentation {
    padding: 20px;
    text-align: center;
  }
  .text-image-block {
    flex-direction: column;
  }
}

.content {
 paddig-left: 7rem;
 padding-right: 7rem;
}

/******************* FEATURES *******************/
.features-section {
  width: 100%;
  background: #ebebeb; /* gris */
  color: black;
  padding: 40px 0px;
}

.features-wrapper { 
  max-width: 80vw; 
  margin: 0 auto; 
}

.features-title { 
  text-align: center; 
  font-size: 2.5rem; 
  margin-bottom: 60px; 
  font-weight: 400;
  color: #00537b;
}

.features-grid {
  display: grid;
  gap: 40px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

/* Desktop : 3 colonnes */
@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablette : 2 colonnes */
@media (min-width: 800px) and (max-width: 1199px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : 1 colonne */
@media (max-width: 799px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.features-section p { 
  margin: 0 0 1em;
}

.feature-text {
  text-align:left;
}

.feature-icon img {
  display: block;
  width: 80px;
  height: 80px;
  filter: brightness(0) saturate(100%);
  fill: white;
  margin: 0 auto;
/*  margin-bottom: 10px; */
}

/************** SECTION 3 CARDS **********************/
.section_3cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 50px;
  text-align: center;
  padding: 40px 10vw;
  overflow: hidden;
  height: auto;
}

.card-column {
  /* width: 25%; */
  flex: 1 1 25%;   
  border-radius : 0 10%;
  height: auto;
  box-shadow: 3px 5px 4px 1px rgba(0,0,0,0.2);
  border-style: solid;
  border-width: 1px;
  border-color: #c0c0c0;
  background-color: #a8bd44;
  color: black;
  padding: 30px;
  position: relative;
  cursor: pointer;
  transition: all 0.3 ease;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.section_3cards > h2 {
  width: 100%;
  color: #00537b;
  margin: 0 0 40px 0;
  text-align: center;
  display: block;
  font-size: 2.5rem;
  font-weight: 400;
  /* z-index: 0 */
}

.card-column .content-default {
  display: block;
  font-size: 1.8rem;
}

/* contenu affiché */
.card-column .content-hover {
  display: block;
  color: black;
  text-align: left;
}

.card-column button {
  color: black;
  border: 1px solid black;
}

@media (max-width: 1024px) {
  .section_3cards {
    flex-direction: column;
    /* justify-content: center; */
  }

  .card-column {
    width: 100%;
    flex: none;
    max-width: 500px;
    height: auto;
    margin: 0 auto 20px auto;
  }
}

/**************** PAGE *********************/
.content-page {
  position: relative;
  padding: 7rem;
}

.content-page h2 {
 text-align: center;
 padding-bottom: 20px;
 color: #00537b;
}

.alternance-wrapper {
  /*width: 100%;*/
  padding: 60px 0;
  overflow: hidden;
}

.alternance {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /*justify-content: space-between;*/
  align-items: center;
  gap: 80px;
  padding: 0 40px;
}

.text-alternance, .image-alternance {
  flex: 1 1 45%;
}

.image-alternance {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-alternance img {
  max-width: 100%;
  height: auto;
  display: block;
}

.alternance.left .image-alternance {
  order: 1;
}

.alternance.left .text-alternance {
    order: 2;
}

.alternance.right .image-alternance {
    order: 2;
}

.alternance.right .text-alternance {
    order: 1;
}

.button_alternance {
   text-align: center;
}

.button_alternance .button {
   color: black;
   border-color: black;
}

.button_alternance .button:hover {
   color: white;
   border-color: #00537b;
}

@media (max-width: 1023px) {
    .content-page {
        padding: 20px;
    }
    .alternance {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .image-alternance,
    .text-alternance {
        order: unset; /* on annule l’alternance */
        width: 100%;
    }

    .text-alternance ul li {
        text-align: left;
    }

    .image-alternance img {
        max-width: 100%;
    }

    .alternance.left .image-alternance {
         order: 2;
    }

    .alternance.left .text-alternance {
        order: 1;
    }
}

@media (min-width: 1401px) {

    .alternance.right,
    .alternance.left {
        float: none;
    }
}

/******************** CONTACT ********************/
.content-page.contact {
	margin: 0 auto;
  max-width: 1200px; 
}

.form-wrapper {
	margin: 0 auto;
	max-width: 700px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
   border-color: #00537b;
   box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 5px rgba(0, 82, 123, 0.7)
 }
