/*
Theme Name:     Wordpress Elementor Child
Theme URI:      https://www.koredge.fr
Description:    Thème Wordpress Elementor
Author:         Koredge
Author URI:     https://www.koredge.fr
Template:       wordpress-elementor
Version:        20260309
Text Domain:    wordpresselementor
*/


/*************************
*******  variables *******
**************************/

body {
    --kg--color--primary: var(--e-global-color-primary);
    --kg--color--secondary: var(--e-global-color-secondary);
    --kg--color--tertiary: var(--e-global-color-8cdee91);
    --kg--color--quaternary: var(--e-global-color-14b6598);
    --kg--color--quinary: var(--e-global-color-8e23bd4);
    --kg--color--senary: var(--e-global-color-e9bf7ca);
    --kg--color--septenary: var(--e-global-color-a432838);
    --kg--color--octonary: var(--e-global-color-53083f2);
}


/*************************
*****  tarteaucitron *****
**************************/

:root {
    --kg-tarteaucitron-background-color: #fff;
    --kg-tarteaucitron-color: #444;
    --kg-tarteaucitron-title-color: #333;
    --kg-tarteaucitron-button-background: var(--kg--color--primary);
    --kg-tarteaucitron-button-background-hover: var(--kg--color--secondary);
    --kg-tarteaucitron-button-font-size: 14px;
    --kg-tarteaucitron-button-color: #FFF;
    --kg-tarteaucitron-button-color-hover: #FFF;
    --kg-tarteaucitron-button-border-color: #eee;
}



/*************************
********  Boutons ********
**************************/

body .elementor-button.kg-button,
body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button {
    --kg-button-background: transparent;
    --kg-button-color: var(--kg--color--septenary);
    --kg-button-border: 1px solid var(--kg-button-color);
    --kg-button-padding: 17px 37px 18px 37px;

    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    background: var(--kg-button-background);
    border: var(--kg-button-border);
    color: var(--kg-button-color);
    display: inline-flex;
    padding: var(--kg-button-padding);
    border-radius: 100px;
    transition: .3s;
}

body .elementor-button.kg-button.kg-button--primary,
body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button {
    --kg-button-background: linear-gradient(84deg, var(--kg--color--senary) 0%, var(--kg--color--quinary) 50%, var(--kg--color--senary) 100%);
    --kg-button-color: white;
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: .6s;
}
body .elementor-button.kg-button.kg-button--secondary {
    --kg-button-background: linear-gradient(84deg, var(--kg--color--quaternary) 0%, var(--kg--color--tertiary) 50%, var(--kg--color--quaternary) 100%);
    --kg-button-color: white;
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: .6s;
}
body .elementor-button.kg-button.kg-button--transparent {
    --kg-button-background: transparent;
}
body .elementor-button.kg-button.kg-button--transparent:hover,
body .elementor-button.kg-button.kg-button--transparent:focus,
body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button:hover,
body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button:focus {
    background-color: var(--kg-button-color);
    color: white;
}
body .elementor-button.kg-button.kg-button--small {
    --kg-button-padding: 11px 33px 12px 33px;
}

body .elementor-button.kg-button.kg-button--primary:hover,
body .elementor-button.kg-button.kg-button--primary:focus,
body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button:hover,
body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button:focus,
body .elementor-button.kg-button.kg-button--secondary:hover,
body .elementor-button.kg-button.kg-button--secondary:focus {
    background-position: 0 0;
}

@media (max-width: 1024px) {

    body .elementor-button.kg-button,
    body.page .elementor-widget-shortcode .gform_wrapper.gform-theme.gform-theme--foundation .gform-footer .gform_button {
        --kg-button-padding: 12px 20px 12px 20px;
    }
    body .elementor-button.kg-button.kg-button--small {
        --kg-button-padding: 8px 14px 8px 14px;
    }
}



/******************************
*********  Breadcrumb  ********
*******************************/

.elementor-widget-breadcrumbs ul {
    padding-left: 0;
    list-style: none;
}
.elementor-widget-breadcrumbs ul li {
    display: inline-block;
}
.elementor-widget-breadcrumbs ul li:not(:last-child):after {
    content:"";
    width: 13px;
    height: 12px;
    display: inline-block;
    margin: 0 8px;
    vertical-align: -1px;
    background: url('data:image/svg+xml;charset=utf-8,<svg height="512" viewBox="0 0 32 32" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m29.7783 15.293-9.0713-9.0713a1.0109 1.0109 0 0 0 -1.707.707v4.0713h-16a1 1 0 0 0 -1 1v8a1 1 0 0 0 1 1h16v4.0713q.1808.9777 1 1a.9989.9989 0 0 0 .707-.293l9.0713-9.0713a1 1 0 0 0 0-1.414z" fill="%23656565"/></svg>') center no-repeat;
    background-size: contain;
}
.elementor-widget-breadcrumbs ul li a {
    transition: .3s;
}
.elementor-widget-breadcrumbs ul li a:hover,
.elementor-widget-breadcrumbs ul li a:focus {
    color: black!important;
    text-decoration: underline;
}




/*********************************
*********  Tabs produits  ********
**********************************/

#kg-product-tabs .e-n-tabs {
    align-items: center;
}
#kg-product-tabs .e-n-tabs-content {
    width: 100%;
    background: white;
    border-radius: 20px;
}
#kg-product-tabs .e-n-tabs-heading {
    background: white;
    padding: 5px 6px;
    border-radius: 100px;
}
#kg-product-tabs .e-n-tabs-heading button {
    background: white;
}
#kg-product-tabs .e-n-tabs-heading button:first-child {
    color: var(--kg--color--quaternary);
}
#kg-product-tabs .e-n-tabs-heading button:first-child:hover,
#kg-product-tabs .e-n-tabs-heading button:first-child:focus {
    background: #29CFCF20;
}
#kg-product-tabs .e-n-tabs-heading button:first-child[aria-selected="true"] {
    background: linear-gradient(84deg, var(--kg--color--quaternary) 0%, var(--kg--color--tertiary) 100%);
    color: white;
}

#kg-product-tabs .e-n-tabs-heading button:last-child {
    color: var(--kg--color--primary);
}
#kg-product-tabs .e-n-tabs-heading button:last-child:hover,
#kg-product-tabs .e-n-tabs-heading button:last-child:focus {
    background: #89BE4220;
}
#kg-product-tabs .e-n-tabs-heading button:last-child[aria-selected="true"] {
    background: linear-gradient(84deg, var(--kg--color--secondary) 0%, var(--kg--color--primary) 100%);
    color: white;
}


/******************************
*********  Réassurance  *******
*******************************/

.nt-reassurance__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.nt-reassurance__item-picto {
    display: flex;
}
.nt-reassurance__item-picto svg {
    fill: var(--kg--color--octonary);
    height: 50px;
    width: 50px;
}
.nt-reassurance__item-title {
    font-size: 1.0625rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--e-global-color-text);
    text-align: center;
}
.nt-reassurance .nt-swiper-navigation svg {
    height: 100%;
}

@media (max-width: 1200px) {
    .nt-reassurance__item {
        padding-inline: 36px;
    }
}
@media (max-width: 1024px) {
    .nt-reassurance__item {
        gap: 15px;
    }
    .nt-reassurance__item-picto svg {
        height: 36px;
        width: 36px;
    }
    .nt-reassurance__item-title {
        font-size: 0.875rem;
    }
}



/******************************
*********  Témoignages  *******
*******************************/

.nt-temoignages-listing {
    --temoignages-nb-columns: 1;

    display: grid;
    grid-template-columns: repeat(var(--temoignages-nb-columns), 1fr);
    grid-gap: 24px;
}
.nt-temoignages .swiper-slide {
    height: auto;
}
.kg-card-temoignage {
    background: white;
    border-radius: 20px;
    padding: 15px 13px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}
.kg-card-temoignage .kg-card-temoignage__header {
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.kg-card-temoignage.kg-card-temoignage--home .kg-card-temoignage__header {
    gap: 20px;
    justify-content: space-between;
    flex-direction: row;
}
.kg-card-temoignage .kg-card-temoignage__header-top {
    display: flex;
    gap: 10px;
    align-items: center;
}
.kg-card-temoignage .kg-card-temoignage__header-logo {
    flex: 0 0 35px;
    height: 35px;
    padding: 4px;
    border-radius: 100%;
    border: 1px solid #CECECE;
}
.kg-card-temoignage .kg-card-temoignage__header-title {
    font-size: 0.9375rem;
}
.kg-card-temoignage .kg-card-temoignage__header-subtitle {
    font-size: 0.75rem;
}
.kg-card-temoignage .kg-card-temoignage__category {
    font-size: 0.75rem;
    font-weight: 800;
    width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 10px;
    border-left: 3px solid currentColor;
}
.kg-card-temoignage .kg-card-temoignage__category--10 { /* Wastie O&A */
    border-image-slice: 1;
    border-image-source: linear-gradient(0deg, var(--kg--color--quinary), var(--kg--color--senary));
    color: var(--kg--color--primary);
}
.kg-card-temoignage .kg-card-temoignage__category--11 { /* Wastie C&P */
    border-image-slice: 1;
    border-image-source: linear-gradient(0deg, var(--kg--color--septenary), var(--kg--color--octonary));
    color: var(--kg--color--octonary);
}
.kg-card-temoignage__excerpt {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 0.75rem;
    color: var(--e-global-color-text);
}
.kg-card-temoignage__excerpt svg {
    fill: currentColor;
    display: inline;
    width: 15px;
    height: 15px;
    margin-right: 8px;
}
.kg-card-temoignage__excerpt a {
    display: inline-block;
    text-decoration: underline!important;
    color: currentColor!important;
    font-weight: bold;
    break-inside: avoid;
    transition: .3s;
}
.kg-card-temoignage__excerpt a:hover,
.kg-card-temoignage__excerpt a:focus {
    color: black!important;
}

@media (min-width: 1025px) {
    .kg-card-temoignage {
        padding: 24px;
        gap: 18px;
    }
    .kg-card-temoignage .kg-card-temoignage__header {
        gap: 18px;
    }
    .kg-card-temoignage .kg-card-temoignage__header-logo {
        flex: 0 0 65px;
        height: 65px;
        padding: 8px;
    }
    .kg-card-temoignage .kg-card-temoignage__header-title {
        font-size: 1.125rem;
    }
    .kg-card-temoignage .kg-card-temoignage__header-subtitle {
        font-size: 0.9375rem;
    }
    .kg-card-temoignage .kg-card-temoignage__category {
        font-size: 0.9375rem;
    }
    .kg-card-temoignage__excerpt {
        font-size: 0.9375rem;
    }

}



/******************************
***********  Divers  **********
*******************************/


.elementor-widget-text-editor a {
    text-decoration: underline!important;
}
.elementor-widget-text-editor li,
.nt-checklist li {
    list-style: none;
    position: relative;
    margin-bottom: 10px;
}
.elementor-widget-text-editor li:before,
.nt-checklist li.nt-checklist__item--default:before {
    content: "•";
    font-size: 24px;
    line-height: 1rem;
    position: absolute;
    top: 2px;
    left: -26px;
    color: var(--kg--color--quinary);
}

.nt-separateur-degrade {
    display: flex;
    height: 3px;
    width: 50px;
    background: linear-gradient(84deg, var(--kg--color--quinary) 0%, var(--kg--color--senary) 100%);
}


body .gform-theme--foundation .gform-body {
    --gf-form-gap-y: 30px;
    --gf-local-color: var(--kg--color--septenary);
    --gf-local-font-size: 1.0625rem;
    --gf-local-font-weight: 600;
}
body .gform-theme--foundation .gform-body label {
    color: var(--kg--color--septenary);
    font-size: 1.0625rem;
    font-weight: 600;
    flex-direction: row-reverse;
    align-items: start;
    flex-wrap: nowrap;
    justify-content: start;
}
body .gform-theme--foundation .gform-body .ginput_container input[type=text],
body .gform-theme--foundation .gform-body .ginput_container input[type=email],
body .gform-theme--foundation .gform-body .ginput_container input[type=tel],
body .gform-theme--foundation .gform-body .ginput_container input[type=number] {
    height: 50px;
}
body .gform-theme--foundation .gfield_required.gfield_required_asterisk {
    color: var(--kg--color--primary);
}
body .gform-theme--foundation .gform_required_legend {
    font-size: 0.9375rem;
    margin-bottom: 18px;
}

@media (max-width: 1024px) {
    body .gform-theme--foundation .gform-body {
        --gf-form-gap-y: 18px;
    }
    body .gform-theme--foundation .gform-body label {
        font-size: 0.8125rem;
    }
    body .gform-theme--foundation .gform-body .ginput_container input[type=text],
    body .gform-theme--foundation .gform-body .ginput_container input[type=email],
    body .gform-theme--foundation .gform-body .ginput_container input[type=tel],
    body .gform-theme--foundation .gform-body .ginput_container input[type=number] {
        height: 40px;
    }
    body .gform-theme--foundation .gform_required_legend {
        font-size: 0.8125rem;
    }
}


.kg-text-truncated:not(.kg-expanded) .kg-text-truncated__text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 1200px) {
    #nt-header {
        --header-sticky-offset: -46px;
        position: sticky;
        top: var(--header-sticky-offset);
        z-index: 1;
    }
}