:root {
    --primary-color: #F97316;
    --primary-hover: #EA580C;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --text-color: #4a5568;
    --body-font: 'Poppins', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    min-height: 100%;
    height: 100%;
}
body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #FFF;
    min-height: -webkit-fill-available;
    min-height: -moz-available;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
/* --- Utilitaires --- */
a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
}
a:hover {
    color: var(--primary-hover);
}
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
    overflow: hidden;
}
section {
    padding: 4rem 0;
    width: 100%;
}
section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 3rem;
}
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    margin: 5px 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: var(--primary-hover);
}
/* On s'assure que la couleur du texte est bien définie pour les deux */
.btn, .btn:hover {
    color: white;
}
/* --- Header / Hero Section --- */
.hero {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}
.hero .logo img {
    max-height: 4rem;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.hero .login-section {
    display: flex;
    justify-content: space-between;
    padding-bottom: 2rem;
}
.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-visual {
    width: 100%;
    max-width: 450px;
    height: 300px;
    background-color: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #718096;
}
.hero-visual img {
    width: 100%;            /* Force l'image à prendre toute la largeur de la div */
    height: 100%;           /* Force l'image à prendre toute la hauteur de la div */
    object-fit: cover;      /* La propriété magique : remplit l'espace et coupe le surplus */
    border-radius: inherit;
}
/* --- How It Works Section --- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}
.step {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 12px;
}
.step .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}
.step h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}
/* --- Features Section --- */
#features {
     background-color: var(--light-color);
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}
/* --- Showcase Section --- */
.showcase-gallery {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}
.slides-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.profile-mockup {
    width: 100%;
    max-width: 300px;
    margin: 0.2rem 0.2rem;
    height: 550px;
    border: 8px solid var(--dark-color);
    border-radius: 40px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}
.gallery-nav {
    display: none;
}
/* --- Final CTA Section --- */
.cta {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 4rem 2rem;
}
.cta h2 {
     color: #fff;
     margin-bottom: 1rem;
}
.cta p {
    margin-bottom: 2rem;
}
/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}
footer a {
    color: var(--text-color);
    margin: 0 0.5rem;
    text-decoration: none;
}
footer a:hover {
    color: var(--primary-color);
}
/* --- Media Queries for Responsiveness --- */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }
    .hero-content, .hero-visual {
        flex: 1;
    }
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
         grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .container h2 {
        font-size: 2rem;
    }
    .slides-container {
        justify-content: center;
        margin-left: 0;
    }
    .profile-mockup {
        display: none;
        width: 90%;
        margin: 0 auto;
    }
    .profile-mockup.is-active {
        display: flex !important;
    }
    .showcase-gallery {
        display: block;
        position: relative;
    }
    .gallery-nav {
        display: initial;
    }
    .nav-button {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 10;
    }
    .nav-button:hover {
        opacity: 0.8;
    }
    .nav-prev {
        left: 10px;
    }
    .nav-next {
        right: 10px;
    }
    .arrow {
        width: 25px;
        height: 25px;
        border-top: 4px solid var(--primary-color);
        border-left: 4px solid var(--primary-color);
        transform-origin: 50% 50%;
    }
    .arrow.right {
        transform: rotate(135deg);
    }
    .arrow.left {
        transform: rotate(-45deg);
    }
}