/* 
 * Theme Name: KN Theme
 * Author: Agence KN
 *
 */

/* Gotham Black */
@font-face {
    font-family: 'Gotham';
    src: url('./font/Gotham-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Gotham Bold */
@font-face {
    font-family: 'Gotham';
    src: url('./font/Gotham-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Gotham Medium */
@font-face {
    font-family: 'Gotham';
    src: url('./font/Gotham-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* High Voltage Rough */
@font-face {
    font-family: 'High Voltage Rough';
    src: url('./font/HighVoltageRough.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Knockout HTF 48 Featherweight */
@font-face {
    font-family: 'Knockout HTF';
    src: url('./font/Knockout-HTF48-Featherweight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Inserat */
@font-face {
    font-family: 'Helvetica Inserat';
    src: url('./font/HelveticaInseratLTStd-Roman.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gotham';
    font-weight: 500;
}

input, button {
    font-family: 'Gotham'!important;
    font-weight: 500!important;
}

.gform-theme--framework .gfield_list_group_item::before, .gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
    font-family: 'Gotham'!important;
    font-weight: 500!important;
}

@media (min-width: 992px) {
    .content .limited {
        max-width: 1100px!important;
    }
}

.builder.columns .container {
    border-top: 3px solid #C5133D;
    border-bottom: 3px solid #C5133D;
}

/* Section colonnes principale */
body > main > article > section.builder.columns.c_white > div > div > div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: space-between;
    padding: 80px 0;
    width: 60%;
}

body > main > article > section.builder.columns.c_white > div > div > div:nth-child(1) > h3 {
    text-transform: uppercase;
    line-height: 50px;
    font-family: 'Helvetica Inserat';
}

body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) {
    width: 40%;
}

body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) > div {
    margin-left: -200px;
    height: 100%;
}

body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) > div > img {
    width: 600px;
    max-width: 100%;
    height: auto;
}

/* Responsive pour les sections colonnes */
@media (max-width: 768px) {
    body > main > article > section.builder.columns.c_white > div > div {
        flex-direction: column-reverse;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(1) {
        width: 100%;
        padding: 40px 0;
        align-items: center;
        text-align: center;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(1) > h3 {
        line-height: 35px;
        font-size: 24px;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) {
        width: 100%;
        order: -1;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) > div {
        margin-left: 0;
        text-align: center;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) > div > img {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(1) {
        padding: 30px 0;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(1) > h3 {
        line-height: 30px;
        font-size: 20px;
    }
    
    body > main > article > section.builder.columns.c_white > div > div > div:nth-child(2) > div > img {
        max-width: 300px;
    }
}

.red-label {
    color: white;
    font-weight: bold;
    background-color: #C5133D;
    padding: 10px 15px;
    border-radius: 50px;
    display: inline-block;
}

@media (max-width: 480px) {
    .red-label {
        padding: 8px 12px;
        font-size: 14px;
    }
}

.bold-red {
    color: #C5133D;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 16px;
}

@media (max-width: 480px) {
    .bold-red {
        font-size: 14px;
    }
}

.builder.form h2 {
    color: #343434;
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Helvetica Inserat';
}

.builder.form h3 {
    color: #C5133D;
    font-size: 28px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
}

/* Responsive pour les titres de formulaire */
@media (max-width: 768px) {
    .builder.form h2 {
        font-size: 32px;
    }
    
    .builder.form h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .builder.form h2 {
        font-size: 26px;
    }
    
    .builder.form h3 {
        font-size: 20px;
    }
}

.gform-theme--framework .gfield_list_group_item::before, .gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
    text-transform: uppercase;
    font-weight: 600!important;
    font-size: 15px!important;
}

@media (max-width: 480px) {
    .gform-theme--framework .gfield_list_group_item::before, .gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
        font-size: 13px!important;
    }
}

.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large {
    border-radius: 7px;
    border-color: #000000DD;
}

.gform-theme--framework:where(:not(.gform_editor)) .gfield--type-section {
    border-block-end: none!important;   
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    background-color: #C5133D!important;
    color: white!important;
    font-size: 18px!important;
}

@media (max-width: 480px) {
    .gform-theme.gform-theme--framework.gform_wrapper .button, 
    .gform-theme.gform-theme--framework.gform_wrapper input[type=submit] {
        font-size: 16px!important;
        padding: 12px 20px!important;
    }
}

.form .container {
    max-width: 1140px!important;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .form .container {
        padding: 0 20px;
    }
}

#gform_submit_button_2 {
    background-color: black!important;
}

#field_2_8 > div > table {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    #field_2_8 > div > table {
        font-size: 14px;
    }
}

body > div.tingle-modal.tingle-modal--noOverlayClose.gpnf-modal.gpnf-modal-2-8.tingle-modal--visible > div > div.tingle-modal-box__content > div.gpnf-modal-header, body > div.tingle-modal.tingle-modal--noOverlayClose.gpnf-modal.gpnf-modal-2-8.tingle-modal--visible > div > div.tingle-modal-box__footer > button.tingle-btn.tingle-btn--primary.gpnf-btn-submit {
    background-color: #C5133D!important;
}

body > div.tingle-modal.tingle-modal--noOverlayClose.gpnf-modal.gpnf-modal-2-8.tingle-modal--visible > div > div.tingle-modal-box__footer > button.tingle-btn.tingle-btn--default.gpnf-btn-cancel {
    background-color: #343434;
}

h3 {
    font-family: 'Gotham';
    font-weight: 700;
    font-size: 28px;
}

p {
    font-family: 'Gotham';
    font-weight: 500;
    font-size: 19px;
}

/* Responsive pour les textes généraux */
@media (max-width: 768px) {
    h3 {
        font-size: 24px;
    }
    
    p {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    h3 {
        font-size: 20px;
    }
    
    p {
        font-size: 16px;
    }
}

/* Hero Header */
.hero-header {
    height: 600px;
    background-image: url('./img/banner.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
}

.hero-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.hero-left {
    width: 50%;
}

.hero-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 300px;
    height: auto;
}

.hero-title {
    font-family: 'Helvetica Inserat', sans-serif;
    text-transform: uppercase;
    font-size: 52px;
    font-weight: 600;
    color: #C5133D;
    text-align: center;
    margin: 20px 0;
}

.hero-description {
    text-align: center;
    font-weight: bold;
    margin: 0;
}

/* Responsive Design Hero */
@media (max-width: 768px) {
    .hero-header {
        height: 500px;
        flex-direction: column;
        justify-content: center;
    }

    .hero-left {
        display: none;
    }

    .hero-content {
        width: 90%;
        padding: 0 20px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-description br {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-header {
        height: 400px;
    }

    .hero-content {
        width: 95%;
        padding: 0 15px;
    }

    .hero-logo {
        width: 150px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 14px;
    }
}

/* iPhone SE (375px) */
@media (max-width: 375px) {
    .hero-header {
        height: 350px;
    }

    .hero-logo {
        width: 130px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 13px;
    }
}

a {
     color:#C5133D!important;
}