/* =========================================================
   PÁGINA DE POLÍTICAS E TERMOS
   ========================================================= */

/* =========================
   RESET E VARIÁVEIS
   ========================= */

:root {
    --motel-red: #d30000;
    --motel-dark-red: #b80000;
    --motel-light: #ffffff;
    --motel-gray-light: #f8f9fa;
    --motel-gray-dark: #e9ecef;
    --motel-text: #2c2c2c;
    --motel-text-light: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--motel-text);
    line-height: 1.6;
}

/* =========================
   SEÇÃO PRINCIPAL
   ========================= */

.policies-section {
    padding: 60px 20px;
    min-height: 100vh;
}

.policies-container {
    max-width: 900px;
    margin: 0 auto;
}

/* =========================
   HEADER DA PÁGINA
   ========================= */

.policies-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--motel-red) 0%, var(--motel-dark-red) 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(211, 0, 0, 0.2);
}

.policies-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.policies-header h1 i {
    font-size: 48px;
}

.policies-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* =========================
   CARDS DE POLÍTICA
   ========================= */

.policy-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--motel-red);
    transition: all 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(211, 0, 0, 0.15);
}

/* Card de aviso */
.policy-card.warning {
    border-left-color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(211, 0, 0, 0.05) 100%);
}

/* Card de concordância */
.policy-card.agreement {
    border-left-color: var(--motel-red);
    background: linear-gradient(135deg, var(--motel-red) 0%, var(--motel-dark-red) 100%);
    color: white;
    text-align: center;
}

/* =========================
   HEADER DO CARD
   ========================= */

.policy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--motel-gray-dark);
}

.policy-header i {
    font-size: 32px;
    color: var(--motel-red);
    flex-shrink: 0;
}

.policy-card.agreement .policy-header i {
    color: white;
}

.policy-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.policy-card.agreement .policy-header h2 {
    color: white;
}

/* =========================
   CONTEÚDO DO CARD
   ========================= */

.policy-content {
    color: var(--motel-text-light);
}

.policy-content p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

/* Texto de aviso */
.warning-text {
    background: #fff3cd;
    padding: 16px;
    border-radius: 8px;
    color: #856404;
    font-weight: 600;
    margin-bottom: 16px !important;
    border-left: 4px solid #ffc107;
}

/* Texto de concordância */
.agreement-text {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    margin: 0;
}

.agreement-text i {
    font-size: 24px;
}

/* =========================
   SUBSEÇÕES
   ========================= */

.policy-subsection {
    margin-top: 24px;
    padding: 16px;
    background: var(--motel-gray-light);
    border-radius: 12px;
}

.policy-subsection:first-of-type {
    margin-top: 0;
}

.policy-subsection h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--motel-red);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-subsection h3 i {
    font-size: 18px;
}

.policy-subsection p {
    margin-bottom: 0;
    font-size: 14px;
}

/* =========================
   RESPONSIVO - TABLET
   ========================= */

@media (max-width: 768px) {
    .policies-section {
        padding: 40px 16px;
    }

    .policies-header {
        padding: 30px 16px;
        margin-bottom: 40px;
    }

    .policies-header h1 {
        font-size: 32px;
    }

    .policies-header p {
        font-size: 16px;
    }

    .policy-card {
        padding: 24px;
        border-left-width: 5px;
    }
}

/* =========================
   RESPONSIVO - MOBILE
   ========================= */

@media (max-width: 480px) {
    .policies-section {
        padding: 30px 12px;
    }

    .policies-header {
        padding: 24px 12px;
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .policies-header h1 {
        font-size: 26px;
        flex-direction: column;
        gap: 12px;
    }

    .policies-header h1 i {
        font-size: 36px;
    }

    .policies-header p {
        font-size: 14px;
    }

    .policy-card {
        padding: 20px;
        margin-bottom: 16px;
        border-left-width: 4px;
    }

    .policy-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        border-bottom: 2px solid var(--motel-gray-dark);
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .policy-header h2 {
        font-size: 18px;
    }

    .policy-header i {
        font-size: 28px;
    }

    .policy-content {
        text-align: left;
    }

    .policy-subsection {
        padding: 12px;
        margin-top: 16px;
    }

    .agreement-text {
        flex-direction: column;
    }
}
