:root {
    --mexico-green: #006847;
    --mexico-red: #CE1126;
    --cuba-blue: #002590;
    --cuba-red: #EF3340;
    --light-bg: #D6CECE;
    --dark-text: #2d3436;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

header {
    background: linear-gradient(135deg, #2c3e50, #000);
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

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

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 8px solid;
}

.mexico-card { border-top-color: var(--mexico-green); }
.cuba-card { border-top-color: var(--cuba-blue); }

.card-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    background-color: #f0f0f0; /* Fundo leve caso a imagem demore a carregar */
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-header {
    padding: 30px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #333;
}

.date-badge {
    background: #eee;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.content-section { padding: 30px; }

h3 {
    color: #555;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

h3::after {
    content: "";
    height: 2px;
    flex-grow: 1;
    background: #eee;
    margin-left: 15px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

ul { list-style: none; }

li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.comparison {
    background: #2d3436;
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.comparison h2 { margin-bottom: 20px; font-family: 'Playfair Display', serif; }

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    header h1 { font-size: 2rem; }
}

.credits-container {
    margin-top: 30px;
    text-align: center;
}

#toggle-credits {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s;
}

#toggle-credits:hover {
    background-color: #34495e;
}

.credits-box {
    display: none;
    margin-top: 15px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: 'Montserrat', sans-serif;
}

/* ESTILOS DA AVALIAÇÃO */
.rating-container {
    margin-top: 50px;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.rating-container h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.5rem;
}

.rating-container h3::after {
    display: none; /* Remove a linha do h3 padrão para esta seção */
}

.stars {
    font-size: 2.5rem;
    cursor: pointer;
    margin-bottom: 10px;
}

.star {
    color: #ddd;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.star:hover {
    transform: scale(1.2);
}

.star.active {
    color: #f1c40f; /* Cor amarela para estrelas ativas */
}

#rating-message {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-weight: bold;
}
