/*
Theme Name: SDIP
Theme URI: https://www.sdip.com.fr
Author: Agence Web SDIP
Description: Thème Worpress personnalisé Roebling Capital
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sdip
*/

/* Variables globales */
:root {
    --primary-color: #e59d00;
    --primary-color-hover: #ffbf86;
    --text-color: #676767;
    --light-gray: #c8c8c8;
    --border-color: #c8c8c8;
    --font-family1: 'Sackers Gothic', Arial, sans-serif;
    --font-family2: 'GT America', Arial, sans-serif;
    --font-family2: 'Adrianna', Arial, sans-serif;
    --container-width: 1200px;
}
/*--------------------------------------------------------------
    BASE
--------------------------------------------------------------*/
html{ /*   scrollbar-width: thin;
    scrollbar-color: #000 #000;*/}
    body {
        font-family: var(--font-family2);
        font-weight: 400;
        font-size: 16px;
        color: var(--text-color);
        background-color: #fff;
        line-height: 30px;
        letter-spacing: 0.8px;
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
 /*   scrollbar-width: thin;
    scrollbar-color: #000 #000;*/
}

a{
    color: var(--primary-color);
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}
a:hover{
    color: var(--primary-color-hover);
}
/* selection*/
::selection {
  color: var(--text-color);
  background: var(--primary-color);
}
textarea, input {
    max-width: 100%;
}
img { object-fit: cover; max-width: 100%; height: auto; }
b, strong {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family1);
    font-weight: 500;
    letter-spacing: 0.8px;
    color: #000;
    word-break: normal !important;
}

h1{
    font-size: 26px;
}
h2{
    font-size: 24px;
}
h3{
    font-size: 22px;
}
h4{
    font-size: 20px;
}
h5{
    font-size: 18px;
}
h6{
    font-size: 16px;
}
p{margin-bottom:0; }

/*--------------------------------------------------------------
  STYLE GENERAL
--------------------------------------------------------------*/
.site-main{ min-height:600px; position: relative;}
/* Loader styles */
.roebling-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url('assets/img/loader.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 170px;
    opacity: 1;
    z-index: 9999;
}
.wp-block-separator {
    /* balise gutemberg <hr> */
    border-bottom: 1px solid;
}
/*--------------------------------------------------------------
  Boutons spectra
--------------------------------------------------------------*/
.sdip-btn-width-200 .wp-block-button__link{
    width: 200px;
}
.sdip-btn-width-250 .wp-block-button__link{
    width: 250px;
}
.sdip-btn .wp-block-button__link {
    cursor: pointer;
    position: relative;
    padding: 8px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: none !important;
    font-family: var(--font-family1);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    overflow: hidden;
    transition: color .25s ease;
    z-index: 1;
}
.sdip-btn .wp-block-button__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all .25s ease;
    z-index: -1;
}
.sdip-btn .wp-block-button__link:hover::before {
    transform: translateY(0);
}
/*----------------------------------------
    BOUTON PRIMAIRE
        Border Orange/texte noir
Hover : border/fond orange, texte blanc
-----------------------------------------*/
.sdip-btn.sdip-btn-primaire .wp-block-button__link{
    border: 1px solid var(--primary-color) !important;
    color: #000;
    background: rgba(0,0,0,0);

}
.sdip-btn.sdip-btn-primaire .wp-block-button__link::before{
    background: var(--primary-color);
}
.sdip-btn.sdip-btn-primaire .wp-block-button__link:hover,
.sdip-btn.sdip-btn-primaire .wp-block-button__link:focus {
    color: #fff;
    background: transparent;
}
/*----------------------------------------
    BOUTON SECONDAIRE
        Border/texte noir
Hover : border/fond orange, texte blanc
-----------------------------------------*/
.sdip-btn.sdip-btn-secondaire .wp-block-button__link{
    border: 1px solid #000 !important;
    color: #000;
    background: rgba(0,0,0,0);

}
.sdip-btn.sdip-btn-secondaire .wp-block-button__link::before{
    background: var(--primary-color);
}
.sdip-btn.sdip-btn-secondaire .wp-block-button__link:hover,
.sdip-btn.sdip-btn-secondaire .wp-block-button__link:focus {
    color: #fff;
    background: transparent;
    border: 1px solid var(--primary-color) !important;
}

/*----------------------------------------
    BOUTON TERTIAIRE
        Border/texte blanc
Hover : border/fond blanc, texte noir
-----------------------------------------*/
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link{
    border: 1px solid #fff !important;
    color: #fff;
    background: rgba(0,0,0,0);

}
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link::before{
    background: #fff;
}
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link:hover,
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link:focus {
    color: #000;
    background: transparent;
}
/*--------------------------------------------------------------
  GUTEMBERG
--------------------------------------------------------------*/
.wp-block {
    box-sizing: border-box; /* Inclut padding et bordures dans la largeur totale */
}
.alignfull {
    width: 100vw !important; /* Prend toute la largeur de la fenêtre */
    margin-left: calc(-50vw + 50%) !important; /* Compense le conteneur centré */
    margin-right: calc(-50vw + 50%)!important;
}

.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100% + 2rem); /* Ajustez la largeur selon vos besoins */
}



/* Ajout de l'effet zoom pour sdip-zoom */
.sdip-zoom {
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.sdip-zoom:hover {
    transform: scale(1.5);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.sdip-zoom::before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    background-size: inherit;
    background-position: inherit;
    background-repeat: inherit;
    opacity: 0.5;
    transition: transform 0.5s ease;
}

.sdip-zoom:hover::before {
    transform: scale(1.5);
    transition: transform 0.5s ease;
}
/* liste */
ul.liste{
  padding-left: 15px;
  list-style: none;
  margin: 0 10px;
}
ul.liste li::before{
content: ">";
margin-left: -15px;
position: absolute;
}
ul.liste li{
    line-height: 35px;
}

/*--------------------------------------------------------------
  colonne flex
--------------------------------------------------------------*/
/*.flex-col4{
    margin: 40px 20px;
    width: calc(25% - 40px);
}*/
/*--------------------------------------------------------------
  CONTACT
--------------------------------------------------------------*/
.sdip-image-area {
    position: relative;
    top: 0;
    overflow: hidden;
}
/*--------------------------------------------------------------
  ANTISPAMBOT
--------------------------------------------------------------*/

/* Cache le contenu original des emails/téléphones */
.sdip-email-part,
.sdip-phone-part {
    display: none !important;
}

/* Placeholders visibles jusqu'à l'exécution de JavaScript */
.sdip-email-placeholder,
.sdip-phone-placeholder {
    display: inline;
    color: var(--text-color); /* Couleur personnalisable */
    text-decoration: none;
}

/*-----------------------------------------------
  BANNIERE HERO
----------------------------------------------- */
.sdip-hero {
 transition: background-position 0.1s ease-out;
 background-size: auto !important;
 background-color:#212529;
}

/*-----------------------------------------------
  BLOC COMPTEUR
----------------------------------------------- */
.sdip-compteur::before, .sdip-compteur::after {
    -webkit-transform: translateZ(0);
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    content: '';
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0px;
    background: rgba(255,255,255,.25);
    z-index: -1;
}
.sdip-compteur::before,
.sdip-compteur::after {
    opacity: 1;
    width: 100%;
}
.sdip-compteur::before {
    top: 0;
    left: 0;
    border-bottom-left-radius: 1000%;
    border-bottom-right-radius: 1000%;
}
.sdip-compteur::after {
    bottom: 0;
    right: 0;
    border-top-left-radius: 1000%;
    border-top-right-radius: 1000%;
}
.sdip-compteur:hover .wp-block-uagb-counter__number,
.sdip-compteur:hover .wp-block-uagb-counter__title,
.sdip-compteur:hover .wp-block-uagb-counter__icon svg{
    color: #fff !important;
    fill: #fff;
}

.sdip-compteur:hover::before,
.sdip-compteur:hover::after {
    height: 50%;
    opacity: 1;
    border-radius: 0;
}
.sdip-compteur{
    padding:60px 40px 20px 40px;
}
.sdip-compteur .wp-block-uagb-counter__number{
    font-family: var(--font-family2);
    font-weight: bold;
    font-size: 100px;
    margin-bottom: 40px;
}
/* Les couleurs des chiffres*/
.sdip-compteur-jaune .wp-block-uagb-counter__number{
    color: #e59d00;
}
.sdip-compteur-orange .wp-block-uagb-counter__number{
    color: #e85d04;
}
.sdip-compteur-rouge1 .wp-block-uagb-counter__number{
    color: #d00000;
}
.sdip-compteur-rouge2 .wp-block-uagb-counter__number{
    color: #9d0208;
}
.sdip-compteur-rouge3 .wp-block-uagb-counter__number{
    color: #6a040f;
}
/* Les couleurs de fond */
.sdip-compteur.sdip-compteur-jaune:hover::before,
.sdip-compteur.sdip-compteur-jaune:hover::after {
    background-color: #e59d00;
}
.sdip-compteur.sdip-compteur-orange:hover::before,
.sdip-compteur.sdip-compteur-orange:hover::after {
    background-color: #e85d04;
}
.sdip-compteur.sdip-compteur-rouge1:hover::before,
.sdip-compteur.sdip-compteur-rouge1:hover::after {
    background-color: #d00000;
}
.sdip-compteur.sdip-compteur-rouge2:hover::before,
.sdip-compteur.sdip-compteur-rouge2:hover::after {
    background-color: #9d0208;
}
.sdip-compteur.sdip-compteur-rouge3:hover::before,
.sdip-compteur.sdip-compteur-rouge3:hover::after {
    background-color: #6a040f;
}

/*--------------------------------------------------------------
  Plan du site
--------------------------------------------------------------*/
.sitemap {
    padding: 2rem 0;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.sitemap-link {
    font-family: var(--font-family2);
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.sitemap-link:hover {
    color: var(--primary-color);
}

.sitemap-sublist {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sitemap-subitem {
    margin: 0.5rem 0;
}

.sitemap-sublink {
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    position: relative;
}
.sitemap-sublink::before {
    content: "-";
    position: absolute;
    left: -10px;
    top: 0;
}
.sitemap-sublink:hover {
    color: var(--primary-color);
}

.sitemap-category {
    font-family: var(--font-family2);
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .sitemap-sublist {
        padding-left: 1rem;
    }

}


/*-----------------------------------------------
  RESPONSIVE
----------------------------------------------- */

@media screen and (min-width: 768px) {
    body{
         font-size: 14px;
    }
    .sdip-image-area {
        position: sticky;
        height: 100vh;
    }
    .sitemap-sublist {
        padding-left: 2rem;
    }
/*-----------------------------------------------
  BANNIERE HERO
----------------------------------------------- */
    .sdip-hero {
     background-size: cover !important;
    }
}
