/* ==========================================================================
   TIBI Pet Universe - Página de Marcações
   Estilo consistente com outras páginas do tema
   ========================================================================== */

/* Page wrapper */
.tibi-bookings-page {
    background-color: var(--background);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.tibi-bookings-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ec4130;
}

.tibi-bookings-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Quando tem imagem de fundo, remover gradiente do parent */
.tibi-bookings-hero:has(.tibi-bookings-hero-bg[style*="background-image"]) {
    background: transparent;
}

.tibi-bookings-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 35, 43, 0.4) 0%, rgba(217, 27, 35, 0.5) 100%);
}

.tibi-bookings-hero .container {
    position: relative;
    z-index: 1;
}

.tibi-bookings-hero-content {
    max-width: 700px;
    padding: 4rem 0;
    text-align: left;
}

.tibi-bookings-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.tibi-bookings-hero-badge svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tibi-bookings-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.tibi-bookings-hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tibi-bookings-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tibi-bookings-hero-actions .btn {
    background-color: #ffffff !important;
    color: #ec4130 !important;
    border-color: #ffffff !important;
}

.tibi-bookings-hero-actions .btn:hover {
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #ec4130 !important;
    border-color: #ffffff !important;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.tibi-bookings-intro {
    padding: 5rem 0;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
}

.tibi-bookings-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tibi-bookings-intro-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tibi-bookings-intro-content p {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    margin: 0 0 1.5rem;
    line-height: 1.8;
}

.tibi-bookings-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tibi-bookings-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
}

.tibi-bookings-features li svg {
    flex-shrink: 0;
    color: var(--tibi-teal);
}

.tibi-bookings-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tibi-bookings-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.tibi-bookings-info-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.tibi-bookings-info-card svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.tibi-bookings-info-card div {
    display: flex;
    flex-direction: column;
}

.tibi-bookings-info-card strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
}

.tibi-bookings-info-card span {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   Form Section
   ========================================================================== */
.tibi-bookings-form-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.tibi-bookings-form-section .section-header {
    margin-bottom: 3rem;
}

.tibi-bookings-form-section .section-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.tibi-bookings-form-section .section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Alerts */
.tibi-bookings-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tibi-bookings-alert svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tibi-bookings-alert div {
    flex: 1;
}

.tibi-bookings-alert strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tibi-bookings-alert p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.tibi-bookings-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

.tibi-bookings-alert-success svg {
    color: #10b981;
}

.tibi-bookings-alert-error {
    background: rgba(250, 35, 43, 0.06);
    border: 1px solid rgba(250, 35, 43, 0.15);
    color: var(--primary);
}

.tibi-bookings-alert-error svg {
    color: var(--primary);
}

/* Form Card */
.tibi-bookings-form-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    margin: 0 auto;
    overflow: hidden;
}

.tibi-bookings-form {
    padding: 0;
}

/* Form Groups */
.tibi-bookings-form-group {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border);
}

.tibi-bookings-form-group:last-of-type {
    border-bottom: none;
}

.tibi-bookings-form-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tibi-bookings-form-group-header svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.tibi-bookings-form-group-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

/* Form Grid */
.tibi-bookings-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.tibi-bookings-field {
    display: flex;
    flex-direction: column;
}

.tibi-bookings-field-full {
    grid-column: 1 / -1;
}

.tibi-bookings-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.tibi-bookings-field .required {
    color: var(--primary);
    font-weight: 700;
}

.tibi-bookings-field input,
.tibi-bookings-field select,
.tibi-bookings-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.tibi-bookings-field input:focus,
.tibi-bookings-field select:focus,
.tibi-bookings-field textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px rgba(250, 35, 43, 0.1);
}

.tibi-bookings-field input::placeholder,
.tibi-bookings-field textarea::placeholder {
    color: var(--muted-foreground);
    opacity: 0.7;
}

.tibi-bookings-field textarea {
    resize: vertical;
    min-height: 100px;
}

.tibi-bookings-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235a6367' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Consent */
.tibi-bookings-consent {
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(18, 157, 171, 0.05) 0%, rgba(18, 157, 171, 0.02) 100%);
    border-top: 1px solid var(--border);
}

.tibi-bookings-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.5;
}

.tibi-bookings-consent-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: var(--primary);
    flex-shrink: 0;
}

/* Submit */
.tibi-bookings-submit {
    padding: 2rem 2.5rem;
    background: var(--muted);
    border-top: 1px solid var(--border);
    text-align: center;
}

.tibi-bookings-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ec4130;
    box-shadow: 0 4px 14px rgba(250, 35, 43, 0.25);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.tibi-bookings-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 35, 43, 0.3);
}

.tibi-bookings-submit-note {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.bt-cta {
    padding: 5rem 0;
    background-color: var(--card);
}

.bt-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 4rem;
    background: linear-gradient(135deg, #ec4130 0%, #ec4130 100%);
    border-radius: calc(var(--radius) * 2);
    box-shadow: 0 25px 80px -20px rgba(18, 157, 171, 0.4);
}

.bt-cta-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

.bt-cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

.bt-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.bt-cta-actions .btn {
    background-color: #ffffff !important;
    color: #ec4130 !important;
    border-color: #ffffff !important;
}

.bt-cta-actions .btn:hover {
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #ec4130 !important;
    border-color: #ffffff !important;
}


/* ==========================================================================
   CTA Section
   ========================================================================== */
.tibi-bookings-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--tibi-teal) 0%, #00C7B1 100%);
    text-align: center;
}

.tibi-bookings-cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tibi-bookings-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tibi-bookings-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tibi-bookings-cta-btn-white {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.tibi-bookings-cta-btn-white:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .tibi-bookings-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tibi-bookings-info-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .tibi-bookings-info-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .tibi-bookings-hero {
        min-height: 400px;
    }

    .tibi-bookings-hero-content {
        padding: 3rem 0;
    }

    .tibi-bookings-hero-title {
        font-size: 2rem;
    }

    .tibi-bookings-hero-text {
        font-size: 1rem;
    }

    .tibi-bookings-hero-actions {
        flex-direction: column;
    }

    .tibi-bookings-intro {
        padding: 3.5rem 0;
    }

    .tibi-bookings-intro-content h2 {
        font-size: 1.5rem;
    }

    .tibi-bookings-info-cards {
        grid-template-columns: 1fr;
    }

    .tibi-bookings-info-card {
        flex-direction: row;
        text-align: left;
    }

    .tibi-bookings-form-section {
        padding: 3.5rem 0;
    }

    .tibi-bookings-form-section .section-title {
        font-size: 1.75rem;
    }

    .tibi-bookings-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tibi-bookings-form-group {
        padding: 1.5rem;
    }

    .tibi-bookings-consent {
        padding: 1.25rem 1.5rem;
    }

    .tibi-bookings-submit {
        padding: 1.5rem;
    }

    .tibi-bookings-cta {
        padding: 3.5rem 0;
    }

    .tibi-bookings-cta-content h2 {
        font-size: 1.75rem;
    }

    .tibi-bookings-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .tibi-bookings-hero-badge {
        font-size: 0.8125rem;
        padding: 0.375rem 0.875rem;
    }

    .tibi-bookings-hero-title {
        font-size: 1.75rem;
    }

    .tibi-bookings-form-card {
        border-radius: 0;
        margin: 0 -1rem;
        border-left: none;
        border-right: none;
    }

    .tibi-bookings-btn-submit {
        width: 100%;
        justify-content: center;
    }
}
