main#mainContent {
    background: linear-gradient(to bottom, var(--c-lightBackground) 0%, white 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

main#mainContent > section {
    width: 100%;
    z-index: 1;
}

.eyebrow {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--c-secondary);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.primaryButton {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-tertiary);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 50rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 0.96rem;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.primaryButton:hover {
    background: var(--c-secondary);
    transform: translateY(-2px);
}

section.cloudSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10rem 1.25rem 0 1.25rem;
}

.cloudHeader,
.cloudContainer {
    width: 100%;
    max-width: 1280px;
}

.cloudHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.cloudLogo {
    width: min(100%, 260px);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 38px rgba(61, 21, 30, 0.08));
}

.cloudHeader .primaryButton {
    margin-top: 1.75rem;
}

.cloudContainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: start;
}

.temoignageCard {
    --accent: #7040b2;
    --accent-soft: rgba(112, 64, 178, 0.08);
    background:
            linear-gradient(180deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.96) 24%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 4px 30px rgba(61, 21, 30, 0.05);
    border-radius: 2rem;
    padding: 1.55rem;
    min-width: 0;
    min-height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(61, 21, 30, 0.06);
    display: flex;
    flex-direction: column;
}

.temoignageCard::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: var(--accent);
}

.temoignageCard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.6), transparent 42%);
    pointer-events: none;
}

.temoignageCard:hover {
    box-shadow: 0 14px 36px rgba(61, 21, 30, 0.08);
    border-color: color-mix(in srgb, var(--accent) 22%, white);
}

.temoignageCard:nth-child(10n + 1) {
    --accent: #7040b2;
    --accent-soft: rgba(112, 64, 178, 0.08);
}

.temoignageCard:nth-child(10n + 2) {
    --accent: #5c7fd6;
    --accent-soft: rgba(92, 127, 214, 0.08);
}

.temoignageCard:nth-child(10n + 3) {
    --accent: #d96eb3;
    --accent-soft: rgba(217, 110, 179, 0.08);
}

.temoignageCard:nth-child(10n + 4) {
    --accent: #f39a3f;
    --accent-soft: rgba(243, 154, 63, 0.09);
}

.temoignageCard:nth-child(10n + 5) {
    --accent: #58b9ea;
    --accent-soft: rgba(88, 185, 234, 0.09);
}

.temoignageCard:nth-child(10n + 6) {
    --accent: #e1c84a;
    --accent-soft: rgba(225, 200, 74, 0.1);
}

.temoignageCard:nth-child(10n + 7) {
    --accent: #7d91b2;
    --accent-soft: rgba(125, 145, 178, 0.09);
}

.temoignageCard:nth-child(10n + 8) {
    --accent: #d24724;
    --accent-soft: rgba(210, 71, 36, 0.08);
}

.temoignageCard:nth-child(10n + 9) {
    --accent: #5ca08f;
    --accent-soft: rgba(92, 160, 143, 0.08);
}

.temoignageCard:nth-child(10n + 10) {
    --accent: #94c8c0;
    --accent-soft: rgba(148, 200, 192, 0.1);
}

.temoignageTop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
    position: relative;
    z-index: 1;
}

.quoteMark {
    font-family: "DM Serif Text", serif;
    font-size: 3rem;
    line-height: 0.8;
    color: var(--accent);
    opacity: 0.95;
}

.temoignageDate {
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    color: var(--c-black);
    opacity: 0.55;
    white-space: nowrap;
    margin-top: 0.15rem;
}

.temoignageMessage {
    font-family: "DM Serif Text", serif;
    font-size: clamp(1.08rem, 0.98rem + 0.32vw, 1.28rem);
    line-height: 1.58;
    color: var(--c-black);
    margin-bottom: 1.5rem;
    word-break: break-word;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.temoignageBottom {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(61, 21, 30, 0.08);
}

.temoignageAuthor {
    font-family: "Montserrat", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.4;
}

.emptyState {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.96);
}

.emptyState h3 {
    font-family: "DM Serif Text", serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--c-black);
}

.emptyState p {
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--c-black);
    opacity: 0.85;
}

section.formSection {
    display: flex;
    justify-content: center;
    padding: 5rem 1.25rem 0 1.25rem;
}

.formContainer {
    width: 100%;
    max-width: 980px;
}

.formAlert {
    width: 100%;
    border-radius: 1.25rem;
    padding: 1rem 1.2rem;
    margin-bottom: 1.25rem;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}

.formAlert.success {
    background: rgba(116, 197, 185, 0.14);
    color: #17685f;
    border: 1px solid rgba(66, 167, 151, 0.22);
}

.formAlert.error {
    background: rgba(192, 77, 77, 0.08);
    color: #8e3131;
    border: 1px solid rgba(192, 77, 77, 0.16);
}

.formCard {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(61, 21, 30, 0.06);
    border-radius: 2.5rem;
    padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
}

.formHeader {
    text-align: center;
    margin-bottom: 2rem;
}

.formHeader h2 {
    font-family: "DM Serif Text", serif;
    font-weight: 500;
    color: var(--c-black);
    line-height: 1.1;
    font-size: clamp(1.8rem, 1.4rem + 1vw, 2.5rem);
}

.formHeader p {
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--c-black);
    opacity: 0.88;
    max-width: 740px;
    margin: 1rem auto 0 auto;
}

.testimonialForm {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.formGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.formField {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
}

.formField label {
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--c-black);
}

.formField input,
.formField textarea {
    width: 100%;
    border: 1px solid rgba(61, 21, 30, 0.12);
    background: white;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.98rem;
    color: var(--c-black);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.formField input:focus,
.formField textarea:focus {
    border-color: rgba(66, 167, 151, 0.55);
    box-shadow: 0 0 0 4px rgba(116, 197, 185, 0.16);
}

.formField textarea {
    min-height: 190px;
}

.formFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.formFooter p {
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    color: var(--c-black);
    opacity: 0.72;
}

.formFooter .primaryButton {
    margin-top: 0;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media screen and (max-width: 1100px) {
    .cloudContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    main#mainContent {
        padding-bottom: 5rem;
    }

    section.cloudSection {
        padding: 8.75rem 1rem 0 1rem;
    }

    .cloudHeader {
        margin-bottom: 2rem;
    }

    .cloudLogo {
        width: min(100%, 200px);
    }

    .cloudContainer {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .temoignageCard,
    .formCard,
    .emptyState {
        border-radius: 1.6rem;
    }

    section.formSection {
        padding: 3.5rem 1rem 0 1rem;
    }

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

    .formFooter {
        align-items: flex-start;
        flex-direction: column;
    }

    .temoignageDate {
        white-space: normal;
        text-align: right;
    }
}