/*
 Theme Name:     Laetitia Gary
 Theme URI:      https://cestnous.fr
 Description:    Child Theme
 Author:         C'est Nous
 Author URI:     https://cestnous.fr
 Template:       Divi
 Version:        1.0.0
*/


/* GENERAL */

:root {
  --font-body: "Oxygen", sans-serif;
  --font-title: "Parkinsans", sans-serif;
  --font-icon: Material Symbols Outlined;

  --x-small: 12px;
  --small: 14px;
  --x-large: 32px;
  --xx-large: 120px;

  --size-body: 16px;
  --size-title-h1: 35px;
  --size-title-h2: 45px;
  --size-title-h3: 30px;
  --size-title-h4: 18px;

  --regular: 400;
  --medium: 500;
  --bold: 700;

  --transition: all ease-in-out 500ms;

  --light-orange : #FFFBF5;
  --orange : #F7AE50;
  --d-orange : #E58202;
  --vert : #B5B752;
  --bleu : #0093AF;
  --rose : #E0A28F;
  --black : #242019;


  --module-gutter: 40px;
}

@media (max-width: 980px) {
  :root {
    
  }
}

body {
  font-family: var(--font-body);
  font-weight: var(--regular);
  font-size: var(--size-body);
  background: var(--light-orange);
}

h1, h2, h3, h4 {
  margin-top: 0;
  padding: 0;
  font-weight: var(--bold);
  font-family: var(--font-title);
  line-height: 1.2em;
  margin-bottom: 15px;
}

h1 {
  font-size: var(--size-title-h1) !important;
}

h2 {
  font-size: var(--size-title-h2) !important;
  margin-bottom: 25px;
  color: var(--rose) !important;
}

h3 {
  font-size: var(--size-title-h3) !important;
}

h4 {
  color: var(--rose) !important;
  margin-bottom: 5px !important;
  font-size: var(--size-title-h4) !important;
}

h5 {
    font-size: var(--size-body) !important;
    font-weight: var(--bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0;
  line-height: 1.6;
}

a {
  transition: var(--transition);
}

li::marker {
    color: var(--accent);
}

.material-symbols-outlined {
  font-weight: 200;
}

.container {
  width: 95%;
  max-width: 1680px;
  margin: auto;
}

.et_pb_section {
  background: transparent;
}

.container-fluid {
  width: 100% !important;
  max-width: 100%;
}

body.et_pb_button_helper_class .et_pb_button, body.et_pb_button_helper_class .et_pb_module.et_pb_button {
    background: var(--rose);
    border: none;
    border-radius: 100px !important;
    color: var(--light-orange);
    font-family: var(--font-title);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    padding: 10px 5px 10px 20px !important;
}

body.et_pb_button_helper_class .et_pb_button:after, body.et_pb_button_helper_class .et_pb_module.et_pb_button:after {
    content: '\e5c8';
    position: relative;
    display: block;
    opacity: 1;
    background: var(--light-orange);
    font-family: var(--font-icon) !important;
    color: var(--rose);
    transform: none;
    border-radius: 100px;
    font-size: 20px;
    padding: 5px;
    top: initial;
}

a.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module.btn_white {
    background: var(--light-orange);
    color: var(--orange);
}

a.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module.btn_white:after {
    background: var(--orange);
    color: var(--light-orange);
}

body.et_pb_button_helper_class .et_pb_button:hover, body.et_pb_button_helper_class .et_pb_module.et_pb_button:hover {
    background: var(--orange);
}

@media (max-width: 980px) {
  .container, .et_pb_row {
    width: 95% !important;
  }
}

/* HEADER */

.mainHeader {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background: var(--cream);
  transition: all ease-in-out 0.5s;
}

.menu_head {
  justify-content: space-between;
  padding: 20px 0;
  background: var(--light-orange);
  padding: 15px 20px 15px 10px;
  margin-top: 15px;
  border-radius: 300px;
}

.menu_left, #menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.logo {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
}

.logo a > img {
  max-width: 110px;
  width: 110px;
}

header .menu-item a {
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

header .menu-item a:hover {
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: var(--accent);
  text-decoration-style: solid;
  text-decoration-thickness: 2px;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.nav-container p {
    margin-bottom: 0;
    font-family: var(--font-title);
    color: var(--orange);
    font-weight: var(--bold);
}

.logo {
  max-width: 150px;
}

.nav-container .menu-items {
  display: flex;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 16px;
  right: 13px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 20px;
  width: 25px;
  position: absolute;
  top: 25px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--orange);
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .menu-items {
    height: 85vh;
    width: 90vw;
    transform: translate(-175%, 48vh);
    flex-direction: column;
    margin-left: 0px;
    padding: 25px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    background: var(--light-orange);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 25px;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translate(0vw, 48vh);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}

.btn_head a {
  background: var(--accent);
  padding: 15px 20px !important;
  font-size: var(--small);
  text-transform: uppercase;
  font-weight: var(--medium);
  border-radius: 10px;
}

@media (max-width: 980px) {
  #menu {
    flex-direction: column;
    gap: 25px;
  }

  .menu-item-has-children .sub-menu {
    display: block;
    opacity: 1;
    border-bottom: 0;
    font-size: var(--small);
  }

  header .menu-item {
    color: white;
  }

  #menu + a.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module {
    margin-top: 50px;
  }
}

/* PAGE */

div#slider {
    min-height: 80vh;
    padding: 0;
}

#slider h1 {
    font-size: 60px !important;
    font-weight: 400 !important;
    color: var(--light-orange) !important;
}

#slider h2 {
    font-size: 5.5vw !important;
    color: var(--light-orange) !important;
    margin-bottom: -1.5vw;
    white-space: nowrap;
}

.orangeBg {
    background: var(--orange);
}

.orangeBg h2, .orangeBg h3, .orangeBg h5, .orangeBg p {
    color: var(--light-orange) !important;
}

.list_metier .et_pb_text_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.list_metier p {
    background: rgb(248 190 114 / 20%);
    padding: 15px 20px !important;
    color: var(--orange);
    border: solid 2px var(--orange);
    border-radius: 50px;
    line-height: normal;
    font-family: var(--font-title);
    font-weight: var(--bold);
}

.light_orange {
    background: rgb(248 190 114 / 10%);
}

.light_orange h2 {
    color: var(--rose) !important;
}

.serv_orange h4 {
    color: var(--orange) !important;
}

.info:before {
    content: "\e88e";
    font-family: var(--font-icon);
}

.info {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 15px;
    padding: 15px;
    border-radius: 20px;    
    width: fit-content;
}

.info p {
    margin: 0;
}

.serv_orange .info {
  background: rgb(248 190 114 / 10%);
  color: var(--d-orange);
}

.serv_vert h4 {
    color: var(--vert) !important;
}

.serv_vert .info {
  background: rgb(181 183 82/ 10%);
  color: var(--vert);
}

.serv_bleu h4 {
    color: var(--bleu) !important;
}

.serv_bleu .info {
  background: rgb(0 145 175 / 10%);
  color: var(--bleu);
}

.orangeBg h2 {
    font-size: 100px !important;
    text-align: center;
    margin-top: -80px;
}

.orangeBg span.material-symbols-outlined {
    color: var(--light-orange);
    font-size: 50px;
}

.coord_bloc {
  background: rgb(0, 147, 175, 0.1);
  padding: 50px;
  border: solid 2 px var(--bleu);
  border-radius: 15px;
}

.coord_bloc span.et-pb-icon {
    color: var(--black);
}

.coord_bloc a.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module {
    background: var(--bleu);
}

#contact h2 {
    color: var(--bleu) !important;
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: transparent;
    border: none;
    padding: 2px;
    color: var(--black);
    border-bottom: solid 1px;
    width: 100%;
    padding: 10px !important; 
    margin-bottom: 15px !important;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.et_pb_button.et_pb_bg_layout_light.et_pb_module.et_flex_module {
    background: var(--bleu);
    padding: 10px 20px !important;
    float: right;
}

@media (max-width: 980px) {
  #slider h2 {
    font-size: 20px !important;
    margin-bottom: -8px;
    text-align: center;
  }

  #slider h1 {
    font-size: 20px !important;
    text-align: center;
  }

  div#slider {
    min-height: 60vh;
    padding: 0;
  }

  .orangeBg h2 {
    font-size: 40px !important;
    margin-top: -55px;
  }

  .coord_bloc {
    background: rgb(0, 147, 175, 0.1);
    padding: 25px;
  }

  .logo a > img {
      max-width: 60px;
  }

  .slider_txt .et_pb_text_inner {
    background: rgb(255 251 245 / 80%);
    margin-bottom: 50px;
    padding: 25px;
  }

  #slider h1, #slider h2 {
    color: var(--orange) !important;
  }

  .menu_head {
    padding: 10px 20px 10px 10px;
  }

  .serv_orange img, .serv_vert img, .serv_bleu img {
    width: 60px !important;
  }
}

/* FOOTER */

#main-footer {
    background-color: var(--orange);
    padding: 10px 0;
}

#main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: var(--small);
    color: var(--light-orange);
}

#main-footer a {
  color: var(--light-orange);
}

ul#menu-liens-utiles {
    display: flex;
    gap: 25px;
}

#main-footer p {
   margin-bottom: 0;
}

