.sidebar {
  position: fixed;
  height: 100%;
  width: 240px;
  background: var(--components-color);
  transition: all 0.5s ease;
}

.sidebar.active {
  width: 60px;
}

.sidebar .logo-details {
  height: 80px;
  display: flex;
  align-items: center;
}

.sidebar .logo-details i {
  font-size: 28px;
  font-weight: 500;
  color: var(--light-font-color);
  min-width: 60px;
  text-align: center;
}

.sidebar .sidebar-logo {
  width: 100px;
  height: auto;
}

.sidebar .nav-links {
  margin-top: 10px;
}

.sidebar .nav-links li {
  position: relative;
  list-style: none;
  height: 50px;
}

.sidebar .nav-links li a {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
}

.sidebar .nav-links li a.active {
  background: var(--primary-color);
}

.sidebar .nav-links li a:hover {
  background: #9cdc48;
}

.sidebar .nav-links li i {
  min-width: 60px;
  text-align: center;
  font-size: 18px;
  color: var(--light-font-color);
  transition: all 0.4s ease;
}

.sidebar.active .nav-links li i {
  transform: translateX(-24px); /* Shift icons to the left when sidebar is closed */
}

.sidebar .nav-links li a .links_name {
  color: var(--light-font-color);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sidebar.active .nav-links li a .links_name {
  opacity: 0; /* Hide text when sidebar is closed */
  transform: translateX(-20px); /* Shift text slightly */
}

.sidebar .nav-links .log_out {
  position: absolute;
  bottom: 0;
  width: 100%;
  cursor: pointer;
}

.sidebar .nav-links .log_out input {
  color: var(--light-font-color);
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.home-section {
  position: relative;
  background: var(--light-background-color);
  min-height: 100vh;
  width: calc(100% - 240px);
  left: 240px;
  transition: all 0.5s ease;
}

.sidebar.active ~ .home-section {
  width: calc(100% - 60px);
  left: 60px;
}

.home-section nav {
  display: flex;
  justify-content: space-between;
  height: 80px;
  background: var(--light-background-color);
  align-items: center;
  position: fixed;
  width: calc(100% - 240px);
  left: 240px;
  z-index: 100;
  padding: 0 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.sidebar.active ~ .home-section nav {
  left: 60px;
  width: calc(100% - 60px);
}

.home-section nav .sidebar-button {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
}

nav .sidebar-button i {
  font-size: 35px;
  margin-right: 10px;
  cursor: pointer;
}

.home-section nav .search-box {
  position: relative;
  height: 50px;
  max-width: 550px;
  width: 100%;
  margin: 0 20px;
}

nav .search-box input {
  height: 100%;
  width: 100%;
  outline: none;
  background: #F5F6FA;
  border: 2px solid #EFEEF1;
  border-radius: 6px;
  font-size: 18px;
  padding: 0 15px;
}

nav .search-box .bx-search {
  position: absolute;
  height: 40px;
  width: 40px;
  background: var(--primary-color);
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
  line-height: 40px;
  text-align: center;
  color: var(--light-font-color);
  font-size: 22px;
  transition: all 0.4s ease;
}

.home-section .home-content {
  position: relative;
  padding-top: 96px;
}
/* 
@media (max-width: 1280px) {
  .sidebar {
    width: 60px;
  }

  .sidebar.active {
    width: 220px;
  }

  .home-section {
    width: calc(100% - 60px);
    left: 60px;
  }

  .sidebar.active ~ .home-section {
    overflow: hidden;
    left: 220px;
  }

  .home-section nav {
    width: calc(100% - 60px);
    left: 60px;
  }

  .sidebar.active ~ .home-section nav {
    width: calc(100% - 220px);
    left: 220px;
  }
} */

@media (max-width: 700px) {
  nav .sidebar-button .dashboard {
    display: none;
  }
}

@media (max-width: 550px) {
  .overview-boxes .box {
    width: 100%;
    margin-bottom: 15px;
  }
}

@media (max-width: 490px) {
  .sidebar {
    width: 0;
  }

  .sidebar.active {
    width: 60px;
  }

  .home-section {
    width: 100%;
    left: 0;
  }

  .sidebar.active ~ .home-section {
    left: 60px;
    width: calc(100% - 60px);
  }

  .home-section nav {
    width: 100%;
    left: 0;
  }

  .sidebar.active ~ .home-section nav {
    left: 60px;
    width: calc(100% - 60px);
  }
}
.flash {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: var(--font-small);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 1;
}

.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 490px) {
  .flash {
    left: 16px;
    right: 16px;
    transform: none;
  }
}
#footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 0;
  bottom: 16px;
  width: 100%;
  background: var(--components-color);
  padding: 64px 64px 0;
}

footer {
  display: flex;
  align-items: flex-start;
  gap: 250px;
  margin: 0 32px;
}

@media (max-width: 620px) {
  footer {
    flex-direction: column;
    gap: 64px;
  }

  footer.bottom {
    gap: 16px;
    flex-direction: column-reverse;
  }
}

.footer-logo {
  margin-top: 16px;
  width: 150px;
  height: auto;
  transition: 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.025);
}

@media (min-width: 620px) {
  footer {
    margin: 0 auto;
    padding: 0;
    gap: 96px;
  }

  footer.bottom {
    gap: 32px;
  }
}

footer {
  color: #a2b5cd;
}

footer.top {
  border-bottom: 1px solid var(--light-font-color);
  padding-bottom: 24px;
}

footer.bottom {
  padding: 16px 0;
  justify-content: space-between;
}

footer.top .links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.links a {
  font-size: var(--font-small);
  color: var(--light-font-color);
  transition: 0.3s ease;
  padding: 0 8px;
}

.links .footer-quote {
  color: var(--primary-color);
  border-radius: 4px;
  transition: 0.3s ease;
}

.footer-link:hover {
  background-color: #424242;
  border-radius: 4px;
}

.links .footer-quote:hover {
  background-color: var(--primary-color);
  color: var(--light-font-color);
  border-radius: 4px;
  padding: 0 8px;
}

.links div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

footer h2 {
  margin: 0;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--light-font-color);
}

.legal {
  font-size: var(--font-xs);
  padding-top: 16px;
  margin: -16px 0;
}

.legal a {
  font-size: var(--font-xs);
  margin: 0 4px;
  color: var(--light-font-color);
}

.legal span {
  margin-right: 12px;
  color: var(--light-font-color);
}

.legal span a {
  color: var(--light-font-color);
  text-decoration: underline;
}

footer.bottom .links {
  display: flex;
  gap: 16px;
}

footer.bottom .links a {
  text-align: center;
  font-size: 24px;
  border-radius: 4px;
  color: var(--light-font-color);
}

footer.bottom .links .facebook-icon:hover {
  font-size: 24px;
  border-radius: 4px;
  color: #1877F2;
}

footer.bottom .links .instagram-icon:hover {
  font-size: 24px;
  border-radius: 4px;
  color: #d6249f;
}

.website-developer {
  display: block;
  margin: 16px 0;
  padding-bottom: 16px;
}

footer .developer-logo {
  width: 100px;
  height: auto;
  vertical-align: middle;
  margin-left: 8px;
}

@media screen and (min-width: 2000px) {
  footer {
    max-width: 1600px;
  }
  
  footer.top {
    max-width: 1600px;
  }

  footer.bottom {
    max-width: 1600px;
  }
}

@media (max-width: 1280px) {
  footer {
    text-align: center;
    align-items: center;
    gap: 32px;
  }

  footer.top {
    display: flex;
    flex-direction: column;
  }

  footer.top .links {
    grid-template-columns: 1fr;
  }

  footer.bottom {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }

  #footer {
    padding: 32px 16px 0;
  }

  .links div {
    margin-bottom: 16px;
  }

  .legal span {
    display: block;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .footer-logo {
    width: 150px;
    height: auto;
    margin-top: 0;
  }

  .website-developer {
    margin-top: 8px;
    margin-bottom: 0;
  }
}
#header {
  background: var(--primary-color);
  text-align: center;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 999;
  transition: 0.3s ease;
}

#header:hover {
  background-color: #9cdc48;
}

#header a {
  text-decoration: none;
  color: var(--light-font-color);
  font-size: var(--font-small);
}
nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background: var(--components-color);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
  transition: top 0.3s ease;
}

nav .wrapper {
  position: relative;
  padding: 8px 16px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo-image {
  width: 150px;
  height: auto;
  transition: 0.3s ease;
}

.wrapper .logo-image:hover {
  transform: scale(1.025);
}

.wrapper .nav-links {
  display: inline-flex;
  gap: 8px;
}

.nav-links li {
  list-style: none;
  display: flex;
  white-space: nowrap;
}

/* Style appliqué aux liens <a> et aux éléments .desktop-item */
.nav-links li a,
.nav-links li .desktop-item {
  color: var(--light-font-color);
  text-decoration: none;
  font-size: var(--font-small);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links li a i,
.nav-links li .desktop-item i {
  font-size: 1em;
  margin-right: 8px;
}

/* Ajout du margin-right sur les icônes dans les labels */
.nav-links label i {
  font-size: 1em;
  margin-right: 8px;
  height: 22px;
  width: 22px;
}

.mega-links li a i {
  font-size: 1em;
  margin-right: 4px;
}

/* Effet hover */
.nav-links li a:hover,
.nav-links li .desktop-item:hover {
  background: #424242;
}

.nav-links li .nav-btn-primary:hover {
  background-color: #9cdc48;
}

#nav-cta:hover {
  background-color: #9cdc48;
}

.nav-links .mobile-item {
  display: none;
}

.nav-links .drop-menu {
  position: absolute;
  background: var(--components-color);
  width: 180px;
  line-height: 45px;
  top: 80px;
  margin-top: -7px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  border-radius: 0;
}

/* Comportement non-cliquable sur desktop */
.nav-links .desktop-item {
  cursor: default;
}

.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0;
  top: 85px;
  margin-top: -8px;
  opacity: 0;
  visibility: hidden;
}

.mega-box .content {
  background: var(--components-color);
  padding: 32px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
}

.mega-box .content .row {
  width: calc(33% - 32px);
  line-height: 45px;
}

.content .row header {
  color: var(--light-font-color);
  font-size: var(--font-md);
  font-weight: 500;
  background: transparent;
}

.content .row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
  padding: 0 0 0 32px;
}

.row .mega-links li a {
  padding: 8px 16px;
  color: var(--light-font-color);
  font-size: var(--font-small);
  display: block;
}

.row .mega-links li a:hover {
  color: var(--light-font-color);
}

.wrapper .nav-btn {
  color: var(--light-font-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.wrapper .nav-btn.close-btn {
  position: absolute;
  right: 32px;
  top: 8px;
}

.wrapper .nav-btn.close-btn i {
  margin: 0;
  font-size: 24px;
}

@media screen and (min-width: 2000px) {
  nav .wrapper {
    max-width: 1600px;
  }
}

@media screen and (max-width: 1400px) {
  .wrapper .nav-btn {
    display: block;
  }

  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: var(--components-color);
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }

  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--components-color);
  }

  ::-webkit-scrollbar-thumb {
    background: #424242;
  }

  #menu-btn:checked ~ .nav-links {
    left: 0;
  }

  #menu-btn:checked ~ .nav-btn.menu-btn {
    display: none;
  }

  #close-btn:checked ~ .nav-btn.menu-btn {
    display: block;
  }

  .nav-links li {
    display: block;
    margin: 8px;
    white-space: unset;
  }

  .nav-links li a,
  .nav-links li p {
    padding: 8px 16px;
    display: block;
    font-size: 18px;
  }

  .nav-links li a i,
  .nav-links li p i  {
    height: 22px;
    width: 22px;
  }

  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    margin-top: 0;
    visibility: visible;
    padding-left: 32px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box,
  #showMegaSectors:checked ~ .sectors-box {
    max-height: 100%;
  }

  .nav-links .desktop-item {
    display: none;
    cursor: pointer;
  }

  .nav-links .mobile-item {
    display: block;
    color: var(--light-font-color);
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .nav-links .mobile-item:hover {
    background: #424242;
  }

  .drop-menu li {
    margin: 0;
  }

  .drop-menu li a {
    border-radius: 5px;
    font-size: var(--font-small);
  }

  .mega-box {
    position: static;
    top: 65px;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 8px 0 0 8px;
  }

  .mega-box .content .row {
    width: 100%;
    margin-bottom: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-box .content .row:nth-child(1) {
    border-top: 0;
  }

  .content .row .mega-links {
    border-left: 0;
    padding-left: 16px;
  }

  .row .mega-links li {
    margin: 0;
  }
}

/* Desktop styles spécifiques pour afficher l'icône et le texte côte à côte
   et pour le menu "Nos secteurs" avec fond gris identique à celui des services */
@media screen and (min-width: 1400px) {
  .nav-links li .desktop-item {
    display: inline-flex;
    align-items: center;
    width: 100%;
  }

  .sectors-box .mega-links li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap; /* Empêche le retour à la ligne */
  }

  .sectors-box .mega-links li a i {
    font-size: 1em;
    margin-right: 8px;
  }
  
  .sectors-item {
    position: relative;
  }

  /* .sectors-box {
    opacity: 1 !important;
    visibility: visible !important;
    top: 70px !important;
  } */
  
  .sectors-box {
    width: 300px;
    top: 85px;
    margin-top: -22px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .sectors-item:hover .sectors-box {
    top: 70px;
    opacity: 1;
    visibility: visible;
  }
}
  
nav input {
  display: none;
}

.chevron {
  font-size: 0.8em;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-links li:hover .desktop-item .chevron {
  transform: rotate(180deg);
}

#showMega:checked + label.mobile-item .chevron,
#showDrop:checked + label.mobile-item .chevron,
#showMegaSectors:checked + label.mobile-item .chevron {
  transform: rotate(180deg);
}
.newsletter-subscription {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  padding: 64px 16px;
  text-align: center;

  background-image: url(/assets/provertu-chalet-f09c26052c5d65319821bbc787c6c8bae382f5f454cf5dcb83a559a650ea5489.svg);
  background-repeat: no-repeat;
  background-position: center top 8px;
  background-size: auto 120%;
}

.newsletter-subscription h2 {
  color: var(--light-font-color);
  margin-bottom: 16px;
  font-size: var(--font-lg);
}

.subscription-tagline {
  color: var(--light-font-color);
  max-width: 500px;
  margin-bottom: 24px;
  font-size: var(--font-md);
  line-height: 1.4;
}

.social-tagline {
  color: var(--light-font-color);
  max-width: 500px;
  margin: 24px 0 12px;
  font-size: var(--font-sm);
  line-height: 1.4;
}

.subscription-form {
  max-width: 600px;
  width: 100%;
}

.subscription-form .form-control,
.subscription-form .btn-secondary {
  width: 100%;
  box-sizing: border-box;
}

.subscription-form .form-control {
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-link {
  color: var(--light-font-color);
  font-size: 2rem;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.social-link:hover {
  color: var(--secondary-color);
}
.social-link.facebook:hover {
  color: #1877f2;
}
.social-link.instagram:hover {
  color: #d6249f;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .newsletter-subscription {
    padding: 48px 16px;
  }

  .social-tagline {
    font-size: var(--font-sm);
  }

  .social-link {
    font-size: 1.75rem;
  }
}

@media (max-width: 490px) {
  .newsletter-subscription {
    padding: 32px 16px;
  }
}
.about {
  display: flex;
  align-items: center;
  gap: 64px;
}

.about h2 {
  font-size: var(--font-md);
  color: var(--primary-color);
  /* padding-top: 64px; */
  margin-bottom: 16px;
  transition: ease 0.3s;
}

.about h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--dark-font-color);
  margin-bottom: 16px;
  transition: 0.3s;
}

/* .about h3:hover {
  -webkit-text-stroke: 1px var(--primary-color);
  -webkit-text-stroke: 1px #9cdc48;
  color: var(--light-background-color);
} */

.about p {
  font-size: var(--font-small);
  color: var(--dark-font-color);
  /* opacity: 0.8; */
}

.about-content {
  display: inline;
}

.about-image {
  display: flex;
  justify-self: center;
  align-items: center;
  min-width: 600px;
}

.about-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

@media (max-width: 1280px) {
  .about {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .about-image {
    padding: 0;
    margin: 0 -64px -64px -64px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  #about-page-mobile {
    flex-direction: column-reverse;
  }
}

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

  .about-image {
    padding: 0;
    margin: 0 -64px -64px -64px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  #about-page-mobile {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .about {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
  }

  .about:nth-child(2) .about-content {
    order: 2;
  }

  .about:nth-child(2) .about-image {
    order: 1;
  }

  .about-image {
    margin: 0 -16px -32px -16px;
    min-width: unset;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  #about-page-mobile {
    flex-direction: column-reverse;
  }
}

@media (max-width: 490px) {
  .about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
  }

  .about:nth-child(2) .about-content {
    order: 2;
  }

  .about:nth-child(2) .about-image {
    order: 1;
  }

  .about-image {
    min-width: unset;
    margin: 0 -16px -32px -16px;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  #about-page-mobile {
    flex-direction: column-reverse;
  }
}
.home-section .home-content {
  margin: 0 16px;
}

.admin-card {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.subscribed-users-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subscribed-users-list table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.subscribed-users-list th, .subscribed-users-list td {
  text-align: left;
  padding: 5px 10px;
  border-bottom: 1px solid #ddd;
}

.subscribed-users-list tr {
  background-color: white;
}

.user-trackable-list table {
  width: 100%;
  border-collapse: collapse;
}

.user-trackable-list th, .user-trackable-list td {
  padding: 5px 10px;
  border-bottom: 1px solid #ddd;
}

.user-trackable-list th {
  text-align: left;
  width: 20%;
  font-weight: bold;
}

.user-trackable-list td {
  text-align: right;
}

.user-trackable-list tr {
  background-color: white;
}

@media (max-width: 550px) {
  .subscribed-users-list-header {
    flex-direction: column;
  }
}
.login-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow:  rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.warning-message {
  color: #d9534f;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid transparent;
}

.form-field {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input[type="checkbox"] {
  margin-right: 5px;
}

.form-actions {
  text-align: center;
}

.back-link {
  text-align: center;
  margin-top: 20px;
}

.back-link .btn-learn-more {
  justify-content: center;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Conteneur hero mis à jour */
.hero {
  position: relative;
  width: 100%;
  height: 67vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

/* Élément de fond pour le crossfade */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: -1;
}

/* Le contenu reste au-dessus */
.hero-content {
  position: relative;
  max-width: 950px;
  text-align: center;
  z-index: 1;
}

.hero-content h1 {
  font-size: var(--font-xl);
  color: var(--light-font-color);
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  margin: 16px 0 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-in-out forwards;
}

.hero-text {
  font-size: var(--font-lg);
  color: var(--light-font-color);
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.2s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
}

.hero-btn {
  opacity: 0;
  animation: fadeScaleIn 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

/* Reste du CSS inchangé */

.secondary-banner-area {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.secondary-content-area {
  height: 100%;
  display: flex;
  align-items: center;
}

.secondary-content h1, .secondary-content h2, .secondary-content h3, .secondary-content p {
  color: var(--light-font-color);
}

.secondary-content h1 {
  font-size: var(--font-xl);
  margin-bottom: 16px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.secondary-content p {
  font-size: var(--font-lg);
  margin-bottom: 32px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.secondary-content a {
  color: var(--light-font-color);
}

.small-banner-area {
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.small-content-area {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px;
}

.small-content {
  /* background-color: rgba(239, 239, 239, 0.3);
  padding: 64px 128px; */
  text-align: center;
}

.small-content h2 {
  font-size: var(--font-lg);
  color: var(--light-font-color);
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.small-content p {
  font-size: var(--font-md);
  color: var(--light-font-color);
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  margin: 0;
  margin-bottom: 24px;
  line-height: 1.4;
}

.small-content a {
  color: var(--light-font-color);
}

@media (max-width: 1280px) {
}

@media (max-width: 790px) {
  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-buttons {
    display: inline-block;
  }

  .hero-text {
    font-size: 24px;
  }

  .secondary-banner-area {
    height: 40vh;
  }

  .secondary-content h1 {
    font-size: 48px;
  }

  .secondary-content p {
    font-size: 24px;
  }

  .banner-logo {
    width: 200px;
    height: auto;
  }

  .small-content .btn-primary {
    width: 50%;
  }
}

@media (max-width: 490px) {
  .hero-content h1  {
    font-size: 32px;
  }

  .hero-text {
    font-size: 24px;
  }

  .hero-buttons {
    width: 100%;
  }

  .secondary-content {
    width: 100%;
  }

  .secondary-content h1 {
    font-size: 32px;
  }

  .secondary-content p {
    font-size: 24px;
  }

  .banner-logo {
    width: 200px;
    height: auto;
  }

  .small-content-area {
    padding: 32px 16px;
  }

  .small-content .btn-primary {
    width: 100%;
  }
}
.btn {
  display: inline-block;
  text-align: center;
  padding: 8px 24px;
  min-width: 224px;
  background-color: var(--primary-color);
  color: var(--light-font-color);
  border: solid 2px var(--primary-color);
  border-radius: 4px;
  text-align: center;
  font-size: var(--font-small);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, border 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  border: solid 2px #9cdc48;
  background-color: #9cdc48;
  /* box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); */
  /* transform: translateY(-1px); */
}

.btn a {
  color: var(--light-font-color);
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  text-align: center;
  padding: 8px 24px;
  min-width: 224px;
  color: var(--light-font-color);
  border: solid 2px var(--primary-color);
  background-color: var(--primary-color);
  border-radius: 4px;
  font-size: var(--font-small);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #9cdc48;
  border: solid 2px #9cdc48;
  /* box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); */
  /* transform: translateY(-1px); */
}

.btn-secondary {
  display: inline-block;
  text-align: center;
  padding: 8px 24px;
  min-width: 224px;
  border: solid 2px var(--light-font-color);
  background: transparent;
  border-radius: 4px;
  color: var(--light-font-color);
  font-size: var(--font-small);
  cursor: pointer;
  white-space: nowrap;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  transition: 0.3s ease;
}

.btn-secondary:hover {
  text-decoration: underline;
  /* box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); */
  /* transform: translateY(-1px); */
}

.btn-learn-more {
  display: flex;
  margin-bottom: 24px;
  color: var(--dark-font-color);
  text-align: center;
  text-decoration: none;
}

.btn-learn-more a {
  padding-right: 8px;
  color: var(--dark-font-color);
  text-decoration: underline;
}

.btn-learn-more span {
  opacity: 1;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.btn-learn-more:hover span {
  animation: bounce 0.6s ease;
}

.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 16px;
  background-color: var(--primary-color);
  color: var(--light-font-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 100;
}

.scroll-to-top:hover {
  opacity: 1;
  background-color: #9cdc48
}

.scroll-to-top.hidden {
  display: none;
}

.cookie-settings-button {
  position: fixed;
  bottom: -100px;
  left: 16px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: bottom 0.5s ease-out, opacity 0.5s ease-out;
  z-index: 1000;
  overflow: hidden;
}

.cookie-settings-button.show {
  bottom: 32px;
  opacity: 1;
}

.cookie-settings-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--light-font-color);
  text-decoration: none;
}

.cookie-settings-button a:hover {
  background-color: #9cdc48;
}

.cookie-settings-button a i {
  font-size: 32px;
}

@media (max-width: 490px) {
  .btn {
    width: 100%;
    border-radius: 4px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
.card {
  height: 100%;
  padding: 16px;
  margin: 0 16px 0 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-top-right-radius: 50px;
  /* border: solid 1px #ddd; */
}

.card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-lg);
  color:white;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-bottom: 16px;
  transition: 0.3s ease;
}

.card h2 {
  text-align: left;
  font-size: var(--font-sm);
  color: var(--dark-font-color);
  margin-bottom: 16px;
}

.card p {
  text-align: left;
  font-size: var(--font-small);
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

.side-card {
  margin-left: 16px;
  margin-bottom: 0;
}

.side-card h2 {
  color: var(--primary-color);
  font-size: var(--font-md);
  margin-top: 0;
  margin-bottom: 16px;
}

.side-card h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: 16px;
}

.side-card p {
  margin-bottom: 24px;
}

/* .side-card a {
  color: white;
} */

/* .side-card .btn-learn-more {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--dark-font-color);
  text-align: center;
  text-decoration: none;
}

.side-card .btn-learn-more a {
  color: var(--dark-font-color);
  text-decoration: underline;
}

.side-card .btn-learn-more span {
  opacity: 1;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.side-card .btn-learn-more:hover span {
  animation: bounce 0.6s ease;
} */

@media (max-width: 1024px) {
  .card {
    margin: 0 0 16px 0;
    height: auto;
    min-height: 96%;
  }

  .side-card {
    width: 100%;
    margin-top: 32px;
    margin-left: 0px;
  }

  .side-card .btn {
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .card {
    margin: 0 0 16px 0;
  }

  .side-card {
    margin: 32px 0 0 0;
  }

  .side-card .btn {
    margin-bottom: 32px;
  }
}

@media (max-width: 490px) {
  .card {
    text-align: center;
    margin: 0 0 16px 0;
  }

  .side-card {
    margin: 0 0 32px 0;
  }

  .side-card .btn {
    margin-bottom: 32px;
  }
}
.contact h2 {
  font-size: var(--font-md);
  color: var(--primary-color);
  /* padding-top: 64px; */
  margin-bottom: 16px;
  transition: ease 0.3s;
}

.contact h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--dark-font-color);
  margin-bottom: 16px;
  transition: 0.3s;
}

.contact-content {
  align-items: center;
  justify-content: center;
  margin: 0 64px 64px 64px;
}

.contact-content h2 {
  font-size: var(--font-md);
  color: var(--primary-color);
  /* padding-top: 64px; */
  margin-bottom: 16px;
  transition: ease 0.3s;
}

.contact-content h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--dark-font-color);
  margin-bottom: 16px;
  transition: 0.3s;
}

/* .about h3:hover {
  -webkit-text-stroke: 1px var(--primary-color);
  -webkit-text-stroke: 1px #9cdc48;
  color: var(--light-background-color);
} */

.contact-content p {
  font-size: var(--font-small);
  color: var(--dark-font-color);
}

.contact {
  margin-top: 64px;
  text-align: center;
}

.contact-items {
  text-align: center;
  margin: 64px;
  padding: 0;
}

.contact-form {
  margin-left: 64px;
  margin-right: 64px;
}

.language-switch {
  font-size: var(--font-xs); /* petit texte */
  text-align: right;
  margin-bottom: 16px;
}

.language-switch a {
  font-size: var(--font-xs);
  text-decoration: underline;
  color: var(--primary-color)
}

.terms-note {
  font-size: var(--font-xs);
  color: var(--dark-font-color);
  margin-top: 8px;
}

.terms-note i {
  color: var(--primary-color);
  margin-right: 4px;
  font-size: 1em;
}

.terms-link {
  font-size: var(--font-xs);
  color: var(--dark-font-color);
  text-decoration: underline;
}

@media (max-width: 1400px) {
  .contact-content {
    margin: 0 0 64px 0;
  }

  .contact-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }

  .contact-form {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1024px) {
  .contact-content {
    margin: 0 0 64px 0;
  }

  .contact-form {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .contact-content {
    margin: 0 0 32px 0;
  }

  .contact {
    margin-bottom: 0;
  }

  .contact h3 {
    margin: 0 32px;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-items {
    margin: 32px;
    padding-bottom: 0;
  }

  .contact-form {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 490px) {
  .contact {
    margin-top: 32px;
    margin-bottom: 0;
  }

  .contact h3 {
    margin: 0 32px;
  }

  .contact-items {
    display: flex;
    flex-direction: column;
    margin: 32px 16px -32px 16px;
    padding-bottom: 0;
    gap: 0;
  }

  .contact-form {
    margin-left: 0;
    margin-right: 0;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 100%;
  max-width: 900px;
  background-color: rgba(38, 38, 38, 0.8);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--light-font-color);
  padding: 16px 32px;
  text-align: center;
  z-index: 1000;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cookie-banner.hidden {
  transform: translateX(-50%) translateY(calc(100% + 16px));
  opacity: 0;
}

.cookie-content {
  max-width: 1200px;
  text-align: center;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cookie-actions button {
  cursor: pointer;
}

.cookie-banner .btn-primary {
  border: solid 2px var(--primary-color);
}

.cookie-banner .btn-primary:hover {
  border: solid 2px #9cdc48;
}

.cookie-policy-link {
  color: var(--light-font-color);
  font-size: var(--font-xs);
  text-decoration: underline;
}

/* --- Page de gestion des cookies --- */
.cookies-box {
  position: relative;
  overflow: hidden;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.cookies-box::before {
  content: "\f564";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  font-size: 768px;
  pointer-events: none;
  color: var(--dark-background-color);
}

.cookie-title {
  margin-bottom: 32px;
}

.cookie-text {
  color: var(--light-font-color);
}

.cookie-policy-link {
  color: var(--light-font-color);
  font-size: var(--font-xs);
}

.cookie-description {
  margin-bottom: 32px;
}

.cookie-fieldset {
  border: none;
  /* padding: 16px; */
  margin-bottom: 32px;
}

.cookie-legend {
  font-weight: bold;
  font-size: var(--font-md);
  color: var(--dark-font-color);
}

.cookie-option {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 16px 0;
}

.cookie-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-small);
  color: var(--dark-font-color);
  font-weight: 400;
}

/* --- Boutons radio spécifiques aux cookies --- */
.cookie-input {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary-color);
  background: transparent;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.cookie-input:checked::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cookie-input:disabled {
  border-color: var(--dark-font-color);
  background: transparent;
  cursor: not-allowed;
}

.cookie-input:disabled::before {
  background: var(--dark-font-color);
}

/* --- Bouton d'enregistrement des préférences --- */
.btn-save-cookies {
  padding: 14px 25px;
  background-color: var(--primary-color);
  color: var(--light-font-color);
  font-size: var(--font-btn-primary);
  text-transform: uppercase;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin-top: 20px;
}

.btn-save-cookies:hover {
  background-color: var(--accent-hover);
}

@media screen and (min-width: 2000px) {
  .cookies-box::before {
    right: 18%;
  }
}

@media screen and (max-width: 1024px) {
  .cookie-banner {
    bottom: 0;
    flex-direction: column;
    padding: 16px;
    border-radius: 0;
    max-width: unset;
  }
  
  .cookie-banner.hidden {
    transform: translateY(100%);
  }

  .cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookies-box {
    max-width: unset;
  }

  .cookies-box::before {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    font-size: 512px;
  }
}

@media screen and (max-width: 550px) {
  .cookie-actions button {
    width: 100%;
  }

  .cookies-box::before {
    font-size: 256px;
  }
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-col {
  flex: 1;
}

.form-group {
  margin-bottom: 16px;
  width: 45%;
}

.form-group span {
  display: flex;
}

.form-group span small{
  font-size: var(--font-xs);
}

.form-group-message {
  margin-bottom: 24px;
}

.send-btn {
  margin-bottom: 0;
}

label {
  display: block;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
}

textarea {
  height: 128px;
}

.form-subscription {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-group {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.checkbox-group label {
  font-weight: normal;
  user-select: none;
}

.checkbox-group input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.checkbox-group label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: inline-block;
  user-select: none;
}

.checkbox-group label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--light-font-color);
  border: 2px solid #ccc;
  border-radius: 50%;
}

.checkbox-group input[type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  /* border: 2px solid #ccc; */
  border-radius: 50%;
}

@media (max-width: 768px) {

  .form-row {
    display: block;
  }

  .form-group {
    width: 100%;
  }

  .form-subscription {
    flex-direction: column;
    width: 100%;
  }

  .checkbox-group {
    display: flex;
    align-items: center;
  }
}
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 33.33%;  /* 3 images visibles */
  position: relative;
  height: 300px;      /* Hauteur fixe pour l'uniformité */
  overflow: hidden;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modification des boutons */
.carousel-button {
  position: absolute;
  top: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-button.prev {
  left: 16px;
}

.carousel-button.next {
  right: 16px;
}

@media (max-width: 768px) {
  .carousel-item {
    min-width: 50%;
  }
}

@media (max-width: 490px) {
  .carousel-item {
    min-width: 100%;
  }
}
.home-services .column {
  width: 25%;
}

.home-services .row {
  /* align-items: center; */
  display: flex;
  justify-content: space-around;
}

.home-sectors {
  margin-bottom: 64px;
}

.sectors-content {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 1200px;
}

.sectors-content h2 {
  font-size: var(--font-md);
  color: var(--primary-color);
  margin-bottom: 16px;
  transition: ease 0.3s;
}

.sectors-content h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--dark-font-color);
  margin-bottom: 16px;
  transition: 0.3s;
}

/* .sectors-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.sectors-list ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sectors-list ul li {
  margin: 0 24px;
  font-size: 16px;
  color: var(--dark-font-color);
} */

.sectors-list {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

.sectors-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  list-style-type: none;
  padding: 0;
}

.sectors-list ul li {
  flex: 1 1 calc(20% - 32px);
  text-align: center;
  margin: 0;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--dark-font-color);
  white-space: nowrap;
}

.sectors-map {
  margin-bottom: -64px;
  /* width: 100vw; */
  height: 450px;
}

.sectors-map iframe {
  width: 100%;
  height: 100%;
}

/* iframe:focus {
  outline: 2px solid var(--primary-color);
} */

.home-about .about p {
  margin-bottom: 24px;
}

.home-faq {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-container {
  max-width: 1200px;
}

.faq-content {
  text-align: center;
  margin-bottom: 32px;
}

.faq-content h2 {
  font-size: var(--font-md);
  color: var(--primary-color);
  margin-bottom: 16px;
  transition: ease 0.3s;
}

.faq-content h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--dark-font-color);
  margin-bottom: 16px;
  transition: 0.3s;
}

.faq-cta {
  text-align: center;
}

.faq-cta p {
  font-size: var(--font-small);
  color: var(--dark-font-color);
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.questions-container {
  max-width: 1200px;
  margin: 0 auto 64px auto;
}

.question {
  border-bottom: 1px solid var(--dark-font-color);
}

.question .faq-btn {
  width: 100%;
  background-color: var(--dark-background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 32px 16px;
  border: none;
  outline: none;
  text-align: left;
  font-size: var(--font-sm);
  color: var(--dark-font-color);
  font-weight: 600;
  cursor: pointer;
}

.question p {
  font-size: var(--font-small);
  color: var(--dark-font-color);
  max-height: 0;
  opacity: 0;
  line-height: 1.8;
  overflow: hidden;
  transition: all 0.6s ease;
}

.question a {
  color: var(--primary-color);
  transition: ease 0.3s;
}

.question a:hover {
  color: #9cdc48;
}

.d-arrow {
  transition: transform 0.3s ease;
  color: var(--dark-font-color);
}

.question p.show {
  max-height: 64rem;
  opacity: 1;
  padding: 0 16px 32px 16px;
}

.question .faq-btn .d-arrow.rotate {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .home-services .column {
    max-width: 49%;
    min-width: 48%;
    margin-right: 8px;
  }

  .home-services .column:nth-child(2n) {
    margin-right: 0;
    margin-left: 8px;
  }

  .home-services .row {
    flex-wrap: wrap;
  }

  /* .sectors-list ul {
    flex-direction: column;
    align-items: start;
  } */

  .question .faq-btn {
    background: var(--dark-background-color);
  }

  .home-contact {
    padding-top: 64px;
  }
}

@media (max-width: 768px) {
  .home-services .column {
    max-width: 49%;
    min-width: 48%;
    margin-right: 8px;
  }

  .home-services .column:nth-child(2n) {
    margin-right: 0;
    margin-left: 8px;
  }

  .home-services .row {
    flex-wrap: wrap;
  }

  .home-sectors {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .sectors-content {
    margin: 0 auto 32px;
  }

  .sectors-list {
    margin-bottom: 32px;
  }

  /* .sectors-list ul {
    flex-direction: column;
    align-items: start;
  } */

  .sectors-map {
    margin-bottom: -32px;
  }

  .questions-container {
    margin: 0 auto 32px auto;
  }

  .question .faq-btn {
    background: var(--dark-background-color);
    padding: 16px;
  }

  .home-contact {
    padding-top: 64px;
  }
}

@media (max-width: 490px) {
  .home-services .column {
    width: 100%;
    max-width: none;
    min-width: unset;
    margin-right: 0;
    order: 0;
  }

  .home-services .row .column:nth-child(2n) {
    margin-left: 0;
  }

  .home-services .row .column:nth-child(4) {
    order: -1;
  }

  .home-services .row {
    flex-direction: column;
  }

  .home-sectors {
    margin-bottom: 32px;
  }

  .sectors-content {
    text-align: left;
    margin-bottom: 32px;
  }

  /* .sectors-list ul {
    flex-direction: column;
    align-items: start;
  } */

  .sectors-list ul {
    justify-content: center;
    gap: 16px 0;
  }

  .sectors-list ul li {
    flex: 1 1 calc(50% - 16px);
    text-align: center;
  }

  .sectors-list ul li:nth-child(5) {
    flex: 1 1 100%;
    text-align: center;
  }

  .sectors-map {
    margin-bottom: -32px;
  }

  .home-about .about-image {
    padding: 0;
  }

  .faq-content {
    margin-bottom: 16px;
  }

  .faq-content h2 {
    text-align: left;
  }

  .faq-content h3 {
    text-align: left;
  }

  .question .faq-btn {
    padding: 16px 8px;
    background: var(--dark-background-color);
  }

  .question p.show {
    padding: 0 16px 32px 8px;
  }

  .faq-cta p {
    text-align: left;
  }

  .home-contact {
    padding-top: 64px;
    padding-bottom: 16px;
  }
}
div .item {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  margin: 0 32px 0 32px;
}

.item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color:white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-color);
  margin: 0 auto;
  margin-bottom: 24px;
  transition: 0.3s ease;
}

.caption {
  display: block;
}

.caption a {
  text-decoration: none;
  color: var(--primary-color);
  transition: 0.3s;
}

.caption a:hover {
  color: #9cdc48;
}

.caption {
  text-align: center;
  color: var(--dark-font-color);
  font-weight: bold;
  font-size: var(--font-small);
}

@media (max-width: 1024px) {
  div .item {
    display: flex;
    flex-direction: column;
  }

  .caption {
    margin-bottom: 64px;
  }
}

@media (max-width: 768px) {
  div .item {
    display: flex;
    flex-direction: column;
  }

  .caption {
    margin-bottom: 64px;
  }
}

@media (max-width: 490px) {
  div .item {
    display: contents;
  }

  .caption {
    margin-bottom: 64px;
  }
}
.legal-box {
  max-width: 1200px;
  margin: 0 auto;
}
:root {
  --primary-color: #8BC640;
  --light-font-color: #ffffff;
  --dark-font-color:  #121212;
  --light-background-color: #efefef;
  --dark-background-color:  #eaeaea;
  --components-color: #262626;

  --font-primary: "Poppins", Arial, sans-serif;

  --font-xl: 64px;
  --font-lg: 30px;
  --font-md: 20px;
  --font-sm: 18px;
  --font-small: 16px;
  --font-xs: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--light-background-color);
}

::selection {
  background: var(--primary-color);
  color: var(--light-font-color);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--light-font-color);
}

/* ::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: var(--components-color);
}

::-webkit-scrollbar-thumb {
  background: #424242;
} */

section {
  position: relative;
  padding: 64px 0;
}

.container {
  position: relative;
  margin: 0 64px;
  z-index: 1;
}

h1 {
  font-size: var(--font-xl);
  letter-spacing: 1px;
  line-height: 1.2;
}

h2 {
  /* font-size: var(--font-lg); */
  color: var(--primary-color);
  letter-spacing: 0.8px;
  line-height: 1.3;
}

h3 {
  /* font-size: var(--font-md); */
  color: var(--dark-font-color);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

p {
  font-size: var(--font-small);
  color: var(--dark-font-color);
  line-height: 1.8;
  letter-spacing: 0.4px;
}

a {
  font-size: var(--font-small);
  text-decoration: none;
  letter-spacing: 0.4px;
  line-height: 1.8;
}

li {
  font-size: var(--font-small);
  letter-spacing: 0.4px;
  line-height: 1.8;
}

label {
  font-size: var(--font-small);
  color: var(--dark-font-color);
  letter-spacing: 0.4px;
  line-height: 1.8;
}

@media screen and (min-width: 2000px) {
  .container {
    margin: 0 auto;
    max-width: 1600px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --font-xl: 32px;
    --font-lg: 30px;
    --font-md: 20px;
    --font-sm: 18px;
    --font-small: 16px;
    --font-xs: 12px;
  }

  section {
    position: relative;
    padding: 32px 0;
  }

  .container {
    margin: 0 16px;
  }
}
.promo {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: var(--font-md);
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  /* On prépare une transition sur l'opacité et le translate pour un effet doux */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Classe pour l'effet promo-fade-out */
.promo-fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

/* Classe pour l'effet promo-fade-in */
.promo-fade-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 490px) {
  .promo {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 48px;
  }
}
.card-sector {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 64px;
}

.card-sector-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 500px;
}

.card-sector-image iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-sector-text {
  flex: 2;
}

.card-sector-text h2 {
  color: var(--primary-color);
  font-size: var(--font-md);
  margin-bottom: 16px;
}

.card-sector-text h1 {
  font-size: var(--font-lg);
  color: var(--dark-font-color);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
}

.card-sector-text p {
  margin-bottom: 32px;
}

.card-sector-text a {
  color: white;
}

.card-sector-text .btn {
  display: inline-block;
  padding: 8px 24px;
  background-color: var(--primary-color);
  color: var(--light-font-color);
  border: none;
  border-radius: 4px;
  font-size: var(--font-small);
  cursor: pointer;
  transition: 0.3s;
}

#brossard-sector {
  flex-direction: row;
}

#longueuil-sector {
  flex-direction: row;
}

@media (max-width: 1024px) {
  .card-sector {
    flex-direction: column-reverse;
    align-items: center;
    gap: 64px;
  }

  .card-sector-image {
    width: 100vw;
    height: 400px;
    margin: 0 -16px -64px -16px;
  }

  .card-sector-text .btn {
    display: block;
    margin-left: 0 auto;
    margin-right: 0 auto;
  }

  #brossard-sector {
    flex-direction: column-reverse;
  }
  
  #longueuil-sector {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .card-sector {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }

  .card-sector-image {
    width: 100vw;
    height: 350px;
    margin: 0 -16px -32px -16px;
  }

  .card-sector-text .btn {
    display: block;
    margin-left: 0 auto;
    margin-right: 0 auto;
  }
}

@media (max-width: 490px) {
  .card-sector {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }

  .card-sector-image {
    width: 100vw;
    height: 350px;
    margin: 0 -16px -32px -16px;
  }

  .card-sector-text .btn {
    display: block;
    margin-left: 0 auto;
    margin-right: 0 auto;
  }
}
.card-service {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 64px;
}

.card-service-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: auto;
}

.card-service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-service-text {
  flex: 2;
}

.card-service-text h2 {
  color: var(--primary-color);
  font-size: var(--font-md);
  margin-bottom: 16px;
}

.card-service-text h1 {
  font-size: var(--font-lg);
  color: var(--dark-font-color);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
}

.card-service-text p {
  margin-bottom: 32px;
}

.card-service-text a {
  color: white;
}

.card-service-text .btn {
  display: inline-block;
  padding: 8px 24px;
  background-color: var(--primary-color);
  color: var(--light-font-color);
  border: none;
  border-radius: 4px;
  font-size: var(--font-small);
  cursor: pointer;
  transition: 0.3s;
}

#hedge-trimming {
  flex-direction: row;
}

#full-maintenance {
  flex-direction: row;
}

#land-opening-closing {
  flex-direction: row;
}

#paving-stone {
  flex-direction: row;
}

@media (max-width: 1024px) {
  .card-service {
    flex-direction: column-reverse;
    align-items: center;
    gap: 64px;
  }

  .card-service-image {
    width: 100vw;
    height: auto;
    margin: 0 -16px -64px -16px;  }

  .card-service-image img {
    width: 100%;
    height: 100%;
  }

  .card-service-text .btn {
    display: block;
    margin-left: 0 auto;
    margin-right: 0 auto;
  }

  #hedge-trimming {
    flex-direction: column-reverse;
  }
  
  #land-opening-closing {
    flex-direction: column-reverse;
  }

  #full-maintenance {
    flex-direction: column-reverse;
  }
  
  #paving-stone {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .card-service {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }

  .card-service-image {
    width: 100vw;
    height: auto;
    margin: 0 -16px -32px -16px;  }

  .card-service-image img {
    width: 100%;
    height: 100%;
  }

  .card-service-text .btn {
    display: block;
    margin-left: 0 auto;
    margin-right: 0 auto;
  }
}

@media (max-width: 490px) {
  .card-service {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }

  .card-service-image {
    width: 100vw;
    height: auto;
    margin: 0 -16px -32px -16px;
  }

  .card-service-image img {
    width: 100%;
    height: 100%;
  }

  .card-service-text .btn {
    display: block;
    margin-left: 0 auto;
    margin-right: 0 auto;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
