:root {
    --primary-text-color: #ffffff;
    --primary-bg-color: #1f3058;
    --card-bg-color: rgba(255, 255, 255, 0.1);
    --card-text-color: rgba(255, 255, 255, 0.8);
    --transition-standard: 0.3s ease;
}

#screen1 {
    height: 90vh;
    padding-top: 10vh;
}

#screen1-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: clamp(0.7em, 1vw, 1em);
    padding: 0 1rem;
}

#logo-sticky {
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 30%;
    max-width: 300px;
}

#screen2-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(0.7em, 1vw, 1em);
    padding: 2rem 1rem;
    gap: 2rem;
}

.screen-left {
    color: var(--primary-text-color);
    width: 45vw;
    position: relative;
    left: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.text-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
}

.screen-left h2 {
    margin-right: 1em;
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 0.5em;
}

.screen-left p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: 1em;
    line-height: 1.5;
}

.screen-right {
    width: 50vw;
    position: relative;
    right: 0;
    display: flex;
    justify-content: center;
}

#mockup {
    height: 67vh;
    max-height: 600px;
    object-fit: contain;
}

#buttons {
    margin-top: 1.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}


#light3 { left: 40%; top: 100vh; }
#light4 { left: -10%; top: 90vh; }
#light10 { left: -10%; top: 190vh; }
#light11 { left: 40%; top: 180vh; }
#light5 { left: -10%; top: 290vh; }
#light6 { left: 40%; top: 280vh; }
#light12 { left: -10%; top: 390vh; }
#light13 { left: 40%; top: 380vh; }
#light7 { left: 5%; top: 690vh; width: 90%; height: 90%; }
#light8 { left: -15%; top: 760vh; }
#light9 { left: 30%; top: 768vh; width: 90%; height: 90%; }


#screen3 #screen1-content p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    width: clamp(280px, 30%, 600px);
    text-align: left;
    margin-top: 20px;
    line-height: 1.6;
}

#screen3 #screen1-content img {
    margin-top: 20px;
    width: clamp(20px, 3vw, 40px);
    height: auto;
    transition: transform var(--transition-standard);
}

#screen3 #screen1-content img:hover {
    transform: translateY(10px);
    cursor: pointer;
}

#screen3 #screen1-content h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-top: 20px;
}

#screen4 #screen2-content {
    width: 100%;
    height: 65%;
    background-color: var(--primary-bg-color);
    box-shadow: inset 0px 4px 70px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0;
    position: relative;
    overflow-y: visible;
}

#guillaume {
    height: 70%;
    width: auto;
    margin-right: 5%;
    z-index: 1;
    object-fit: contain;
}

#text-screen2 {
    height: 30vh;
    width: 60vh;
    max-width: 90%;
    margin-left: 5%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 17vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 2% 4%;
    z-index: 1;
}

#text-screen2 p {
    color: white;
    font-size: clamp(1.2rem, 1.4vw, 1.4rem);
}

#signature {
    margin-top: 2%;
    text-align: right;
}

#topLeftCorner, #bottomRightCorner {
    position: absolute;
    z-index: 0;
    width: 30%;
    height: auto;
}

#topLeftCorner {
    top: 0;
    left: 0;
}

#bottomRightCorner {
    bottom: 0;
    right: 0;
}

#screen5 #screen3-content p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    width: clamp(280px, 60%, 1000px);
    text-align: left;
    margin-top: 20px;
    line-height: 1.6;
}

#screen3-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#screen3-content h1 {
    text-align: center;
}

#buttons-container {
    margin-top: 5vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#cards-container h1 {
    font-family: 'Lusitana', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding: 10px;
}

.info-card {
    background-color: var(--card-bg-color);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-standard), box-shadow var(--transition-standard);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-family: 'Lusitana', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--card-text-color);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 2rem 0;
}

input[type="email"] {
    width: 100%;
    max-width: 500px;
    padding: 1em;
    margin: 0.5em;
    border-radius: 10px;
    border: none;
}

textarea {
    padding: 0.5em;
    margin: 0.5em;
    border-radius: 10px;
    border: none;
    max-height: 15vh;
    min-height: 15vh;
    width: 100%;
    max-width: 500px;
}

#top-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

#top-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}


@media (max-width: 992px) {
    #text-screen2 {
        width: 50vh;
        margin-bottom: 10vh;
    }

    #guillaume {
        height: 60%;
    }

    .cards-wrapper {
        gap: 1.5rem;
    }

    .info-card {
        width: 280px;
    }

    #top-title {
        font-size: 1.8rem;
        width: 90%;
    }

    #top-text {
        font-size: 1rem;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .screen {
        height: auto;
        min-height: 100vh;
        padding: 5rem 0;
    }

    .screen-left {
        position: static;
        width: 90vw;
        text-align: center;
    }

    .text-container {
        align-items: center;
    }

    .screen-left h2 {
        margin-right: 0;
        text-align: center;
    }

    .screen-right {
        width: 90vw;
    }

    #screen1-content {
        margin-top: 3rem;
    }

    #logo-sticky {
        width: 50%;
    }

    #screen2-content, #screen3-content {
        gap: 3rem;
    }

    #mockup {
        height: auto;
        width: 90%;
        max-width: 300px;
    }

    #buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #screen3 #screen1-content,
    #screen5 #screen3-content {
        margin-top: 15vh;
    }

    #screen3 #screen1-content p,
    #screen5 #screen3-content p {
        width: 80%;
    }

    #screen4 #screen2-content {
        flex-direction: column-reverse;
        align-items: center;
        height: auto;
        padding: 5vh 0;
    }

    #screen2 #screen2-content {
        flex-direction: column;
        align-items: center;
    }

    #text-screen2 {
        width: 90%;
        height: auto;
        margin: 5vh 0;
        text-align: center;
    }

    #signature {
        text-align: center;
    }

    #guillaume {
        height: auto;
        width: 70%;
        margin: 0;
        max-height: 50vh;
    }

    #topLeftCorner, #bottomRightCorner {
        width: 40%;
    }

    #cards-container {
        padding: 0 1rem;
    }

    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 100%;
        max-width: 350px;
    }


    .button {
        width: 80%;
        text-align: center;
    }

    input[type="email"], textarea {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .screen-left h2 {
        font-size: 1.5rem;
    }

    .screen-left p {
        font-size: 1rem;
    }

    #logo-sticky {
        width: 70%;
    }

    .button {
        width: 90%;
        font-size: 1rem;
    }

    #screen3 #screen1-content p,
    #screen5 #screen3-content p {
        width: 90%;
        font-size: 1rem;
    }

    #text-screen2 p {
        font-size: 1rem;
    }

    #guillaume {
        width: 85%;
    }

    #cards-container h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }
}

/* --- 4.4 Section 8 (Cartes d'information) --- */
#screen8 {
    min-height: 100vh;
    height: auto;
    padding: 10vh 0;
}

#screen8 .cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

#screen8 .info-card {
    width: 90%;
    max-width: 50rem;
    background-color: #1e2c4f;
    border-radius: 1.5rem;
    display: flex;
    padding: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    height: auto;
}

#screen8 .info-card:hover {
    transform: translateY(-5px);
}

#screen8 .card-image {
    width: 30%;
    aspect-ratio: 1 / 1;
    margin-right: 2rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    height: auto;
}

#screen8 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#screen8 .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

#screen8 .card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-family: "LemonMilk", sans-serif;
    line-height: 1.3;
}

#screen8 .card-content p {
    font-family: "Lusitana", serif;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #screen8 .info-card {
        flex-direction: column;
        padding: 1rem;
    }

    #screen8 .card-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
        aspect-ratio: 16/9;
    }

    #screen8 .card-content {
        padding: 0;
    }

    #screen8 .card-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    #screen8 .cards-wrapper {
        padding: 1rem;
    }

    #screen8 .card-content h3 {
        font-size: 1.2rem;
    }

    #screen8 .card-content p {
        font-size: 0.9rem;
    }
}
