/* =====================================================
   PRANCHAS — LIBRA SURFBOARD
   Página sem banner, seguindo o estilo global do site
===================================================== */

body.pranchas-page {
    background: #050505;
    color: #fff;
    overflow-x: hidden;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.pranchas-page h1,
.pranchas-page h2,
.pranchas-page h3,
.pranchas-page p,
.pranchas-page span,
.pranchas-page a,
.pranchas-page button {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.pranchas-main {
    position: relative;
    z-index: 5;
    background: #050505;
}

/* SEÇÃO PRINCIPAL */
.pranchas-catalogo {
    min-height: 100vh;
    padding: 170px 40px 130px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,0.055), transparent 28%),
        radial-gradient(circle at 16% 78%, rgba(9,40,50,0.28), transparent 36%),
        linear-gradient(180deg, #050505 0%, #080808 50%, #050505 100%);
}

.pranchas-container {
    width: min(1400px, 100%);
    margin: 0 auto;
}

.pranchas-topo {
    max-width: 820px;
    margin-bottom: 78px;
}

.pranchas-topo span {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.34em;
    color: rgba(255,255,255,0.58);
    text-transform: uppercase;
}

.pranchas-topo h1 {
    font-size: clamp(42px, 5vw, 82px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 26px 90px rgba(0,0,0,0.9);
}

.pranchas-topo p {
    max-width: 620px;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.75;
    color: rgba(255,255,255,0.68);
}

/* GRID */
.pranchas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
}

.prancha-card {
    position: relative;
    min-height: 100%;
    padding: 26px 22px 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
        #080808;
    box-shadow: 0 28px 80px rgba(0,0,0,0.45);
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
    transition:
        transform 0.42s cubic-bezier(.16, 1, .3, 1),
        border-color 0.42s ease,
        background 0.42s ease,
        box-shadow 0.42s ease;
}

.prancha-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.10), transparent 34%);
    opacity: 0;
    transition: opacity 0.42s ease;
    pointer-events: none;
}

.prancha-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255,255,255,0.28);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        #090909;
    box-shadow: 0 36px 105px rgba(0,0,0,0.66);
}

.prancha-card:hover::before {
    opacity: 1;
}

.prancha-img-area {
    position: relative;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.prancha-img-area img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 34px 54px rgba(0,0,0,0.82));
    transition:
        transform 0.42s cubic-bezier(.16, 1, .3, 1),
        filter 0.42s ease;
}

.prancha-card:hover .prancha-img-area img {
    transform: scale(1.055) translateY(-4px);
    filter:
        drop-shadow(0 42px 72px rgba(0,0,0,0.9))
        brightness(1.08);
}

.prancha-info {
    position: relative;
    z-index: 3;
}

.prancha-info h3 {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 10px;
}

.prancha-info p {
    min-height: 46px;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,0.58);
    margin-bottom: 20px;
}

.prancha-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,0.38);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition:
        background 0.34s ease,
        color 0.34s ease,
        border-color 0.34s ease,
        transform 0.34s ease;
}

.prancha-whatsapp:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

/* IMAGEM NÃO ENCONTRADA */
.prancha-img-erro {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.48);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
}

/* MODAL */
.modal-prancha {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.32s ease,
        visibility 0.32s ease;
}

.modal-prancha.ativo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-prancha-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(14px);
}

.modal-prancha-box {
    position: relative;
    z-index: 2;
    width: min(960px, 100%);
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: 34px;
    padding: 34px;
    border: 1px solid rgba(255,255,255,0.16);
    background:
        radial-gradient(circle at 32% 22%, rgba(255,255,255,0.08), transparent 28%),
        #080808;
    box-shadow: 0 46px 140px rgba(0,0,0,0.82);
    transform: translateY(18px) scale(0.97);
    transition: transform 0.34s cubic-bezier(.16, 1, .3, 1);
}

.modal-prancha.ativo .modal-prancha-box {
    transform: translateY(0) scale(1);
}

.modal-prancha-fechar {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-prancha-fechar:hover {
    background: #fff;
    color: #000;
}

.modal-prancha-img-area {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.08);
}

.modal-prancha-img-area img {
    max-width: 100%;
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 36px 80px rgba(0,0,0,0.9));
}

.modal-prancha-conteudo {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-right: 32px;
}

.modal-prancha-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.58);
    text-transform: uppercase;
}

.modal-prancha-conteudo h3 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 22px;
}

.modal-prancha-conteudo p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.68);
    margin-bottom: 28px;
}

.modal-prancha-whatsapp {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-width: 260px;
    padding: 17px 24px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: 0.34s ease;
}

.modal-prancha-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 58px rgba(255,255,255,0.13);
}

body.pranchas-modal-aberto {
    overflow: hidden;
}

/* RESPONSIVO */
@media (max-width: 1180px) {
    .pranchas-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .prancha-img-area {
        height: 300px;
    }
}

@media (max-width: 900px) {
    .pranchas-catalogo {
        padding-top: 140px;
    }

    .pranchas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-prancha-box {
        grid-template-columns: 1fr;
        max-height: 88vh;
        overflow-y: auto;
    }

    .modal-prancha-img-area {
        min-height: 360px;
    }

    .modal-prancha-conteudo {
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .pranchas-catalogo {
        padding: 125px 20px 110px;
    }

    .pranchas-topo {
        margin-bottom: 48px;
    }

    .pranchas-topo h1 {
        font-size: 40px;
        line-height: 0.98;
    }

    .pranchas-topo p {
        font-size: 15px;
    }

    .pranchas-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .prancha-card {
        padding: 24px 18px;
    }

    .prancha-img-area {
        height: 310px;
    }

    .modal-prancha {
        padding: 14px;
    }

    .modal-prancha-box {
        padding: 24px 18px;
    }

    .modal-prancha-img-area {
        min-height: 300px;
    }

    .modal-prancha-img-area img {
        max-height: 280px;
    }

    .modal-prancha-whatsapp {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 1100px) {
    .pranchas-catalogo {
        padding-top: 132px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .pranchas-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 850px) {
    .pranchas-catalogo {
        padding-top: 112px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .pranchas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modal-prancha-box {
        grid-template-columns: 1fr;
        max-height: calc(100dvh - 28px);
        overflow-y: auto;
    }
}

@media (max-width: 560px) {
    .pranchas-catalogo {
        padding: 105px 16px 100px;
    }

    .pranchas-topo h1 {
        font-size: clamp(34px, 11vw, 44px);
    }

    .pranchas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .prancha-card {
        width: 100%;
        padding: 20px 16px;
    }

    .prancha-img-area {
        height: clamp(285px, 78vw, 390px);
    }

    .modal-prancha {
        padding: 8px;
    }

    .modal-prancha-box {
        padding: 56px 14px 20px;
        gap: 20px;
    }
}
