@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Archivo+Black&display=swap');

:root {
    --lm-orange: #F2AB13;
    --dark-grey: #0c0c0c;
    --mid-grey: #1c1c1c;
    --soft-grey: #f5f5f5;
    --card-bg: #ffffff;
    --border: #e1e1e1;
    --text-color: #555;
}

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

html, body {
    height: 100vh;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background: var(--soft-grey);
    display: flex;
    flex-direction: column;
}

.avis-header {
    background: var(--dark-grey);
    color: #fff;
    padding: 18px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.back-button {
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.back-button:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.header-copy p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lm-orange);
    margin-bottom: 4px;
}

.header-copy h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin-bottom: 4px;
}

.header-copy span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-right img {
    height: 60px;
    object-fit: contain;
}

.avis-container {
    flex: 1;
    overflow-y: auto;
    padding: 32px 4vw;
    min-height: 0;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.avis-card {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image 12.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 24px;
    color: #f0f0f0;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.avis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.avis-quote-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.avis-quote-icon img {
    width: 40px;
    height: auto;
}

.avis-quote {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    padding: 0 8px;
}

.avis-separator {
    width: 90%;
    height: 2px;
    background-color: var(--lm-orange);
    margin: 0 auto 16px auto;
    border-radius: 2px;
}

.avis-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.avis-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.avis-author {
    color: var(--lm-orange);
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0;
}

.avis-date {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    margin-top: 4px;
}

.avis-rating {
    display: flex;
    gap: 4px;
}

.avis-rating .fa-star {
    color: gold;
    font-size: 0.9rem;
}

.avis-rating .far.fa-star {
    color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
    .avis-grid {
        grid-template-columns: 1fr;
    }
    
    .avis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .header-right {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .avis-container {
        padding: 20px 16px;
    }
    
    .avis-card {
        padding: 20px;
        min-height: 250px;
    }
    
    .avis-quote {
        font-size: 0.85rem;
    }
}




