/* === Política de Privacidade - Unimed Ceará === */
/* Estilos para a página de política de privacidade */

/* Fontes Unimed */
@font-face {
    font-family: 'UnimedSans';
    src: url('../fonts/unimedsans-regular-webfont.woff2') format('woff2'),
         url('../fonts/unimedsans-regular-webfont.woff') format('woff'),
         url('../fonts/unimedsans-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UnimedSans';
    src: url('../fonts/unimedsans-bold-webfont.woff2') format('woff2'),
         url('../fonts/unimedsans-bold-webfont.woff') format('woff'),
         url('../fonts/unimedsans-bold-webfont.ttf') format('truetype'),
         url('../fonts/unimedsans-bold-webfont.eot');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'UnimedSlab';
    src: url('../fonts/unimedslab-regular-webfont.woff2') format('woff2'),
         url('../fonts/unimedslab-regular-webfont.woff') format('woff'),
         url('../fonts/unimedslab-regular-webfont.ttf') format('truetype'),
         url('../fonts/unimedslab-regular-webfont.eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UnimedSlab';
    src: url('../fonts/unimedslab-bold-webfont.woff2') format('woff2'),
         url('../fonts/unimedslab-bold-webfont.woff') format('woff'),
         url('../fonts/unimedslab-bold-webfont.ttf') format('truetype'),
         url('../fonts/unimedslab-bold-webfont.eot');
    font-weight: bold;
    font-style: normal;
}

/* Cores da marca */
:root {
    --unimed-green: #008a5c;
    --text-dark: #333;
    --bg-white: #fff;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'UnimedSans', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Títulos */
.container h1 {
    color: var(--unimed-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.container h2 {
    color: var(--unimed-green);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-decoration: none;
}

/* Parágrafos */
.container p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Links */
.container a {
    color: var(--unimed-green);
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.container a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Textos em destaque */
.highlight {
    color: var(--unimed-green);
    font-weight: bold;
    text-decoration: none;
}

/* Listas */
.container ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.container ul.no-style {
    list-style-type: none !important;
    padding-left: 1rem;
}

.container ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.container li {
    margin-bottom: 0.5rem;
}

/* Tabelas de dados */
.data-table {
    border: solid 1px var(--unimed-green);
    width: 50%;
    margin: 1rem auto;
    border-collapse: collapse;
    min-width: 300px;
}

@media (max-width: 768px) {
    .data-table {
        width: 100%;
    }
}

.data-table td {
    padding: 8px;
}

.data-table .table-header {
    text-align: center;
    color: var(--unimed-green);
    font-weight: bold;
    padding: 10px;
}

.data-table .label-cell {
    border-top: solid 1px var(--unimed-green);
    border-right: solid 1px var(--unimed-green);
    color: var(--unimed-green);
    font-weight: bold;
}

.data-table .value-cell {
    border-top: solid 1px var(--unimed-green);
}

.data-table ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Informações da empresa */
.company-info {
    text-align: center;
    color: var(--unimed-green);
    margin-top: 2rem;
}

.company-info p {
    text-align: center !important;
}

.company-info strong {
    color: var(--unimed-green);
}

/* Espaçamento */
.spacing {
    margin: 1rem 0;
}

/* Seções internas de lista */
.container li h2 {
    margin-top: 1rem;
}

/* === Modal de Aviso === */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--unimed-green);
    outline: none;
}

.modal-title {
    color: var(--unimed-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-weight: bold;
    font-family: 'UnimedSans', Arial, Helvetica, sans-serif;
}

.modal-body {
    color: var(--text-dark);
    line-height: 1.6;
    font-family: 'UnimedSans', Arial, Helvetica, sans-serif;
}

.modal-body p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.modal-contacts {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.modal-contacts li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.modal-contacts li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--unimed-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-contacts a {
    color: var(--unimed-green);
    text-decoration: none;
    font-weight: normal;
}

.modal-contacts a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}
