/*
Theme Name: HubOrizon 2026
Theme URI: https://studio-orizon.fr
Author: Pierre Pivel
Author URI: https://studio-orizon.fr
Description: Theme HubOrizon
Version: 1.0
*/
:root {
    --menu-color:white;
    --bg-color: #ffffff;
    --text-color: #939393;
    --heading-color: #111111;
    --accent-color: #2cc3b5;
    --soustitre-color:#616161;
    --titreprincipal-color:#616161;
    --fond-gris:#f4f4f5;
    --fond-btn_bordure:#ffffff;
    --texte-btn_bordure:#37bea9;
    --fond-btn_bordure-hover:#37bea9;
    --fond-footer:#f4f4f5;
}
body.dark-mode {
    --menu-color:#343a40;
    --bg-color: #222222;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --accent-color: #25726a;
    --soustitre-color:white;
    --titreprincipal-color:white;
    --fond-gris:#373737;
    --fond-btn_bordure:#37bea9;
    --texte-btn_bordure:#ffffff;
    --fond-btn_bordure-hover:#444;
    --fond-footer:#373737;
}
body.dark-mode .card-projet{
    box-shadow: 0px 0px 0px #c6c6c6;
}
body {
  font-family: 'Lato', sans-serif;
  padding-top: 68px;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}
ul li::marker{
    color:#2cc3b5;
}
/********************************Transition en fondu sur le body****************************/
body {
  opacity: 0;
  transition: opacity 0.3s ease-in-out; /*Même durée que dans le JS*/
}
body.loaded {
  opacity: 1;
}
body.is-exiting {
  opacity: 0;
}
/**************************************Logo*****************************************/
.logo-dark {
  display: none;
}
body.dark-mode .logo-light {
  display: none;
}
body.dark-mode .logo-dark {
  display: inline;
}
/********************************Menu principal**********************************/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--menu-color);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
#main-menu a{
    color: #bfbfbf;
    transition: .5s;
}
/* Forcer l'affichage des sous-menus au survol */
.navbar-nav .menu-item-has-children:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease-in-out;
}
/* Corriger le comportement de Bootstrap */
.dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
/* Ajuster la position des sous-menus */
.navbar-nav .dropdown-menu {
    left: 0;
    top: 100%;
    margin-top: 0;
}
/* Positionner le sous-menu sous son parent */
.navbar-nav .menu-item-has-children {
    position: relative;
}
/* Ajustement de la position du dropdown */
.navbar-nav .dropdown-menu {
    left: 0 !important; 
    top: 100% !important; 
    margin-top: 0;
    width: auto;
    min-width: 200px; 
}
/* Pour éviter que les sous-menus s'affichent en dehors du conteneur */
.navbar-nav .dropdown-menu {
    transform: translateX(0);
}
/* Ajustement des sous-menus de deuxième niveau */
.navbar-nav .dropdown-menu .dropdown-menu {
    top: 0 !important;
    left: 100% !important; 
    margin-top: 0;
    margin-left: 0;
}
/* Style pour l'élément actif du menu */
.navbar-nav .current-menu-item > .nav-link,
.navbar-nav .current-menu-ancestor > .nav-link {
    color: #48b8a6 !important; /* Couleur du texte */
    font-weight: bold;
}
/* Effet hover menu */
.navbar-nav .nav-item:hover > .nav-link {
    color: #48b8a6 !important;
}
.navbar-nav .nav-item {
    margin: 0 5px;
}
.navbar-nav .nav-link {
    padding: 10px 15px; 
}
/*****************************************ProgressBar*******************************/
#progressbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px; 
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999; 
}
/* Barre de progression */
#progressbar .progression {
    width: 0%;
    height: 100%;
    background: #48b8a6;
    transition: width 0.1s linear; 
}
/************************************Titres*************************************/
h1{
    font-size: 28px;
    color: var(--titreprincipal-color);
    font-weight: 600;
}
h1.minititle{
    font-size: 16px;
}
h2{
    font-size: 28px;
    color: var(--titreprincipal-color);
    font-weight: 600;
}
h1.titreprincipal{
    font-size: 28px;
    color: var(--titreprincipal-color);
    font-weight: 600;
}
h2.titreprincipal{
    font-size: 28px;
    color: var(--titreprincipal-color);
    font-weight: 600;
}
h3, h3.soustitre{
    color: var(--soustitre-color);
    font-size: 18px;
    font-weight: 600;
}
h5{
    font-weight: 600;
    font-size: 16px;
    color: #656565;
}
.colortitle {
    color: #37bea9;
}
.colortitle-2 {
    color: #d15945;
}
.colortitle-3 {
    color: #47b6a5;
}
h2.titleslider{
    color: #47b6a5;
}
/*****************************Liens sur le site*********************************/
a{
    color: #48b8a6;
}
/*************************************Boutons**********************************/
.btn_gris{
    background-color: #444;
    margin: 5px;
    padding: 0 22px;
    font-size: 14px;
    line-height: 40px;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    transition-duration: .5s;
    border: 0;
}
.btn_gris:hover{
    background-color: #37bea9;
}
.btn_bordure{
    border: 2px solid #37bea9;
    margin: 5px;
    padding: 0 22px;
    font-size: 14px;
    line-height: 40px;
    color: var(--texte-btn_bordure);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    transition-duration: .5s;
    background-color: var(--fond-btn_bordure);
}
.btn_bordure:hover{
    background-color: var(--fond-btn_bordure-hover);
    color:white;
}
.wp-block-button.is-style-outline .wp-block-button__link{
    transition: .5s;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
    background-color: #48b8a6;
    color:white;
    border:2px solid #48b8a6;
}
/*********************************Icones bleues Accueil****************************/
i.pictoblue {
    color: #37bea9;
}
/******************************************Bloc Objectif****************************/
.bloc_objectif{
    background-color: var(--fond-gris);
}
.bloc_objectif:after {
    background-color: var(--fond-gris);
    content: '';
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 136px;
    position: absolute;
    left: 0;
    z-index: -1;
    margin-top: -5rem;
    transform: skewY(-3deg);
}
/***********************************BTN Réseaux sociaux***************************/
i.btnrsfb{
    color: #bfbfbf;
    font-size: 12px;
    border: thin solid #bfbfbf;
    padding: 4px 6px;
    border-radius: 2px;
    margin-right: 8px;
    transition: .5s;
}
i.btnrslink{
    color: #bfbfbf;
    font-size: 12px;
    border: thin solid #bfbfbf;
    padding: 4px;
    border-radius: 2px;
    transition: .5s;
}
i.btnrsfb:hover, i.btnrslink:hover{
    color: #48b8a6;
    border: thin solid #48b8a6;
}
/*******************************Ligne pointillée Accueil*************************************/
.containerlinepoint{
    display: flex;
    justify-content: center;
    align-items: center;
}
.vertical-linepoint{
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.linepoint{
    width: 4px;
    height: 15px;
    background-color: #2cc3b5; 
    border-radius: 2px;
}
/**********************************typewriter effect******************************/
.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
  color: #616161;
  font-weight: bold;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Apparence du texte tapé*/
#typewriter {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}
/*******************************Slick Partenaires****************************/
.slick_partenaires img {
    padding: 20px;
    width: 75%;
}
.slick_partenaires .slick-slide{
display: flex !important;       
  justify-content: center;
  align-items: center;
  height: 160px; 
}
.slick_partenaires img {     
  object-fit: contain;
}
/*********************************Page************************************/
.slogan-page{
    font-style: italic;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}
body {
    overflow-x: hidden;
}
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.alignfull > .wp-block-group__inner-container,
.alignfull > .is-layout-constrained,
.alignfull > .wp-block-group-is-layout-constrained {
    width: 100%;
    max-width: 1320px; /* largeur container Bootstrap XL */
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 768px) {
    .alignfull > .wp-block-group__inner-container,
    .alignfull > .is-layout-constrained,
    .alignfull > .wp-block-group-is-layout-constrained {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}
/*********************************À propos******************************/
.timeline-container {
  position: relative;
  padding: 60px 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 80px;
  position: relative;
}

/* Ligne verticale pointillée */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-image: repeating-linear-gradient(
    to bottom,
    #d2d2d2,
    #d2d2d2 4px,
    transparent 4px,
    transparent 8px
  );
  z-index: 0;
}

/* Cercle central avec halo pointillé */
.timeline-icon {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  outline: 2px dotted #d2d2d2;
  background-clip: padding-box;
  z-index: 2;
}

.timeline-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #48b8a6;
  z-index: 1;
}
.timeline-icon-2 {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  outline: 2px dotted #d2d2d2;
  background-clip: padding-box;
  z-index: 2;
}
.timeline-icon-2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #d15945;
  z-index: 1;
}
.timeline-icon-3 {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  background-clip: padding-box;
  z-index: 2;
}
.timeline-icon-3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg); /* Ajout de rotate */
  background-color: #c3e1d0;
  z-index: 1;
}
.timeline-left,
.timeline-right {
  flex: 1;
}

.timeline-center {
  width: 60px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.timeline-content {
  max-width: 500px;
}

@media screen and (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .timeline-left,
  .timeline-right {
    text-align: center;
  }
}
@keyframes customPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4); /* Zoom plus fort que le pulse original */
  }
  100% {
    transform: scale(1);
  }
}

.animate__custom-pulse {
  animation-name: customPulse !important;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
/*********************************Liste projet****************************/
#liste-projets-container.loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.btn.btn-projet{
    background-color:#dedede;
    border-radius: 0;
    color: #696969;
}
.btn.btn-projet:hover{
    background-color:#d4d4d4;
}
.btn.btn-projet.active{
    background-color: #48b8a6;
    color: white;
}
.card-projet {
  overflow: hidden;
  position: relative;
  background-color: #f7f7f7;
  /*border-radius: 10px;*/
  box-shadow: 0px 0px 8px #d7d7d7;
}
.projet-inner {
  overflow: hidden;
  position: relative;
  height: 290px;
}
.projet-inner-home {
  overflow: hidden;
  position: relative;
  height: 250px;
}
.img-projet {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-projet:hover .img-projet {
  transform: scale(1.05);
}
.overlay-projet {
  position: absolute;
  inset: 0;
  background-color: rgba(72, 184, 166, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card-projet:hover .overlay-projet {
  opacity: 1;
}
h2.titeralisations{
    color: #48b8a6;
    font-weight: 900;
}
h2.titepage{
    font-weight: 900;
    font-size: 22px;
    color: var(--titreprincipal-color);
}
.partage_rea a{
    text-decoration: none;
    color:#48b8a6;
    transition: .3s;
}
.partage_rea a:hover{
    color:#d15945;
}
.partage_rea p{
    margin-bottom:5px;
}
.partage_rea i{
    margin-right: 10px;
    font-size: 18px;
}
/***************************************Liste projets home***********************/
.badge-categorie {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

/* Couleurs dynamiques par catégorie */
.cat-cartes-de-visite {
    background-color: #e91e63;
}

.cat-boutique-en-ligne {
    background-color: #3f51b5;
}

.cat-site-vitrine {
    background-color: #4caf50;
}

.cat-logos {
    background-color: #ff9800;
}

.cat-affiches {
    background-color: #82d11c;
}
.cat-autre {
    background-color: #b95eec;
}
.cat-catalogues-brochures {
    background-color: #7d4572;
}
.cat-flyers {
    background-color: #4aa4d2;
}
.slick_projetshome h5{
    
}
.slick-prev-projets, .slick-next-projets {
    background: none;
    border: none;
    color: #48b8a65c;
    font-size: 1.5rem;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition:.5s;
}

.slick-prev-projets {
    left: -40px;
}

.slick-next-projets {
    right: -40px;
}

.slick-prev-projets:hover,
.slick-next-projets:hover {
    color: #48b8a6; /* Couleur au hover */
}
/****************************************Single projet****************************/
.sticky-box {
  position: sticky;
  top: 100px; /* distance depuis le haut au scroll */
  transition: transform 0.3s ease; /* optionnel pour adoucir les changements */
}
/*Galerie des projets*/
#studioorizon-gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#studioorizon-gallery-preview li {
  list-style: none;
  border: 1px solid #ccc;
  padding: 4px;
  background: #fff;
}
.navigation-projets a{
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s ease;
}
.navigation-projets a:hover{
    color:#d15945;
}
.imgprojet .img-fluid {
    border: 2px solid #f4f4f4;
}
/************************************Back to top*******************************/
#back-to-top {
  position: fixed;
  bottom: 95px;
  right: 15px;
  display: none;
  font-size: 20px;
  background-color: #48b8a6;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  z-index: 999;
  transition: .5s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#back-to-top:hover {
  background-color: #369c90;
}
/********************************************Contact Form 7**************************************/
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.nogap-nomargin{
    gap: 0px;
    margin-bottom: 0px;
}
.form-group {
  flex: 1;
  min-width: 250px;
}

.form-group.full {
  flex-basis: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
input[type="submit"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #48b8a6;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #369c90;
}
.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #48b8a6;
    cursor: pointer;
}
.form-checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.form-checkboxes .wpcf7-list-item {
    width: 33.33%; /* 3 colonnes */
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: top;
}
/* Responsive : empile les colonnes en dessous de 768px */
@media (max-width: 767px) {
  .form-row.two-cols {
    flex-direction: column;
  }
}
/********************************************Footer******************************************/
.prefooter{
    background-color: #444;
    font-size: 0.8rem;
    color:white;
}
footer{
    background-color: var(--fond-footer);
    font-style: italic;
    font-size: 0.8rem;
}
footer a{
    color: #939393;
}
/********************************Switch dark/light mode****************************************/
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background-color: var(--accent-color, #3b82f6);
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.switch .slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
  z-index: 1; 
}
.switch .icon-moon,
.switch .icon-sun {
  position: absolute;
  top: 7px;
  font-size: 14px;
  z-index: 3;
  transition: opacity 0.3s;
  color: white;
}
.switch .icon-moon {
  left: 8px;
  opacity: 1;
}
.switch .icon-sun {
  right: 8px;
  opacity: 1;
}
#switch {
  display: none;
}
#switch:checked + .switch .slider {
  transform: translateX(30px);
}
/************************************Responsive**************************************/
@media (max-width: 1440px) {
    .container.menu-adapt{
        margin: 0% 6%;
    }
}
@media (max-width: 1090px) {
    .container.menu-adapt {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 15px;
        margin-right: 15px;
    }
}
@media (min-width: 992px) and (max-width: 1090px) {
    .theme-toggle {
        top: 20px;
        left: 115px;
    }
}
@media (min-width: 992px) {

    /* On centre le CONTENU complet */
    #main-menu {
        display: flex;
        justify-content: center;
    }

    /* On regroupe menu + RS */
    #main-menu > .navbar-nav,
    #main-menu > .rs-menu {
        display: flex;
        align-items: center;
    }

    /* On supprime tous les auto margin Bootstrap */
    #main-menu .navbar-nav {
        margin: 0 !important;
    }

    /* Petit espace entre menu et RS */
    .rs-menu {
        margin-left: 20px;
        gap: 10px;
    }
}
@media (max-width: 991px) {
    .navbar-nav .nav-item {
        margin: 0; /* Supprime les marges sur mobile */
    }
    .navbar-nav .nav-link {
        padding: 12px 10px; /* Ajuste le padding pour ne pas trop espacer */
    }
    .theme-toggle {
        right: 90px;
    }
    #main-menu a{
        text-align: center;
        font-size: 20px;
    }
    div.rs-menu{
        text-align: center;
        margin-top: 8px;
    }
    i.btnrsfb{
        font-size: 30px;
        padding: 4px 15px;
    }
    i.btnrslink{
        font-size: 30px;
        padding: 4px 12px;
    }
    body.dark-mode .navbar-toggler {
        background-color: #48b8a6 !important;
    }
}
@media (max-width: 768px) {
    h2.titreprincipal {
        font-size: 25px;
    }
    .form-checkboxes{
        font-size: 12px;
    }
}
@media (max-width: 425px) {
    h2.titreprincipal {
        font-size: 20px;
    }
    .form-checkboxes{
        font-size: 10px;
    }
}