/*
Theme Name: Volavola
Theme URI: https://www.sdip.fr
Author: Agence Web SDIP
Description: SDIP Thème Wordpress Volavola
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
#fffdf5
#2E312B
*/
:root {
    --primary-color: #2E312B;
    --primary-color-hover: #676767;
    --text-color: #fffdf5;
    --light-gray: #676767;
    --border-color: #c8c8c8;
    --font-family1: 'SaaSeriesADOT', Arial, sans-serif;
    --font-family2: 'Riccione-Serial', Arial, sans-serif;
    --font-family3: 'SaaSeriesFD', Arial, sans-serif;
    --container-width: 1600px;
}

/*--------------------------------------------------------------
    Couleurs supplémentaires pour Gutenberg
--------------------------------------------------------------*/
.has-theme-vert-fonce-color {
    color: var(--primary-color);
}
.has-theme-vert-fonce-background-color {
    background-color: var(--primary-color);
}

.has-theme-blanc-creme-color {
    color: var(--text-color);
}
.has-theme-blanc-creme-background-color {
    background-color: var(--text-color);
}
/*--------------------------------------------------------------
    BASE
--------------------------------------------------------------*/
html{ /*   scrollbar-width: thin;
    scrollbar-color: #000 #000;*/}
body {
        font-family: var(--font-family2);
        font-weight: 400;
        font-size: 16px;
        color: var(--primary-color);
        background-color: #fffdf5;
        line-height: 1.3;
        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: #fffdf5;
  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: 400;
    color: var(--primary-color);
    word-break: normal !important;
    line-height: 1;
}

h1{
    font-size: 44px;
}
h2{
    font-size: 36px;
}
h3{
    font-size: 28px;
}
h4{
    font-size: 24px;
}
h5{
    font-size: 20px;
}
h6{
    font-size: 16px;
}
p{margin-bottom:0; }

/*--------------------------------------------------------------
  STYLE GENERAL
--------------------------------------------------------------*/
.site-main{ min-height:600px; position: relative;}
/* Loader styles */
.sdip-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 ;
    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 Gutemberg/spectra
--------------------------------------------------------------*/
.width-50{
    width: 50px;
}
.width-100 {
    width: 100px;
}
.width-100 {
    width: 150px;
}
.width-200{
    width: 200px;
}
.width-250 {
    width: 250px;
}
.width-300 {
    width: 300px;
}

.sdip-btn .wp-block-button__link {
    cursor: pointer;
    position: relative;
    padding: 5px 15px 3px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: none !important;
    font-family: var(--font-family1);
    font-size: 20px;
    text-transform: uppercase;
    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 noir, texte blanc, fond noir
Hover : border noir, texte noir , fond blanc
-----------------------------------------*/
.sdip-btn.sdip-btn-primaire .wp-block-button__link{
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}
.sdip-btn.sdip-btn-primaire .wp-block-button__link::before{
    background: var(--text-color);
}
.sdip-btn.sdip-btn-primaire .wp-block-button__link:hover,
.sdip-btn.sdip-btn-primaire .wp-block-button__link:focus {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
/*----------------------------------------
    BOUTON SECONDAIRE
        Border/texte noir, fond transparent
Hover : border/fond noir, texte blanc
-----------------------------------------*/
.sdip-btn.sdip-btn-secondaire .wp-block-button__link{
    background: rgba(0,0,0,0);
    border: 1px solid var(--primary-color) ;
    color: var(--primary-color);

}
.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 {
    border: 1px solid var(--primary-color) ;
    color: var(--text-color);
}

/*----------------------------------------
    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: var(--text-color);
    background: rgba(0,0,0,0);

}
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link::before{
    background: var(--text-color);
}
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link:hover,
.sdip-btn.sdip-btn-tertiaire .wp-block-button__link:focus {
    color: var(--primary-color);
    background: transparent;
}
/*----------------------------------------
    BOUTON QUATERNAIRE
        FOND/Border BLANC texte NOIR
Hover : border/TEXT blanc, fond transparent
-----------------------------------------*/
.sdip-btn.sdip-btn-quaternaire .wp-block-button__link{
    border: 1px solid #fff;
    color: var(--primary-color);
    background: var(--text-color);
    transition: all 0s ease;
}
/*.sdip-btn.sdip-btn-quaternaire .wp-block-button__link::before{
    background: rgba(255,255,255,0);
}*/
.sdip-btn.sdip-btn-quaternaire .wp-block-button__link:hover,
.sdip-btn.sdip-btn-quaternaire .wp-block-button__link:focus {
    color: var(--text-color);
    background: transparent;
}
/*--------------------------------------------------------------
  GUTEMBERG
--------------------------------------------------------------*/
.wp-block-buttons{gap: 20px;}
.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 */
}

/* Bloc fichier pdf (comme btn secondaire) */
.wp-block-file a.wp-block-file__button {
    cursor: pointer;
    position: relative;
    padding: 5px 15px 3px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: none !important;
    font-family: var(--font-family1);
    font-size: 20px;
    text-transform: uppercase;
    overflow: hidden;
    transition: color .25s ease;
    z-index: 1;

    background: rgba(0,0,0,0);
    border: 1px solid var(--primary-color) ;
    color: var(--primary-color);
}
.wp-block-file a.wp-block-file__button::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;

    background: var(--primary-color);

}

.wp-block-file a.wp-block-file__button:hover::before {
    transform: translateY(0);
}

.wp-block-file a.wp-block-file__button:hover {
    border: 1px solid var(--primary-color) ;
    color: var(--text-color);
}
/* 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;
}

/*--------------------------------------------------------------
  IMAGES
--------------------------------------------------------------*/
figure.is-style-rounded img{
    border-radius: 15px;
}
/*--------------------------------------------------------------
  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(--primary-color); /* Couleur personnalisable */
    text-decoration: none;
}

/*-----------------------------------------------
  BANNIERE HERO
----------------------------------------------- */
.sdip-hero {
 transition: background-position 0.1s ease-out;
 background-size: auto 120% !important;
 background-color:#212529;
}


/*--------------------------------------------------------------
  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(--primary-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(--primary-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: 1440px) {
.container{
    max-width:var(--container-width);
}

}


@media screen and (min-width: 768px) {
    h1{
        font-size: 48px;
    }
    h2{
        font-size: 40px;
    }
    h3{
        font-size: 32px;
    }
    h4{
        font-size: 28px;
    }
    h5{
        font-size: 24px;
    }
    h6{
        font-size: 20px;
    }
    .sdip-image-area {
        position: sticky;
        height: 100vh;
    }
    .sitemap-sublist {
        padding-left: 2rem;
    }
/*  BANNIERE HERO */
    .sdip-hero {
     background-size: cover !important;
    }
}
