/*
 Theme Name:   RIGG Factory
 Description:  Theme pour RIGG Factory
 Author:       We used to be friends
 Template:     twentytwelve
*/
html {
    scroll-behavior: smooth;
}
body .site {
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    width: 100%;
    padding: 0;
}
.site {
    max-width: 100%;
}
a {
    outline: none;
}
a:focus,
a:focus-visible{
    outline: none;
    box-shadow: none;
}
body #page {
    background: #0b0b0f;
    color:white;
}
.entry-content p, .entry-summary p, .comment-content p, .mu_register p {
    hyphens: none; -moz-hyphens: none; -webkit-hyphens: none;
}
body {
    font-family: "League Gothic", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}
.entry-content h1 {
    font-family: "League Gothic", sans-serif;
    font-size: 85px;
    color:white;
    text-transform: uppercase;
    line-height: 1.1;
}
.entry-content h2, .comment-content h2, .mu_register h2 {
    font-family: "League Gothic", sans-serif;
    font-size: 80px;
    color:white;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 40px;
}
.entry-content h3, .comment-content h3 {
    font-family: "League Gothic", sans-serif;
    font-size: 40px;
    color:white;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}
h4 {
    font-family: "League Gothic", sans-serif;
    font-size: 30px;
    color:white;
    text-transform: uppercase;
}
p {
    font-family: 'Open Sans';
    font-size: 16px;
    color: white;
    line-height: 1.6 !important;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px !important;
    position: fixed;
    top: 0;
    width: -webkit-fill-available;
    background: #0b0b0f;
    z-index: 999;
    transition: all 0.3s linear;
}

.logosite {
    width: 200px;
    height: auto;
    display: block;
    transition:
            width .6s cubic-bezier(.2,.8,.2,1),
            transform .6s cubic-bezier(.2,.8,.2,1),
            filter .6s cubic-bezier(.2,.8,.2,1);
    will-change: width, transform, filter;
}

hgroup {
    display: flex !important;
    align-items: center !important;
}

header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 11, 15, 0.92);
    backdrop-filter: blur(8px);
    padding: 8px 30px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    transform: translateY(0);
}
header.is-sticky .logosite {
    width: 150px;
    transform: translateY(0);
    filter: saturate(1.05);
    margin-top: 0px;
}
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
    border-bottom: none;
    border-top: none;
    text-align: right;
    font-family: "League Gothic", sans-serif;
    font-size: 30px !important;
    color: white !important;
    text-transform: uppercase;
}
.main-navigation li a {
    font-size: 25px !important;
    color: white !important;
    font-weight:normal !important;
    outline: none;
    position: relative;
    line-height: 1.1;
    text-decoration: none;
    margin: 0 0 0 40px;
}
.main-navigation {
    margin-top: 0;
    display: flex;
    align-items: center;
}
.main-navigation li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.main-navigation li a:hover::after,
.main-navigation li a:focus-visible::after{
    transform: scaleX(1);
}
.main-navigation li a:focus,
.main-navigation li a:focus-visible{
    outline: none;
    box-shadow: none;
}

.main-navigation {
    margin-top:0;
}
.bloccont {
    max-width:1400px;
    padding:0 40px;
    margin:0 auto;
}
.site-content {
    width: 100%;
}
.boutonlien {
    font-family: "League Gothic", sans-serif;
    font-size: 30px;
    color: white;
    text-transform: uppercase;
    padding:7px 16px;
    border-radius:25px;
    border:2px solid white;
    text-decoration:none;
    transition:0.2s;
}
.boutonlien:hover {
    background:white;
    color:black;
}
.hero-medias{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;  /* grande zone + 2 colonnes petites */
    grid-template-rows: 240px 240px;       /* ajuste la hauteur */
    gap: 50px;
    margin-top: -180px;
}

.hero-media{
    border-radius: 22px;
    overflow: hidden;
}

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


.hero-media--big{
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    margin-bottom: -220px;
}

.hero-media--tm{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: -130px;
}

.hero-media--tr{
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.hero-media--br{
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    margin-bottom: -110px;
}

@media (max-width: 900px){

    .hero-medias{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .hero-media{ aspect-ratio: 4/3; }
    .hero-media--big{
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16/9;
    }
}
.flex-pres {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.presentation {
    margin: 300px 0 80px;
    padding: 50px 0 70px;
    background: #101116;
}
.contenu-pres {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contimg-pres {
    width: calc(50% - 20px);
    padding-right: 0;
}
.contimg-pres img {
    border-radius: 25px;
}
.description {
    width: calc(50% - 20px);
    padding-right: 0;
    display: flex;
    align-items: center;
}

.cont-hero{
    width: 100%;
    position: relative;
    max-width: 520px;
}
.galerie-swiper .swiper-slide{
    height: auto;
}

.galerie-swiper img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.galerie-swiper{
    padding: 0 !important;
    max-width:1400px;
}
.swiper-slider {
    text-align: center;
}
.swiper-slide img {
    border-radius:25px;
    height:auto;
    max-width: 190px;
    max-height: 140px;
}
.swiper-button-next, .swiper-button-prev {
    color: #ffffff;
}
.galerie-swiper {
    overflow: hidden;
}
.galerie-swiper a{
    display: block;
}
.titre-partenaire {
    margin-top:80px;
    text-align:center;
}
.swiper-backface-hidden .swiper-slide {
    text-align: center;
}
.prestations {
    padding:80px 0;
}
.cont-presta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.prestation {
    width: calc(25% - 20px);
    padding-right: 0;
    text-align: center;
}
.cont-ref {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.reference {
    width: calc(33.333% - 40px);
    padding-right: 0;
    margin-bottom:40px !important;
}
.reference a {
    text-decoration:none;
}
.references {
    background: #101116;
    padding: 80px 0;
}
.site-content article {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
h3.reference-title {
    margin:10px 0;
}
.reference-thumb img {
    border-radius:25px;
}
.reference-thumb{
    overflow: hidden;
    border-radius: 25px;
}

.reference-thumb img{
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.reference:hover .reference-thumb img{
    transform: scale(1.08);
}
.flex-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contenu-contact {
    width: calc(50% - 20px);
    padding-right: 0;
}
.formulaire {
    width: calc(50% - 20px);
    padding-right: 0;
}
.contact {
    padding: 80px 0;
}
footer[role="contentinfo"] {
    border-top: none;
}
.intro {
    margin-top: 200px;
}
.logos-slider{
    display: flex;
    align-items: center;
    gap: 24px;
}

.logos-prev,
.logos-next{
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}
.logos-prev,
.logos-next{
    color: #d5d5d5;
}
.logos-prev:hover,
.logos-next:hover{
    color: #d5d5d5;
    background:transparent !important;
    opacity: 1;
}
.logos-prev,
.logos-next{
    outline: none;
}

.logos-prev:focus,
.logos-next:focus,
.logos-prev:active,
.logos-next:active,
.logos-prev:focus-visible,
.logos-next:focus-visible{
    outline: none;
    box-shadow: none;
}
.logos-prev:focus,
.logos-next:focus{
    outline: none;
    border:none;
    background:transparent;
}

.logos-prev::before,
.logos-next::before{
    font-size: 42px;
    line-height: 1;
    display: block;
}

.logos-prev::before{
    content: "‹";
}

.logos-next::before{
    content: "›";
}

.gform_title {
    display:none;
}
.gfield_label {
    font-family: "League Gothic", sans-serif !important;
    font-size: 20px !important;
    color:white !important;
    text-transform: uppercase;
}
.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large, .gform-theme--foundation .gfield textarea.large {
    inline-size: 100%;
    background: #191a20;
    border: none;
    color: white;
}
.galerie-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
}
#gform_submit_button_1 {
    font-family: "League Gothic", sans-serif !important;
    font-size: 30px !important;
    color: white !important;
    text-transform: uppercase !important;
    padding: 7px 16px !important;
    border-radius: 25px !important;
    border: 2px solid white !important;
    text-decoration: none !important;
    transition: 0.2s !important;
    background: transparent !important;
}
#gform_submit_button_1:hover {
    background:white !important;
    color:black !important;
}
.site-header h1 {
    line-height: 0;
}