/**
 * Styles for [cets_aluguel_salas] shortcode UI.
 * Depends on cets-design-tokens.css
 */

.cets-aluguel {
    --cets-primary-soft: #d2e4ff;
    --cets-secondary-soft: #ffdbcf;
    --cets-surface-container: #ededf3;
    --cets-outline: rgba(114, 119, 129, 0.16);
    --cets-page-pad: 24px;

    color: var(--cets-text);
    font-family: Inter, Arial, sans-serif;
    background: var(--cets-surface);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.cets-aluguel,
.cets-aluguel * {
    box-sizing: border-box;
}

.cets-aluguel a {
    color: inherit;
    text-decoration: none;
}

.cets-aluguel h1,
.cets-aluguel h2,
.cets-aluguel h3,
.cets-aluguel strong {
    font-family: Manrope, Inter, Arial, sans-serif;
}

.cets-aluguel__shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding-left: var(--cets-page-pad);
    padding-right: var(--cets-page-pad);
}

/* —— Hero —— */
.cets-aluguel__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(72vh, 640px);
    display: flex;
    align-items: flex-end;
    background-color: var(--cets-navy);
    background-image:
        linear-gradient(105deg, rgba(0, 52, 93, 0.94) 0%, rgba(0, 52, 93, 0.62) 46%, rgba(0, 52, 93, 0.28) 100%),
        var(--cets-aluguel-hero-image, none);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.cets-aluguel__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 30%, rgba(254, 94, 30, 0.26), transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.cets-aluguel__hero-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 88px var(--cets-page-pad) 72px;
}

.cets-aluguel__hero-copy {
    max-width: 640px;
}

.cets-aluguel__eyebrow,
.cets-aluguel__kicker {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 5px 9px;
    border-radius: 2px;
    background: var(--cets-secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.cets-aluguel__kicker {
    background: var(--cets-secondary-soft);
    color: #551600;
}

.cets-aluguel__kicker.is-on-dark {
    background: rgba(254, 94, 30, 0.22);
    color: #ffdbcf;
}

.cets-aluguel__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(40px, 7vw, 68px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.cets-aluguel__lede {
    margin: 0;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(15px, 2.2vw, 17px);
    font-weight: 500;
    line-height: 1.7;
}

.cets-aluguel__hero-actions,
.cets-aluguel__location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cets-aluguel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.cets-aluguel__btn:hover,
.cets-aluguel__btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.cets-aluguel__btn.is-orange {
    background: var(--cets-secondary);
    color: #fff;
}

.cets-aluguel__btn.is-navy {
    background: var(--cets-primary);
    color: #fff;
}

.cets-aluguel__btn.is-ghost {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(10px);
}

.cets-aluguel__btn.is-block {
    width: 100%;
}

/* —— Benefits —— */
.cets-aluguel__benefits {
    padding: 36px 0;
    background: #fff;
    border-bottom: 1px solid var(--cets-outline);
}

.cets-aluguel__benefit-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cets-aluguel__benefit {
    min-width: 0;
}

.cets-aluguel__benefit-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--cets-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cets-aluguel__benefit strong {
    display: block;
    margin-bottom: 8px;
    color: var(--cets-primary);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cets-aluguel__benefit p {
    margin: 0;
    color: var(--cets-text-soft);
    font-size: 14px;
    line-height: 1.65;
}

/* —— Rooms —— */
.cets-aluguel__rooms,
.cets-aluguel__services {
    padding: 56px 0;
}

.cets-aluguel__section-head {
    max-width: 560px;
    margin-bottom: 32px;
}

.cets-aluguel__section-head h2 {
    margin: 0 0 12px;
    color: var(--cets-primary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.cets-aluguel__section-head p {
    margin: 0;
    color: var(--cets-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.cets-aluguel__section-head.is-light h2,
.cets-aluguel__section-head.is-light p {
    color: #fff;
}

.cets-aluguel__section-head.is-light p {
    color: rgba(255, 255, 255, 0.78);
}

.cets-aluguel__room-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.cets-aluguel__room {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 1px solid var(--cets-outline);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--cets-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cets-aluguel__room:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 52, 93, 0.1);
}

.cets-aluguel__room.is-selected {
    border-color: rgba(254, 94, 30, 0.45);
    box-shadow: 0 0 0 2px rgba(254, 94, 30, 0.18), var(--cets-shadow);
}

.cets-aluguel__room-media {
    position: relative;
    min-height: 200px;
    background: var(--cets-surface-low);
}

.cets-aluguel__room-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.cets-aluguel__room-capacity {
    margin: 0;
    color: var(--cets-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cets-aluguel__room-body {
    display: grid;
    gap: 10px;
    padding: 20px 20px 22px;
    align-content: start;
}

.cets-aluguel__room-title {
    margin: 0;
    color: var(--cets-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cets-aluguel__room-meta {
    margin: 0;
    color: var(--cets-text-soft);
    font-size: 13px;
}

.cets-aluguel__room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 8px;
    padding: 0;
    list-style: none;
}

.cets-aluguel__room-features li {
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--cets-surface-container);
    color: var(--cets-text-soft);
    font-size: 11px;
    font-weight: 700;
}

.cets-aluguel__pricing-note {
    margin: 28px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--cets-secondary);
    background: #fff;
    color: var(--cets-text-soft);
    font-size: 14px;
    line-height: 1.65;
    box-shadow: var(--cets-shadow);
}

.cets-aluguel__pricing-note strong {
    color: var(--cets-primary);
}

/* —— Gallery —— */
.cets-aluguel__gallery {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 86% 18%, rgba(254, 94, 30, 0.2), transparent 28%),
        linear-gradient(135deg, #00345d 0%, #004b82 100%);
    color: #fff;
}

.cets-aluguel__gallery-frame {
    position: relative;
}

.cets-aluguel__gallery-track {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    aspect-ratio: 16 / 9;
}

.cets-aluguel__gallery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.cets-aluguel__gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.cets-aluguel__gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cets-aluguel__gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(0, 52, 93, 0.72);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.cets-aluguel__gallery-nav:hover,
.cets-aluguel__gallery-nav:focus-visible {
    outline: none;
    background: var(--cets-secondary);
    transform: scale(1.04);
}

.cets-aluguel__gallery-nav.is-prev {
    left: 12px;
}

.cets-aluguel__gallery-nav.is-next {
    right: 12px;
}

/* —— Services —— */
.cets-aluguel__services {
    background: #fff;
}

.cets-aluguel__service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.cets-aluguel__service {
    padding: 0 0 0 18px;
    border-left: 3px solid var(--cets-secondary);
}

.cets-aluguel__service h3 {
    margin: 0 0 10px;
    color: var(--cets-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cets-aluguel__service p {
    margin: 0;
    color: var(--cets-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* —— Quote form —— */
.cets-aluguel__quote {
    padding: 64px 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(254, 94, 30, 0.16), transparent 30%),
        linear-gradient(160deg, #00345d 0%, #004070 100%);
    color: #fff;
}

.cets-aluguel__quote-shell {
    display: grid;
    gap: 28px;
}

.cets-aluguel__quote-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.cets-aluguel__quote-copy > p {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.cets-aluguel__quote-contacts {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.cets-aluguel__quote-contacts a {
    color: #ffdbcf;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cets-aluguel__form {
    position: relative;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    color: var(--cets-text);
    box-shadow: 0 18px 40px rgba(0, 20, 40, 0.28);
}

.cets-aluguel__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

.cets-aluguel__form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.cets-aluguel__field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.cets-aluguel__field span,
.cets-aluguel__fieldset legend {
    color: var(--cets-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cets-aluguel__field input,
.cets-aluguel__field select,
.cets-aluguel__field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 52, 93, 0.14);
    border-radius: 10px;
    background: var(--cets-surface);
    color: var(--cets-text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.cets-aluguel__field textarea {
    min-height: 120px;
    resize: vertical;
}

.cets-aluguel__field input::placeholder,
.cets-aluguel__field textarea::placeholder {
    color: #8b929c;
}

.cets-aluguel__field input:hover,
.cets-aluguel__field select:hover,
.cets-aluguel__field textarea:hover {
    border-color: rgba(0, 52, 93, 0.28);
}

.cets-aluguel__field input:focus,
.cets-aluguel__field select:focus,
.cets-aluguel__field textarea:focus {
    outline: none;
    border-color: var(--cets-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 52, 93, 0.12);
}

.cets-aluguel__fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.cets-aluguel__fieldset legend {
    margin-bottom: 12px;
}

.cets-aluguel__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cets-aluguel__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 52, 93, 0.12);
    border-radius: 999px;
    background: var(--cets-surface);
    color: var(--cets-text-soft);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cets-aluguel__check:hover {
    border-color: rgba(0, 52, 93, 0.28);
}

.cets-aluguel__check:has(input:checked) {
    border-color: rgba(254, 94, 30, 0.55);
    background: var(--cets-secondary-soft);
    color: #551600;
}

.cets-aluguel__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--cets-secondary);
}

.cets-aluguel__form-status {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--cets-primary-soft);
    color: var(--cets-primary);
    font-size: 13px;
    font-weight: 600;
}

.cets-aluguel__form-status.is-error {
    background: #fde8e8;
    color: #8a1f1f;
}

.cets-aluguel__form-footnote {
    margin: 12px 0 0;
    color: var(--cets-text-soft);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

/* —— Location —— */
.cets-aluguel__location {
    padding: 48px 0 64px;
    background: #fff;
}

.cets-aluguel__location-shell {
    display: grid;
    gap: 20px;
}

.cets-aluguel__location h2 {
    margin: 0 0 10px;
    color: var(--cets-primary);
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.cets-aluguel__location p {
    margin: 0;
    max-width: 36rem;
    color: var(--cets-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.cets-aluguel__location-actions {
    margin-top: 0;
}

@media (min-width: 720px) {
    .cets-aluguel__benefit-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

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

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

    .cets-aluguel__service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (min-width: 960px) {
    .cets-aluguel {
        --cets-page-pad: 32px;
    }

    .cets-aluguel__benefit-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cets-aluguel__room:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .cets-aluguel__room:last-child:nth-child(odd) .cets-aluguel__room-media img {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .cets-aluguel__quote-shell,
    .cets-aluguel__location-shell {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
        gap: 40px;
    }

    .cets-aluguel__location-shell {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .cets-aluguel__hero-actions .cets-aluguel__btn,
    .cets-aluguel__location-actions .cets-aluguel__btn {
        flex: 1 1 auto;
    }

    .cets-aluguel__gallery-nav {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cets-aluguel__btn,
    .cets-aluguel__room,
    .cets-aluguel__gallery-slide,
    .cets-aluguel__gallery-nav {
        transition: none !important;
    }
}
