@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  margin: 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* FONT FACE */
/* Imports des fonts */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "DMSans";
  src: url("../fonts/DM_Sans/static/DMSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
/* VARIABLES */
html, body {
  padding: 0;
  margin: 0;
  list-style: none;
}

/*--------------------------------------------------------------
GLOBAL
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  color: #1D1D1B;
  overflow-x: hidden;
}

body {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

ul {
  list-style: none;
}

a {
  color: #1D1D1B;
  text-decoration: none;
  transition: 0.3s;
}

::-webkit-scrollbar-thumb {
  background: #117FC4;
  border-radius: 10px;
}

h1, h2 {
  font-family: "DMSans", sans-serif;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

h2 strong {
  color: #117FC4;
  font-weight: 800;
  line-height: 1;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1188px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1500px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.5rem;
  }
}
.fill-bleu-fonce {
  fill: #117FC4;
}

.fill-bleu-clair {
  fill: #3BB1E4;
}

.fill-vert {
  fill: #36A135;
}

.fill-noir {
  fill: #1D1D1B;
}

.fill-blanc {
  fill: #ffffff;
}

.bg-blanc {
  background-color: #ffffff;
}

.btn, form input[type=submit],
.wpcf7-form input[type=submit] {
  background-color: #117FC4;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 50px;
  margin-top: 1rem;
  border: 1px solid #117FC4;
}
.btn:hover, form input[type=submit]:hover,
.wpcf7-form input[type=submit]:hover {
  color: #117FC4;
  background-color: transparent;
}

section {
  padding: 3rem 10%;
}
@media (min-width: 1188px) {
  section {
    padding: 4rem 10%;
  }
}
@media (min-width: 1500px) {
  section {
    padding: 4rem 15%;
  }
}

.h-100 {
  height: 100vh;
}

.w-100 {
  width: 100vw;
}

p:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

.flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1188px) {
  .flex {
    flex-direction: row;
    justify-content: space-between;
    gap: 7rem;
  }
  .flex .container {
    width: 50%;
  }
  .flex--reverse {
    flex-direction: row-reverse;
  }
}

/* Form */
form,
.wpcf7-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: row wrap;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  form,
  .wpcf7-form {
    flex-direction: row;
    justify-content: space-between;
  }
}
form .form-row,
.wpcf7-form .form-row {
  width: 100%;
}
@media (min-width: 1024px) {
  form .form-row,
  .wpcf7-form .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
  }
}
form .btn, form input[type=submit],
.wpcf7-form .btn,
.wpcf7-form input[type=submit] {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
form .mid,
.wpcf7-form .mid {
  width: 100%;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  form .mid,
  .wpcf7-form .mid {
    width: 50%;
    margin-top: 0;
  }
}
form .full,
.wpcf7-form .full {
  width: 100%;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  form .full,
  .wpcf7-form .full {
    margin-top: 0;
  }
}
form .submit,
.wpcf7-form .submit {
  width: 100%;
  text-align: center;
}
form select,
.wpcf7-form select {
  width: 100%;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  form select,
  .wpcf7-form select {
    margin-top: 0;
  }
}
form label,
.wpcf7-form label {
  text-transform: uppercase;
  font-size: 12px;
  color: #c3c3c3;
}
form .wpcf7-not-valid-tip,
.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.7rem;
  text-transform: initial;
  margin-top: 5px;
  color: red;
}
form input,
form textarea,
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
}
form input,
form select,
form textarea,
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  color: #1D1D1B;
  border: 0;
  font-size: 16px;
  background-color: transparent;
  border-radius: 0;
  padding: 5px 10px 5px 0;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(29, 29, 27, 0.5);
  outline: none;
  transition: 0.2s;
}
form input:focus,
form select:focus,
form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-bottom: 1px solid #1d1d1b;
}
form input::-moz-placeholder, form select::-moz-placeholder, form textarea::-moz-placeholder, .wpcf7-form input::-moz-placeholder, .wpcf7-form select::-moz-placeholder, .wpcf7-form textarea::-moz-placeholder {
  color: #1D1D1B;
}
form input::placeholder,
form select::placeholder,
form textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form select::placeholder,
.wpcf7-form textarea::placeholder {
  color: #1D1D1B;
}
form textarea,
.wpcf7-form textarea {
  height: 120px;
}
.wpcf7-response-output {
  border: 0 !important;
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-requinoir .wpcf7-response-output {
  color: red;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #00ab15;
}

/* Pagination */
.navigation {
  margin: 30px 0 0;
  width: 100%;
  text-align: center;
  grid-column: 1/4;
}
.navigation .nav-links .page-numbers {
  border: 2px solid #1D1D1B;
  padding: 5px 12px;
}
.navigation .nav-links .page-numbers.next, .navigation .nav-links .page-numbers.prev {
  border: 0;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}
.navigation .nav-links .page-numbers.current {
  background-color: #1D1D1B;
  color: #ffffff;
}

/*********
* HEADER *
*********/
.header {
  width: 100vw;
  position: fixed;
  z-index: 5;
  margin-top: 0;
  top: 0;
  display: flex;
}
.header .menu {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
  padding-bottom: 40vh;
  font-size: 1.125rem;
}
.header .menu > a {
  text-align: center;
}
.header .menu__logo {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.header .menu__container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  width: 70%;
}
.header .menu__reseaux {
  display: flex;
  gap: 1rem;
}
.header .menu__reseaux svg {
  width: 1.75rem;
  height: 1.75rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.header {
  /* Enlever le checkbox */
}
.header .checkbox {
  display: none;
}

/* Responsive desktop */
@media screen and (min-width: 1170px) {
  .header {
    width: 100vw;
    position: absolute;
  }
  .header .menu__logo {
    height: 6rem;
    transition: 0.3s height;
    filter: none;
    width: initial;
  }
  .header .menu__logo img {
    height: 100%;
  }
  .header {
    /* Barre de navigation */
  }
  .header .menu {
    flex-direction: row;
    min-height: initial;
    justify-content: flex-start;
    align-items: center;
    gap: 10%;
    padding-bottom: 0;
    padding: 1rem 10%;
  }
  .header .menu__container {
    flex-direction: row;
    gap: 5rem;
    width: initial;
    align-items: center;
  }
}
/* Menu burger pour mobile et tablette */
@media screen and (max-width: 1170px) {
  .header .checkbox {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: 1rem;
    left: 1rem;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
  }
  .header {
    /* Burger style */
  }
  .header .burger {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    background: #3BB1E4;
    padding: 0.5rem;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
  }
  .header .burger span {
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }
  .header .burger span:last-child {
    margin-bottom: 0;
  }
  .header .burger span:first-child {
    transform-origin: 0% 0%;
  }
  .header .burger span:nth-last-child(1) {
    transform-origin: 0% 100%;
  }
  .header {
    /* Transformer le burger en croix */
  }
  .header .checkbox:checked ~ .burger span {
    opacity: 1;
    transform: rotate(45deg) translate(2.5px, -4.5px);
    background: #ffffff;
  }
  .header .checkbox:checked ~ .burger span:nth-last-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }
  .header .checkbox:checked ~ .burger span:nth-last-child(1) {
    transform: rotate(-45deg) translate(4px, 3px);
  }
  .header .menu {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    width: 50%;
    background-color: #3BB1E4;
  }
  .header .checkbox:checked ~ .menu {
    transform: none;
  }
  .header .menu__lien a {
    color: #ffffff;
    font-weight: 200;
    position: relative;
  }
  .header .menu__container > :not(:last-child) ::after {
    position: absolute;
    content: "";
    background-color: #3BB1E4;
    width: 2rem;
    height: 1px;
    bottom: -0.5rem;
    left: 0;
  }
}
@media screen and (max-width: 650px) {
  .header .menu {
    width: 100%;
  }
}
/*--------------------------------------------------------------
Bannière (hero)
--------------------------------------------------------------*/
.banner {
  width: 100%;
  text-align: center;
  padding: 3rem 10%;
  background-image: url("/wp-content/uploads/2025/03/background.png");
  background-repeat: no-repeat;
  background-size: cover;
}
@media (min-width: 1188px) {
  .banner {
    padding: 4rem 15%;
    padding-top: 8rem;
  }
}

/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
.footer {
  background-color: rgba(17, 127, 196, 0.3);
}
.footer__container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 10%;
}
.footer__copyright {
  padding: 1rem 10%;
}
.footer__logo {
  width: 150px;
  -o-object-fit: contain;
     object-fit: contain;
}
.footer__nom {
  font-size: 1.25rem;
  font-weight: 700;
}
.footer__profession {
  color: #36A135;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.footer__contact {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}
.footer__contact svg {
  width: 1.25rem;
  height: 1.25rem;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 0.5rem;
  transition: all 0.3s;
}
.footer__contact:hover img {
  transform: rotate(3deg);
}
.footer__nav > * {
  margin-bottom: 0.3rem;
}
.footer a:hover {
  color: #36A135;
}
.footer .reseaux-sociaux__titre {
  font-size: 1.25rem;
  font-weight: 700;
}
.footer .reseaux-sociaux__container {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer .reseaux-sociaux__container svg {
  width: 1.75rem;
  height: 1.75rem;
  -o-object-fit: contain;
     object-fit: contain;
  transition: all 0.3s;
}
.footer .reseaux-sociaux__container svg:hover {
  transform: scale(1.1);
}

/* Responsive tablette */
@media (min-width: 1024px) {
  .footer {
    margin-top: 4rem;
  }
  .footer__container {
    flex-direction: row;
    justify-content: space-evenly;
  }
  .footer__copyright {
    background-color: #36A135;
    text-align: center;
  }
  .footer__copyright p {
    color: #ffffff;
  }
  .footer__copyright p a {
    color: #ffffff;
  }
  .footer__copyright p a:hover {
    color: rgba(255, 255, 255, 0.5);
  }
}
/*--------------------------------------------------------------
PAGE DEFAUT
--------------------------------------------------------------*/
.defaut h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.defaut a {
  text-decoration: underline;
}

.defaut a:hover {
  color: #117FC4;
}

@media (min-width: 1188px) {
  .defaut h2 {
    margin-top: 3rem;
  }
}
/*--------------------------------------------------------------
ANIMATIONS
--------------------------------------------------------------*/
/* Liste des animations */
/* Animation section apparaît au scroll */
.animation-from-bottom {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s, transform 1s;
}

.animation-from-top {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 1s, transform 1s;
}

.animation-from-left {
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 1s, transform 1s;
}

.animation-from-right {
  opacity: 0;
  transform: translateX(150px);
  transition: opacity 1s, transform 1s;
}

.hidden {
  opacity: 0;
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Animation liste */
.animation-list > * {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animation-list > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Retirer le badge ReCaptcha */
.grecaptcha-badge {
  display: none;
}

/* Badge ecoindex */
#ecoindex-badge {
  display: none;
}

/* Responsive desktop */
@media screen and (min-width: 1170px) {
  #ecoindex-badge {
    display: block;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
  }
}
/* Flèche back-to-up */
.back-to-up {
  opacity: 0;
  position: fixed;
  bottom: 1.25rem;
  right: 1rem;
  text-align: center;
  border-radius: 5px;
  z-index: 3;
  transition: opacity 0.5s ease-in-out;
}

@media screen and (max-width: 650px) {
  .back-to-up > img {
    width: 2.5rem;
    right: 1rem;
  }
}