/* Structure générale */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-background);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Bandeau d'accroche */
.hero-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    position: relative;
    background-color: var(--color-secondary);
    background-image: url('../assets/images/fond.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.hero-photo {
    position: absolute;
    top: 50vh;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/photo.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

.hero-content {
    color: var(--color-white);
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0;
    position: relative;
    z-index: 2;
}

.mobile-vertical-separator {
    background-image: url('../assets/images/trait vertical.png');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    max-width: calc(0.195 * 80vh * 0.35);
    width: 100%;
    height: 80%;
    flex: 1;
    margin: 0;
}

.hero-title-mobile {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 0;
    color: var(--color-white);
    line-height: 1.1;
    text-align: center;
    flex: none;
}

.hero-title-desktop {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin: 0;
    color: var(--color-white);
    line-height: 1.1;
    text-align: center;
    flex: none;
    display: none;
}

/* Sections */
.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 30px;
}


.section-main-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 20px;
    color: var(--color-text);
    font-weight: 600;
}

.section-detail-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-light);
    padding: 15px 0;
    font-weight: 400;
}

/* Styles pour les listes générées par markdown */
.section-main-text ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto 20px;
    list-style: none;
    padding-left: 0;
}

.section-main-text ul li {
    position: relative;
    padding-left: 30px;
}

.section-main-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.4em;
    font-weight: bold;
    top: -2px;
}

.section-detail-text ul {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 20px;
    list-style: none;
    padding-left: 0;
}

.section-detail-text ul li {
    position: relative;
    padding-left: 25px;
}

.section-detail-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.1em;
    font-weight: bold;
    top: -1px;
}

.section-main-text ul li,
.section-detail-text ul li {
    margin-bottom: 8px;
}

.section-main-text p {
    margin: 0 auto 20px;
    text-align: center;
}

.section-main-text p:last-child {
    margin-bottom: 0;
}

.section-detail-text p {
    margin: 0 auto 20px;
    text-align: justify;
}

.section-detail-text p:last-child {
    margin-bottom: 0;
}

/* Séparateurs */
.separator {
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90% auto;
    margin: 0;
}

.separator-1 {
    background-image: url('../assets/images/trait court 1.png');
}

.separator-2 {
    background-image: url('../assets/images/trait court 2.png');
}

.separator-3 {
    background-image: url('../assets/images/trait court 3.png');
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
}

.footer-left {
    flex: 1;
    font-size: 1rem;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.back-to-top {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: var(--color-primary);
}