body { 
    background-image: url('../images/allover-plain.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-color: #FFEFE6;
}

h1 {
    display: none;
}

.review-page {
    max-width: 680px;
    margin: 48px auto 80px;
    padding: 0 20px;
    font-family: 'Americane', sans-serif;
    color: #2A5842;
}
 
/* HERO FORMULAIRE */
.review-hero {
    text-align: center;
    margin-bottom: 40px;
}

.review-hero__emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.review-hero__title {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: #2A5842;
    margin-bottom: 8px;
}

.review-hero__subtitle {
    font-size: 1rem;
    color: #6EA14F;
    letter-spacing: 0.05em;
}

/* CARDS FORMULAIRE */
.review-card {
    background: #FFEFE6;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.review-card__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 24px;
    background: #FFD3EA;
}

.review-card__header-top {
    display: flex;
    align-items: center;
    font-family: 'GillSans-UltraBold', sans-serif;
    gap: 10px;
}

.review-card__header:not(:has(.review-card__subtitle)) {
    flex-direction: row;
    align-items: center;
}

.review-card__subtitle {
    font-size: 12px;
    font-style: italic;
    color: #2A5842;
    font-family: 'Blisstwin', sans-serif;
    opacity: 0.7;
    margin: 0;
}

.review-card__icon {
    font-size: 18px;
}

.review-card__title {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: bold;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #2A5842;
}

.review-card__body {
    padding: 24px;
}

/* STAR RATING */
.star-rating {
    display: flex;
    gap: 8px;
    align-items: center;
}

.star-btn {
    font-size: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: #FFD3EA;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
    padding: 0;
}

.star-btn:hover,
.star-btn.is-active {
    color: #FFA3C8;
    transform: scale(1.2);
}

.star-input-hidden {
    display: none;
}

/* CONSENT */
.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.consent-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: #6EA14F;
    margin-top: 2px;
    cursor: pointer;
}

.consent-field label {
    font-size: 14px;
    line-height: 1.5;
    color: #2A5842;
}

/* SUBMIT */
.review-submit {
    text-align: center;
    margin-top: 32px;
}

.btn-submit-review {
    display: inline-block;
    padding: 14px 40px;
    background: #2A5842;
    color: #FFEFE6;
    border: none;
    border-radius: 999px;
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 14px;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-submit-review:hover {
    background: #6EA14F;
    transform: translateY(-2px);
}

/* THANKS */
.review-thanks {
    text-align: center;
    padding: 60px 20px;
}

.review-thanks__emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.review-thanks__title {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: #2A5842;
    margin-bottom: 16px;
}

.review-thanks__text {
    font-size: 16px;
    line-height: 1.7;
    color: #2A5842;
    margin-bottom: 32px;
}

/* INPUTS */
.review-card__body input[type="text"],
.review-card__body textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #FFD3EA;
    border-radius: 12px;
    font-family: 'Americane', sans-serif;
    font-size: 14px;
    background: #ffffff;
    color: #2A5842;
    box-sizing: border-box;
}

.review-card__body input[type="text"]:focus,
.review-card__body textarea:focus {
    outline: none;
    border-color: #6EA14F;
    box-shadow: 0 0 0 3px rgba(110,161,79,.2);
}

.review-card__body textarea {
    resize: none;
    height: 140px;
}

/* LABELS */
.review-card__body label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFA3C8;
    margin-bottom: 6px;
    font-family: 'Americane', sans-serif;
}

/* GRID inputs prénom/nom/entreprise */
.review-card__body.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-card__body .field {
    display: flex;
    font-family: 'Americane-Regular', sans-serif;
    flex-direction: column;
}

/* =============================================
   PAGE AVIS — LISTE
   ============================================= */

/* HERO */
.reviews-hero {
    padding: 3rem 2rem;
    text-align: center;
}

.reviews-main-title {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #2A5842;
}

/* GRID */
.reviews-grid-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* CARD AVIS */
.reviews-grid .review-card {
    position: relative;
    background-color: #FFD3EA;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: visible;
    margin-bottom: 0;
}

.reviews-grid .review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

/* STAR HOVER */
.reviews-grid .review-card .box-star {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
    transition: opacity 0.25s ease, transform 0.3s ease;
    pointer-events: none;
}

.reviews-grid .review-card:hover .box-star {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* NOM */
.review-name {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 1.1rem;
    color: #FF1D0F;
    text-transform: uppercase;
    text-align: center;
}

.review-company {
    font-family: 'Americane', sans-serif;
    font-size: 0.9rem;
    color: #6EA14F;
    text-transform: none;
    font-weight: normal;
}

/* PROJET */
.review-project {
    font-family: 'Americane', sans-serif;
    font-size: 0.85rem;
    color: #FFEFE6;
    background-color: #6EA14F;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    text-transform: uppercase;
}

/* STARS */
.review-stars {
    display: flex;
    gap: 0.2rem;
}

.review-stars img {
    width: 22px;
    height: 22px;
}

/* TEXTE AVIS */
.review-text {
    font-family: 'Americane', sans-serif;
    font-size: 0.95rem;
    color: #2A5842;
    text-align: center;
    line-height: 1.6;
}

/* VIDE */
.reviews-empty {
    font-family: 'Americane', sans-serif;
    font-size: 1.1rem;
    color: #2A5842;
    text-align: center;
    padding: 4rem 0;
}

/* CONTACT CTA */
.contact-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 3rem 0 4rem;
}

.contact-btn {
    background-color: #FFA3C8;
    color: #2A5842;
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 7rem;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.03);
    color: #FF1D0F;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .reviews-main-title {
        font-size: 1.6rem;
    }

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

    .reviews-grid-section {
        margin: 2.5rem auto;
        padding: 0 1.2rem;
    }

    .contact-btn {
        font-size: 1.2rem;
        padding: 1rem 3rem;
        width: 100%;
        max-width: 340px;
        text-align: center;
    }
}

/* =============================================
   GOOGLE RATING BANNER
   ============================================= */

.google-rating-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.google-rating-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFEFE6;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    gap: 1.5rem;
}

.google-rating__left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.google-rating__logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.google-rating__info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.google-rating__score {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 1.6rem;
    color: #2A5842;
    line-height: 1;
}

.google-rating__stars {
    display: flex;
    gap: 0.2rem;
}

.google-rating__stars img {
    width: 20px;
    height: 20px;
}

.google-rating__count {
    font-family: 'Americane-Regular', sans-serif;
    font-size: 0.85rem;
    color: #6EA14F;
}

.google-rating__cta {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #2A5842;
    background-color: #FFD3EA;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.google-rating__cta:hover {
    transform: translateY(-3px);
    background-color: #FFA3C8;
    color: #FF1D0F;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .google-rating-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .google-rating__cta {
        width: 100%;
        text-align: center;
    }

    .google-rating__score {
        font-size: 1.3rem;
    }
}