/* termos-uso.css - CSS unificado para termos de uso */

/* Reset e variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #007bff;
    --color-primary-hover: #0056b3;
    --color-text-dark: #333333;
    --color-text-light: #555555;
    --color-background: #f8f8f8;
    --color-white: #ffffff;
    --color-border: #dddddd;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(to right, #007bff, #ff9800);
}

body.termos-page {
    font-family: "Red Hat Display", sans-serif;
    background-color: var(--color-background);
    color: var(--color-text-dark);
    padding-top: 60px;
    line-height: 1.6;
}

/* Container principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER - IDÊNTICO AO DA HOME --- */
header {
    background-color: #ffffff;
    padding: 12px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.header-logo {
    height: 32px;
    margin-right: 1px;
    margin-top: 0;
}

header nav a {
    text-decoration: none;
    color: #000;
    margin: 20px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: bold;
    font-size: 14px;
    position: relative; 
    padding-bottom: 5px;
}

/* Efeito de sublinhado com degradê */
header nav a:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #007bff, #ff9800);
    transition: width .3s ease;
}

header nav a:hover:after {
    width: 100%;
}

/* CONTAINER DOS TERMOS DE USO */
.termos-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 8px 25px var(--color-shadow);
}

/* Título Principal */
.termos-container h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.termos-container h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.introducao-termos {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* Subtítulos de Seção */
.termos-container h3 {
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    border-left: 4px solid var(--color-primary);
    padding-left: 12px;
    font-weight: 600;
}

/* Parágrafos */
.termos-container p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

/* Listas */
.termos-container ul {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin-left: 25px;
    margin-bottom: 20px;
}

.termos-container li {
    margin-bottom: 10px;
}

/* Links */
.termos-container a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.termos-container a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Link de contato destacado */
.link-contato-termos {
    text-align: center;
    margin: 20px 0;
}

.link-contato-termos a {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #22B4C9, #FEC93E, #F38B1E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #22B4C9, #FEC93E, #F38B1E) 1;
}

/* "Voltar ao Topo" */
.back-to-top {
    text-align: right;
    margin-top: 40px;
    font-size: 1rem;
}

.back-to-top a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.back-to-top a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* --- FOOTER - IDÊNTICO AO DA HOME --- */
footer {
    background-color: #343434;
    color: #9b9b9b;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    color: #f8f8f8;
    font-size: 12px;
    gap: 15px;
}

footer .links-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 1;
    margin-right: 150px;
}

footer a {
    color: #f8f8f8;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

/* Efeito Sublinhado ao Hover */
footer a:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #007bff, #ff9800);
    transition: width .3s ease;
}

footer a:hover:after {
    width: 100%;
}

/* RESPONSIVIDADE */
@media (min-width: 769px) {
    footer .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 768px) {
    body.termos-page {
        padding-top: 100px;
    }
    
    header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    header nav a {
        margin: 10px;
        font-size: 12px;
    }
    
    .termos-container {
        margin: 20px auto;
        padding: 25px;
    }
    
    .termos-container h2 {
        font-size: 1.6rem;
    }
    
    .termos-container h3 {
        font-size: 1.2rem;
    }
    
    footer .links-container {
        margin-right: 0;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .termos-container {
        padding: 20px;
        margin: 15px;
    }
    
    .termos-container h2 {
        font-size: 1.4rem;
    }
    
    .termos-container h3 {
        font-size: 1.1rem;
    }
    
    .termos-container p,
    .termos-container ul {
        font-size: 1rem;
    }
    
    .introducao-termos {
        font-size: 1rem;
    }
}