:root {
    --primary-color: #F1E2C3;
    --accent-color: #c08304;
    --text-color: #111827;
    --text-light: #4B5563;
    --bg-color: #ffffff;
    --bg-dark: #111827;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Introduction */
.intro {
    padding: 6rem 0 4rem;
    background: var(--primary-color);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.rating-overview {
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars svg {
    width: 2rem;
    height: 2rem;
    color: var(--accent-color);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Section Témoignages */
.testimonials {
    padding: 4rem 0;
    background: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-header h3 {
    font-size: 1.25rem;
    color: var(--text-color);
}

.testimonial-header .stars {
    margin: 0;
}

.testimonial-header .stars svg {
    width: 1.25rem;
    height: 1.25rem;
}

blockquote {
    margin: 0;
    padding: 1rem 0;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-footer {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Section Avis Réseaux Sociaux */
.social-reviews {
    padding: 4rem 0;
    background: var(--primary-color);
}

.social-reviews h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.platform-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
}

.platform-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header svg {
    width: 3rem;
    height: 3rem;
    color: var(--accent-color);
}

.platform-header h3 {
    font-size: 1.25rem;
    color: var(--text-color);
}

.rating {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.platform-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-dark);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.platform-link:hover {
    background: var(--text-color);
}

/* Section Formulaire d'Avis */
.review-form {
    padding: 4rem 0;
    background: var(--bg-color);
}

.review-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.required {
    color: #EF4444;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    background: var(--bg-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(192, 131, 4, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
}

.rating-input label svg {
    width: 2rem;
    height: 2rem;
    color: #D1D5DB;
    transition: color 0.3s ease;
}

.rating-input input:checked ~ label svg,
.rating-input label:hover svg,
.rating-input label:hover ~ label svg {
    color: var(--accent-color);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    color: var(--bg-color);
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--text-color);
    transform: translateY(-2px);
}

.submit-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card,
.platform-card,
.form-container {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro {
        /* padding: 4rem 0 2rem; */
    }

    .intro h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .testimonials-grid,
    .platforms {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}