@charset "utf-8";
/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER 
   ============================================ */

#header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-image: url('images/header.jpg');  /* Image de fond */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 0 100px 0;
    position: relative;
}

/* Layout flexbox : logo à gauche, contact à droite */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Logo occupe le tiers gauche */
.header-logo {
    flex: 0 0 40%;  /* 33% de largeur */
    display: flex;
    justify-content: center;
    align-items: flex-start;  /* Alignement en haut au lieu de center */
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

/* Contact info à droite */
.contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    flex: 1;  /* Prend l'espace restant */
}

.contact-info span {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}



.contact-btn {
    background-color: #5b8090;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.contact-btn:hover {
    background-color: #3d5a68;
}



/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #5b8090 0%, #3d5a68 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.hero h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */

.main-content {
    padding: 40px 0;
}

.row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* Sidebar */
.sidebar {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar-section h3 {
    color: #5b8090;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5b8090;
}

.sidebar-section p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: justify;
}

.sidebar-section h4 {
    color: #5b8090;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Main Section */
.main-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vente-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #5b8090;
}

.vente-header h2 {
    color: #5b8090;
    font-size: 32px;
    margin-bottom: 15px;
    text-decoration: underline;
}

.vente-status {
    color: #5b8090;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.vente-thanks {
    color: #5b8090;
    font-size: 16px;
    font-weight: 600;
}

/* Section Blocks */
.section-block {
    margin-bottom: 30px;
}

.section-block h3 {
    color: #5b8090;
    font-size: 20px;
    margin-bottom: 15px;
    text-decoration: underline;
}

.section-block h4 {
    color: #5b8090;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.section-block p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.section-block ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.section-block li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Links & Highlights */
.highlight-link {
    background-color: #ffed00;
    color: #333;
    padding: 2px 6px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.highlight-link:hover {
    background-color: #ffe680;
}

/* Images */
.section-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.catalogue-cover {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalogue-link:hover .catalogue-cover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.video-thumbnail {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-link:hover .video-thumbnail,
.video-playlist-link:hover + .video-thumbnail {
    transform: scale(1.02);
}

/* Dividers */
.section-divider {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

/* Contact Section */
.contact-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #5b8090;
}

.contact-section h3 {
    color: #5b8090;
}

.contact-section p {
    font-size: 16px;
    font-weight: 600;
    color: #5b8090;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
    background-color: #2c2c2c;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section h3 a:hover {
    color: #ffed00;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
}

.footer-section a {
    color: #ffed00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .row {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .vente-header h2 {
        font-size: 24px;
    }

    .main-section {
        padding: 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-block h3 {
        font-size: 18px;
    }

    .catalogue-cover {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 20px;
    }

    .vente-header h2 {
        font-size: 20px;
    }

    .section-block h3 {
        font-size: 16px;
    }

    .contact-info span {
        font-size: 12px;
    }

    .main-content {
        padding: 20px 0;
    }

    .main-section {
        padding: 15px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-justify {
    text-align: justify;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Ajouter cette classe pour l'image finale */
.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #5b8090;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
    background-color: #3d5a68;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

