@font-face {
    font-family: "Satoshi-Variable";
    src: url("/assets/Satoshi-Variable.ttf")
    format("truetype");
}

@font-face {
    font-family: "PopJoy";
    src: url("/assets/PopJoy.otf") format("opentype");
}

/* Text font */
body, p, .info-box, .review-box, .points-positifs-box, .points-negatifs-box, .btn {
    font-family: 'Satoshi-Variable', sans-serif;
    color : #2C3849 ;
}

/* Titles and note font */
h1, h2, h3, h4, h5, h6, .note-stars {
    font-family: 'PopJoy', sans-serif;
    color : #2C3849 ;
} 


.container img {
    max-height: 500px;
    width: auto;
    display: block;
    margin: 0 auto;
}

html, body {
    margin: 0;
    padding: 0; 
}

html {
    background-image: url('/assets/BG_stars.jpg');
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
}

/* Layout */
.container img {
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
}

.review-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    padding-left: 24px;
    padding-right: 24px;
}

.colonne-gauche {
    display: flex;
    flex-direction: column;
    gap: 24px; 
}

.colonne-droite {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/*  Boxes */
.box {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 16px;        
    border-radius: 28px;  
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.info-box {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 16px;        
    border-radius: 28px;  
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.review-box {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 16px;        
    border-radius: 28px;  
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 24px; 
}

/* Lists */
.points-positifs-box {
    background-color: rgba(212, 237, 218, 0.5); 
    padding: 12px;
    border-radius: 28px;
    border: 1px solid #c3e6cb;
    margin-bottom: 24px; 
}

.points-negatifs-box {
    background-color: rgba(248, 215, 218, 0.5); 
    padding: 12px;
    border-radius: 28px;
    border: 1px solid #f5c6cb;
    margin-bottom: 0;
}

.points-positifs-box ul,
.points-negatifs-box ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Buttons */
.info-box .btn {
    background-color: #1C62C1;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: background-color 0.2s, transform 0.1s;
    color: #fff;
    text-decoration: none;
    text-align: center; 
    min-width: 100px;   
    width: 100%;        
    box-sizing: border-box;
}

.info-box .btn:hover {
    background-color: #2E7AE1;
    transform: translateY(-1px);
    cursor: pointer;
}

.info-box .btn:active {
    transform: translateY(1px);
}

.info-box .d-flex {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.info-box .d-flex form {
    display: flex;
    flex: 1;
}

.info-box .d-flex form .btn {
    flex: 1;
    min-width: 0;
}
/* --- Section Commentaires --- */
/* ✅ Alignement de la section commentaires avec les autres boîtes */
.comments-section {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

    /* clé pour l’alignement */
    margin-left: 24px;
    margin-right: 24px;
}



.comment-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comment-box + .comment-box {
    margin-top: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #555;
}

.comment-content {
    font-size: 1rem;
    color: #222;
    line-height: 1.5;
}

/* Formulaire */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.comment-input {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    resize: none;
    font-family: 'Satoshi-Variable', sans-serif;
    font-size: 1rem;
    color : #2C3849 ;
}

.comment-btn {
    align-self: flex-end;
    background-color: #1C62C1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Satoshi-Variable', sans-serif;
    font-weight: bold;
}

.comment-btn:hover {
    background-color: #2E7AE1;
}
.creator-badge {
    background-color: #1C62C1; 
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
}

