/* IMPORT FONTS */
@font-face {
    font-family: 'Sans-Francisco Regular';
    src: url('../font/sanfranciscotext-regular.otf') format('opentype');
}

@font-face {
    font-family: 'Oswald Stencil';
    src: url('../font/Oswald-Stencil.ttf') format('opentype');
}

@font-face {
    font-family: 'SomethingWild Regulat';
    src: url('../font/somethingwild-regular.otf') format('opentype');
}

@font-face {
    font-family: 'Futura';
    src: url('../font/futuraStd-heavy.otf') format('opentype');
}

/* VARIABLES */
:root {
    --primary: #B92515;
    --disabled: #A6A6A6; 
}

/* GENERAL */
body {
    margin-bottom: 0;
    font-family: 'Futura', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    margin-top: 20px;
    flex: 1;
}

p {
    font-family: 'Futura';
    font-size: 1em;
}

h1, h3 {
    color: #fff;
    font-family: 'Oswald Stencil';
    display: inline-block;
    padding: 0 10px;
    background-color: var(--primary);
    margin: 0;
}

h2 {
    font-family: 'Futura';
    margin: 5px;
}

h3 {
    font-family: 'Futura';
    font-size: 1.5em;
    color: #000;
    background-color: transparent;
    padding: 0;
    margin: 15px 0 10px 0;
}

a {
    color: #B92515;
    text-decoration: underline;
}

a:visited {
    color: #B92515;
}

.button {
    background-color: #B92515;
    color: white;
    width: auto;
    font-family: 'Oswald Stencil';
    font-size: 2.5em;
    border: none;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: auto;
    cursor: pointer;
    padding: 10px 30px;
    transition: transform .1s;
}

.button:disabled {
    background-color: #A6A6A6;
    cursor: not-allowed;
}

.button:hover:not(:disabled) {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.bg-wave {
    background-image: url('../img/vague_grise.png');
    background-size: cover;
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-direction: row;
}

.uppercase {text-transform: uppercase;}
.txttransf-none {text-transform: none;}

.txtaligne-center {text-align: center;}

/* STYLE HEADER */
#logo {
    width: 120px;
    left: 0;
    top: 0;
    margin-left: 0;
    position: absolute;
    z-index: 3;
}

.logo-container {
    position: relative;
}

.logo-container::before {
    content: '';
    position:absolute;
    width: 80px;
    height: 80px;
    box-shadow: 0 20px 60px 0 rgba(0,0,0,.2);
    bottom: 30px;
    z-index: -1;
}

.logo-desktop {
    display: block;
    background-color: #fff;
    padding: 10px 10px 0;
}

.logo {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

#title {
    padding-left: 140px;
    margin-top: 30px;
}

#title p {
    margin-right: 50px;
}

/* STYLE MAIN */
#form_event {
    margin: auto;
    width: 70%;
}

.form_input, .condition_form {
    margin: 20px 10%;
}

.form_input h2 {
    font-family: 'Oswald Stencil';
    font-size: 2em;
}

.form_input h2 b {
    color: #B92515;
}

.form_input input[type="text"],
.form_input input[type="email"],
.form_input input[type="tel"],
.form_input input[type="number"] {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #B92515;
    text-align: left;
    font-family: 'Sans-Francisco Regular';
    width: 100%;
    font-size: 1em;
    padding: 5px 0;
}

.form_input select {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #B92515;
    text-align: left;
    font-family: 'Sans-Francisco Regular';
    width: 100%;
    font-size: 1em;
    padding: 5px 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

/* Correction pour iOS/Safari - éviter le style bleu par défaut */
.form_input select::-ms-expand {
    display: none;
}

.form_input select:focus {
    outline: none;
    border-bottom: 3px solid #B92515;
}

/* Pour iOS - éviter le style bleu du select */
@supports (-webkit-touch-callout: none) {
    .form_input select {
        -webkit-appearance: none;
        background-color: transparent;
        color: inherit;
    }
}

.error {color: #B92515;}

.condition_form label {
    font-family: 'Sans-Francisco Regular';
    margin-left: 10px;
}

.condition_form input[type="checkbox"] {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: auto;
    border: none;
}

.checkbox-group input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.checkbox-group label {
    font-family: 'Futura';
    font-size: 1em;
    cursor: pointer;
    margin: 0;
}

.info-text {
    font-family: 'Sans-Francisco Regular';
    font-size: 0.9em;
    font-style: italic;
    color: #666;
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-left: 3px solid var(--primary);
}

.hidden {display: none;}

/* STYLE FOOTER */
footer {
    margin-top: auto;
    text-align: center;
    padding: 40px 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.info-text b {
    color: #B92515;
}

/* RESPONSIVE */
@media screen and (max-width: 720px) {
    header {
        margin-top: 175px;
    }

    #title {
        padding: 0;
        text-align: center;
    }

    #title p {
        margin: 10px;
        font-size: 0.8em;
    }

    #form_event {
        width: auto;
    }

    footer {
        padding: 30px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    footer h2, footer h3 {
        font-size: 0.9em;
        word-wrap: break-word;
    }

    footer a {
        font-size: 0.85em;
        word-break: break-word;
    }
}

