
/* =====================================================
   AUTODOZVOLA.HR — AVIS CLIENTS
   Design premium, responsive et indépendant
===================================================== */

.ad-reviews-page {
    --ad-navy: #14283f;
    --ad-petrol: #244d60;
    --ad-ivory: #f7f7f2;
    --ad-gold: #c9a66b;
    --ad-muted: #64748b;
    --ad-border: #e5e9ed;

    color: var(--ad-navy);
    background: var(--ad-ivory);
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow: clip;
}

.ad-reviews-page *,
.ad-reviews-page *::before,
.ad-reviews-page *::after {
    box-sizing: border-box;
}

.ad-reviews-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.ad-reviews-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--ad-petrol);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* HERO */

.ad-reviews-hero {
    position: relative;
    padding: 105px 0 110px;
    background: var(--ad-navy);
    color: #fff;
}

.ad-reviews-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--ad-petrol),
        var(--ad-gold),
        var(--ad-petrol)
    );
}

.ad-reviews-hero .ad-reviews-container {
    max-width: 900px;
    text-align: center;
}

.ad-reviews-hero .ad-reviews-eyebrow {
    color: var(--ad-gold);
}

.ad-reviews-hero h1 {
    margin: 0 auto 22px;
    max-width: 820px;
    color: #fff;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.13;
}

.ad-reviews-hero p {
    max-width: 690px;
    margin: 0 auto 30px;
    color: #dce5eb;
    font-size: 16px;
    line-height: 1.9;
}

.ad-reviews-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 14px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--ad-petrol);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, transform .25s;
}

.ad-reviews-primary:hover {
    background: #32667b;
    color: #fff;
    transform: translateY(-2px);
}

.ad-reviews-primary:focus-visible,
.ad-reviews-arrow:focus-visible,
.ad-review-mail:focus-visible,
.ad-review-form :focus-visible {
    outline: 3px solid var(--ad-gold);
    outline-offset: 3px;
}

/* SECTION TÉMOIGNAGES */

.ad-reviews-section {
    padding: 95px 0 110px;
}

.ad-reviews-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.ad-reviews-heading h2,
.ad-reviews-form-intro h2 {
    margin: 0 0 15px;
    color: var(--ad-navy);
    font-size: clamp(27px, 3.3vw, 43px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.ad-reviews-heading p,
.ad-reviews-form-intro p {
    margin: 0;
    color: var(--ad-muted);
    font-size: 14px;
    line-height: 1.9;
}

.ad-reviews-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.ad-reviews-arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ad-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ad-navy);
    font-size: 20px;
    cursor: pointer;
    transition: .2s ease;
}

.ad-reviews-arrow:hover {
    background: var(--ad-navy);
    border-color: var(--ad-navy);
    color: #fff;
}

/* CARROUSEL */

.ad-reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 8px 2px 22px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.ad-reviews-track::-webkit-scrollbar {
    display: none;
}

.ad-review-card {
    display: flex;
    flex: 0 0 calc((100% - 40px) / 3);
    flex-direction: column;
    min-width: 0;
    min-height: 360px;
    padding: 28px;
    border: 1px solid var(--ad-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(20, 40, 63, .035);
    scroll-snap-align: start;
    transition: transform .25s, box-shadow .25s;
}

.ad-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(20, 40, 63, .09);
}

.ad-review-card-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.ad-review-person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ad-review-avatar,
.ad-review-avatar-img {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e8eff2;
    color: var(--ad-petrol);
    font-size: 16px;
    font-weight: 800;
    object-fit: cover;
}

.ad-review-person-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ad-review-person-info strong {
    color: var(--ad-navy);
    font-size: 14px;
    font-weight: 800;
}

.ad-review-city {
    color: var(--ad-muted);
    font-size: 12px;
}

.ad-review-quote {
    color: #dce7e9;
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: .7;
}

.ad-review-stars {
    margin-bottom: 16px;
    color: #c9a66b;
    font-size: 19px;
    letter-spacing: 3px;
}

.ad-review-card h3 {
    margin: 0 0 14px;
    color: var(--ad-navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.ad-review-copy {
    margin: 0 0 28px;
    color: #526477;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.ad-review-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--ad-border);
}

.ad-review-card-footer > span:first-child {
    color: var(--ad-muted);
    font-size: 11px;
    font-weight: 600;
}

.ad-review-mail {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ad-border);
    border-radius: 11px;
    background: #f7f9fa;
    text-decoration: none;
    transition: .2s;
}

.ad-review-mail svg {
    width: 23px;
    height: 23px;
}

a.ad-review-mail:hover {
    border-color: var(--ad-petrol);
    transform: translateY(-2px);
}

.ad-review-mail-disabled {
    color: #9caab3;
    cursor: not-allowed;
}

.ad-reviews-empty {
    padding: 65px 25px;
    border: 1px solid var(--ad-border);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.ad-reviews-empty h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.ad-reviews-empty p {
    color: var(--ad-muted);
}

/* FORMULAIRE */

.ad-reviews-form-section {
    padding: 100px 0;
    background: #edf2f3;
}

.ad-reviews-form-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.ad-reviews-form-intro {
    padding-top: 35px;
}

.ad-reviews-privacy-note {
    margin-top: 24px !important;
    font-size: 12px !important;
}

.ad-reviews-form-panel {
    padding: 38px;
    border: 1px solid var(--ad-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(20, 40, 63, .05);
}

.ad-review-form {
    display: grid;
    gap: 19px;
}

.ad-review-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ad-review-form label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: var(--ad-navy);
    font-size: 12px;
    font-weight: 700;
}

.ad-review-form input:not([type="checkbox"]),
.ad-review-form select,
.ad-review-form textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dbe3e7;
    border-radius: 9px;
    background: #fff;
    color: var(--ad-navy);
    font: inherit;
    font-size: 13px;
    font-weight: 400;
}

.ad-review-form textarea {
    min-height: 135px;
    resize: vertical;
}

.ad-review-form input:focus,
.ad-review-form textarea:focus,
.ad-review-form select:focus {
    border-color: var(--ad-petrol);
}

.ad-review-form .ad-review-consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 11px;
    color: #596b7a;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.8;
}

.ad-review-consent input {
    margin-top: 4px;
    accent-color: var(--ad-petrol);
}

.ad-review-consent a {
    color: var(--ad-petrol);
    text-decoration: underline;
}

.ad-review-form button {
    justify-self: start;
}

.ad-review-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.ad-review-notice {
    padding: 14px 17px;
    margin: 0 0 20px;
    border-radius: 9px;
    background: #fff0ed;
    color: #9d392c;
    font-size: 13px;
}

.ad-review-notice-success {
    background: #e8f4ed;
    color: #256845;
}

/* TABLETTE */

@media (max-width: 1024px) {
    .ad-review-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .ad-reviews-form-layout {
        gap: 35px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .ad-reviews-container {
        width: min(100% - 32px, 1200px);
    }

    .ad-reviews-hero {
        padding: 75px 0 80px;
    }

    .ad-reviews-hero h1 {
        font-size: clamp(32px, 8vw, 44px);
        letter-spacing: -1.3px;
    }

    .ad-reviews-hero p {
        font-size: 14px;
    }

    .ad-reviews-section {
        padding: 65px 0 75px;
    }

    .ad-reviews-heading {
        align-items: flex-end;
        gap: 10px;
        margin-bottom: 25px;
    }

    .ad-reviews-heading h2 {
        font-size: 27px;
    }

    .ad-reviews-arrows {
        gap: 6px;
    }

    .ad-reviews-arrow {
        width: 37px;
        height: 37px;
    }

    .ad-reviews-track {
        gap: 14px;
    }

    .ad-review-card {
        flex-basis: min(84vw, 340px);
        min-height: 350px;
        padding: 22px;
    }

    .ad-reviews-form-section {
        padding: 65px 0;
    }

    .ad-reviews-form-layout,
    .ad-review-form-row {
        grid-template-columns: 1fr;
    }

    .ad-reviews-form-intro {
        padding: 0;
    }

    .ad-reviews-form-panel {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ad-reviews-page *,
    .ad-reviews-page *::before,
    .ad-reviews-page *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}