/* /css/style_inscription_newsletter.css */

/* Section 1 - accueil */
.hero-section {
    position: relative;
    background-image: url('/images/construction.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
}

/* Contenu de la section */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Sous-titre de la section */
.hero-subtitle {
    font-size: clamp(0.875rem, 0.38vw + 0.8rem, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Titre principal de la section */
.hero-title {
    font-size: clamp(3.5rem, 2.63vw + 2.99rem, 5.25rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    line-height: 1.08;
    margin-bottom: 20px;
}

/* Description de la section */
.hero-description {
    font-size: clamp(1.125rem, 0.56vw + 1.02rem, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 40px;
}

/* Bouton principal de la section */
.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffffff;
    color: #111111;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-button:hover {
    background-color: #f0f0f0;
}

/* Section 2 - Présentation */
.hero-section-2 {
    padding: 100px 20px;
    position: relative;
    z-index: 8;
}

/* Contenu principal de la section */
.section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 140px;
    gap: 50px;
}

/* Contenu textuel */
.text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

/* Titre principal */
.text-content .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 1.69rem + 4.14vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    line-height: 1.16;
}

/* Sous-titre */
.text-content .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

/* Bouton d'appel à l'action */
.cta-button {
    margin-top: 30px;
    margin-left: 140px;
    display: block;
    padding: 15px 30px;
    background-color: #111111;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    border: none;        /* Ajoutez cette ligne pour enlever tout rebord */
    outline: none;       /* Supprime le focus outline par défaut, si besoin */
    cursor: pointer;     /* Pour s’assurer que l’on ait un pointeur "main" */
}

.cta-button:hover {
    background-color: #333333;
}

/* Contenu image */
.media-content {
    flex: 1;
    max-width: 700px;
    overflow: hidden;
    text-align: center;
}

.background-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* Section Points clés */
.key-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

/* Points clés */
.key-point {
    flex: 1;
    max-width: 300px;
    padding: 20px;
    text-align: center;
}

.key-point:last-child {
    border-right: none;
}

.key-point h3 {
    font-size: clamp(1.5rem, 1.39rem + 0.56vw, 1.875rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 10px;
}

.key-point p {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
    /* Pour empiler les éléments verticalement */
    .section-content {
        flex-direction: column;
        align-items: center; /* Centre le texte, le bouton, et l'image */
        padding: 20px 20px;
    }

    .cta-button{
        margin-left: 0px;
        display: inline-block; 
    }

    .text-content {
        text-align: center; /* Centre le texte et le bouton sur petits écrans */
    }

    .media-content {
        order: 2; /* Place l'image sous le texte et le bouton */
        margin-top: 20px; /* Espace supplémentaire au-dessus de l'image */
    }

    .key-points {
        flex-direction: column;
        border-top: none;
        border-bottom: none;
        align-items: center;
    }

    .key-point {
        border-bottom: 1px solid #e1e1e1;
        text-align: center;
    }

    .key-point:last-child {
        border-bottom: none;
    }
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
    .support-and-media-section {
        flex-direction: column;
        align-items: center;
    }

    .support-section, .media-section {
        flex: 1 1 100%;
        max-width: 300px;
    }

    .logos-container {
        justify-content: center;
    }

    .logo {
        max-width: 100px;
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .feature-block {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .feature-text {
        max-width: 50%;
    }

    .feature-media {
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .feature-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-media {
        align-self: center;
    }
}

/* Messages de succès/erreur */
.message {
    font-size: 1rem;
    margin: 20px auto;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.message.success {
    color: green;
}

.message.error {
    color: red;
}

/* Style pour le champ de saisie e-mail */
input[type="email"] {
    width: 100%;
    max-width: 400px;  /* pour limiter la largeur maxi sur écrans larges */
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    border: 2px solid #ccc;
    border-radius: 30px; /* arrondi plus marqué */
    background-color: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none; /* enlève le contour par défaut au focus */
}

input[type="email"]:focus {
    border-color: #BAA883; /* couleur de la bordure au focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); /* halo bleuté */
}

/* Style du placeholder (le texte d’exemple) */
input[type="email"]::placeholder {
    color: #999; /* couleur grisée du placeholder */
    font-style: italic; /* italique pour le distinguer du texte saisi */
}

/* Ligne de formulaire email + select */
.waitlist-form .form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 400px; /* aligne avec l'input email */
}

/* Style du <select> cohérent avec l'input */
.waitlist-form select[name="intention_ticket"] {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    border: 2px solid #ccc;
    border-radius: 30px;
    background-color: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    appearance: none; /* style natif masqué (optionnel) */
}

.waitlist-form select[name="intention_ticket"]:focus {
    border-color: #BAA883;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Aide sous le bouton */
.waitlist-form .form-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive : empiler proprement sur mobile */
@media (max-width: 768px) {
    .waitlist-form .form-row {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
    }
}
