/**
 * =====================================================
 * ESTILOS DA PÁGINA OBRIGADO - MODULAR
 * =====================================================
 * Usa variáveis CSS definidas pelo thankyou-widget.js
 * Arquivo: css/style-thankyou.css
 * =====================================================
 */

/* Variáveis padrão */
:root {
    --ty-primaria: #c9a96e;
    --ty-secundaria: #1a2a3a;
    --ty-fundo-pagina: #f8f9fa;
    --ty-fundo-card: #ffffff;
    --ty-sucesso: #25d366;
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.ty-page-header {
    background: var(--ty-secundaria);
    padding: 16px 24px;
}

.ty-page-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ty-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ty-logo-desktop {
    height: 50px;
    width: auto;
    display: none;
}

.ty-logo-mobile {
    height: 40px;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .ty-logo-desktop { display: block; }
    .ty-logo-mobile { display: none; }
}

.ty-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: opacity 0.3s;
}

.ty-back-link:hover {
    opacity: 0.8;
}

/* =====================================================
   PAGE MAIN
   ===================================================== */
.ty-page-main {
    min-height: calc(100vh - 140px);
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--ty-fundo-pagina) 0%, #e9ecef 100%);
}

.ty-page-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* =====================================================
   SUCCESS ICON
   ===================================================== */
.ty-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ty-success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--ty-sucesso);
}

/* =====================================================
   TITLE & MESSAGES
   ===================================================== */
.ty-title {
    font-family: 'Bodoni Moda', 'Montserrat', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--ty-secundaria);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .ty-title { font-size: 48px; }
}

.ty-divider {
    width: 60px;
    height: 3px;
    background: var(--ty-primaria);
    margin: 0 auto 24px;
}

.ty-message-main {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ty-message-main strong {
    color: var(--ty-secundaria);
}

.ty-message-secondary {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* =====================================================
   PROTOCOL BOX
   ===================================================== */
.ty-protocol-box {
    background: var(--ty-fundo-card);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    display: inline-block;
}

.ty-protocol-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.ty-protocol-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ty-secundaria);
    letter-spacing: 0.05em;
}

/* =====================================================
   CONTACT BOX
   ===================================================== */
.ty-contact-box {
    background: var(--ty-fundo-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.ty-contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ty-secundaria);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ty-contact-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.ty-contact-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 480px) {
    .ty-contact-options {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
}

.ty-contact-option {
    text-align: center;
}

.ty-contact-option-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.ty-contact-option-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ty-primaria);
    text-decoration: none;
    transition: opacity 0.3s;
}

.ty-contact-option-value:hover {
    opacity: 0.8;
}

/* =====================================================
   ACTION BUTTONS
   ===================================================== */
.ty-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

@media (min-width: 480px) {
    .ty-action-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
}

.ty-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--ty-secundaria);
    border: 2px solid var(--ty-secundaria);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ty-btn-back:hover {
    background: var(--ty-secundaria);
    color: #fff;
}

.ty-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--ty-sucesso);
    color: #fff;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ty-btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.ty-btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

/* =====================================================
   EXPLORE LINKS
   ===================================================== */
.ty-explore-section {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.ty-explore-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin-bottom: 16px;
}

.ty-explore-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.ty-explore-links a {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--ty-primaria);
    text-decoration: none;
    transition: opacity 0.3s;
}

.ty-explore-links a:hover {
    text-decoration: underline;
}

.ty-explore-links span {
    color: #ccc;
}

/* =====================================================
   PAGE FOOTER
   ===================================================== */
.ty-page-footer {
    background: var(--ty-secundaria);
    padding: 20px;
    text-align: center;
}

.ty-page-footer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}