/* Pantalla d'accés: panell de marca a l'esquerra i formulari a la dreta.
   Colors del logo de Mestres: blau #286AB3, daurat #AE9A63. */

:root {
    --sa-blue: #286ab3;
    --sa-blue-dark: #12345c;
    --sa-ink: #0b1a2e;
    --sa-gold: #ae9a63;
}

.fi-simple-layout:has(.sa-hero) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 100dvh;
    background: #f6f8fb;
}

.fi-simple-layout:has(.sa-hero) .fi-simple-main-ctn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background:
        radial-gradient(60rem 30rem at 120% -10%, rgba(40, 106, 179, .08), transparent 60%),
        radial-gradient(40rem 24rem at -10% 110%, rgba(174, 154, 99, .10), transparent 60%),
        #f6f8fb;
}

.fi-simple-layout:has(.sa-hero) .fi-simple-main {
    width: 100%;
    max-width: 27rem;
    border-radius: 1.25rem;
    box-shadow: 0 1px 2px rgba(11, 26, 46, .05), 0 18px 50px rgba(11, 26, 46, .10);
    border: 1px solid rgba(11, 26, 46, .06);
}

.dark .fi-simple-layout:has(.sa-hero),
.dark .fi-simple-layout:has(.sa-hero) .fi-simple-main-ctn {
    background: #0b1220;
}

/* Panell de marca */
.sa-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(150deg, var(--sa-ink) 0%, var(--sa-blue-dark) 45%, var(--sa-blue) 100%);
}

.sa-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.sa-hero-glow-a {
    top: -12rem;
    right: -10rem;
    width: 34rem;
    height: 34rem;
    background: radial-gradient(circle, rgba(40, 106, 179, .55), transparent 65%);
}

.sa-hero-glow-b {
    bottom: -14rem;
    left: -10rem;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(174, 154, 99, .35), transparent 65%);
}

.sa-hero-inner {
    position: relative;
    height: 100%;
    max-width: 36rem;
    margin: 0 auto;
    padding: 3.5rem 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
}

.sa-hero-logo {
    height: 2.75rem;
    width: auto;
    align-self: flex-start;
}

.sa-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 1.1rem;
}

.sa-hero-eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    border-radius: 1px;
    background: var(--sa-gold);
}

.sa-hero-title {
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.02em;
}

.sa-hero-title span {
    color: #d9c995;
}

.sa-hero-lead {
    margin-top: 1rem;
    max-width: 30rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
}

.sa-hero-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .85rem;
}

.sa-hero-points li {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border-radius: .9rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(6px);
    font-size: .9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .72);
}

.sa-hero-points strong {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: .1rem;
}

.sa-hero-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(174, 154, 99, .18);
    border: 1px solid rgba(174, 154, 99, .35);
    color: #e3d6ab;
}

.sa-hero-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sa-hero-foot {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

/* Pantalles petites: només el formulari */
@media (max-width: 1023px) {
    .fi-simple-layout:has(.sa-hero) {
        grid-template-columns: 1fr;
    }

    .sa-hero {
        display: none;
    }
}

@media (max-height: 760px) {
    .sa-hero-inner {
        padding: 2.25rem 3rem 1.75rem;
        gap: 1.5rem;
    }

    .sa-hero-points li {
        padding: .65rem .9rem;
    }
}
