/* =========================
   SEC-EVENT-TYPE
   ========================= */

.sec-event-type {
    padding: 80px 0;
    background-color: var(--white);
}

.event-type-title{
    color: var(--primary);
    font-family: 'Metropolitano', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.event-type-text {
    color: var(--black);
    font-size: 0.92rem;
    line-height: 1.3;
    columns: 2;
    text-align: justify;
    gap: 40px;
}

.event-type-text p {
    margin-bottom: 20px;
}

.event-type-text p:last-child {
    margin-bottom: 0;
}

.sec-event-type hr {
    width: 70px;
    height: 4px;
    background-color: var(--tertiary);
    border: none;
    margin: 80px auto 40px;
    opacity: 1;
}

.sec-event-type .social-links {
    gap: 30px;
    margin: 0 auto;
    justify-content: center;
}

.sec-event-type .social-links a {
    color: var(--primary);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.sec-event-type .social-links a:hover {
    color: var(--tertiary);
}

@media (max-width: 992px) {
    .sec-event-type {
        padding: 60px 0;
    }

    .event-type-text{
        columns: 1;
        text-align: justify;
    }

    .event-type-img {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .event-type-img {
        height: 280px;
    }
}

/* =========================
   SEC-CAROUSEL-IMGS
   ========================= */

.sec-carousel-imgs {
    overflow: hidden;
}

.carousel-imgs-slide {
    aspect-ratio: 1;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
}

.carousel-imgs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.01);
    will-change: transform;
    transition: transform 0.4s ease;
}

.carousel-imgs-slide:hover img {
    transform: scale(1.07);
}

.sec-carousel-imgs .slick-slide > div {
    line-height: 0;
    font-size: 0;
}

.sec-carousel-imgs .slick-list {
    margin: 0;
    overflow: hidden;
}

.sec-carousel-imgs .slick-track {
    display: flex;
    margin: 0;
}

.sec-carousel-imgs .slick-slide {
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.sec-carousel-imgs .slick-slide {
    padding: 0;
}

.sec-carousel-imgs .slick-prev { left: 140px; }
.sec-carousel-imgs .slick-next { right: 140px; }

@media (max-width: 576px) {
    .carousel-imgs-slide {
        height: 260px;
    }
    .sec-carousel-imgs .slick-prev { left: 10px; }
    .sec-carousel-imgs .slick-next { right: 10px; }
}

/* =========================
   SEC-CTA
   ========================= */

.sec-cta {
    position: relative;
    overflow: hidden;
    height: 700px;
}

.sec-cta .cta-content {
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.sec-cta .cta-signature {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.sec-cta .cta-text {
    font-family: 'Metropolitano', sans-serif;
    color: var(--white);
    max-width: 1200px;
}

.sec-cta .cta-text p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 768px) {
    .sec-cta {
        height: 500px;
    }

    .sec-cta .cta-text {
        font-size: 0.95rem;
        padding: 0 16px;
    }
}

/* =========================
   SEC-FORM (Formulário Evento)
   ========================= */

.sec-form {
    position: relative;
    padding: 80px 0;
    background: url(../img/buffet-background.png) no-repeat center center / cover;
}

.sec-form::before{
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    z-index: -1;
}

.sec-form-header {
    text-align: center;
    margin: 0 auto 60px;
}

.sec-form-header h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 6px;
}

.sec-form-header p {
    color: var(--white);
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.sec-form-img {
    padding-left: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Campos do formulário */
.sec-form-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 80px 0 100px;
}

/* Campo wrapper */
.sec-form-fields .fv-field {
    position: relative;
}

.sec-form-fields .fv-field input,
.sec-form-fields .fv-field select,
.sec-form-fields .fv-field textarea {
    width: 100%;
    border: 1px solid var(--primary);
    border-radius: 0;
    background: #fff;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--black);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-shadow: none;
}

.sec-form-fields .fv-field input::placeholder,
.sec-form-fields .fv-field textarea::placeholder {
    color: var(--black);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.sec-form-fields .fv-field input:focus,
.sec-form-fields .fv-field select:focus,
.sec-form-fields .fv-field textarea:focus {
    border-color: var(--primary);
}

.sec-form-fields .fv-field input.fv-error,
.sec-form-fields .fv-field select.fv-error,
.sec-form-fields .fv-field textarea.fv-error {
    border-color: #f87171;
}

.sec-form-fields .fv-error-msg {
    display: none;
}

/* Select com chevron */
.sec-form-fields .fv-field--select select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    color: var(--black);
}

.sec-form-fields .fv-field--select select option[value=""] {
    color: var(--black);
    font-weight: 700;
}

/* Textarea */
.sec-form-fields .fv-field textarea {
    resize: none;
}

/* Botão */
.sec-form-fields .btn {
    max-width: 200px;
    font-size: 0.9rem;
}

/* Checkbox consent */
.ev-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-top: 4px;
}

.ev-consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.ev-consent span {
    font-size: 0.68rem;
    color: var(--white);
    line-height: 1.5;
}

.ev-consent.fv-error span {
    color: #f87171;
}

/* Feedback */
.ev-feedback {
    font-size: 0.85rem;
}

.ev-feedback:empty {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .sec-form {
        padding: 60px 0 40px;
    }

    .sec-form-fields {
        padding: 0;
    }

    .sec-form-header {
        margin-bottom: 40px;
    }

    .sec-form-img{
        padding: 40px 0 0;
    }
}