/* Reset do CSS padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit; 
}

/* Estilo da página como um todo */
body {
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    color: #2b2b2b;
    line-height: 1.6;
}

/* Cabeçalho e Menus */
header {
    width: 100%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
}

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

.container-header img, #menu-principal a {
    transition: all 0.3s ease;
}

.container-header a:hover img {
    transform: scale(1.1);
}

#menu-principal a:hover {
    color: #6a0dad;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

#menu-principal {
    display: flex;
    align-items: center;
    gap: 25px;
}

#menu-principal li {
    display: inline-block;
}

#menu-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

#menu-social li {
    display: inline-block;
}

/* Seções */
main {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 0 20px;
}

section {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Títulos e Sub títulos*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;

    text-align: center;
}

/* interface */
header nav, footer nav, button, input {
    font-family: 'Inter', sans-serif;
}

/* Capa do Blog */
#capa h1 {
    font-size: 50px;
    margin-bottom: 50px;
}

#capa figure img {
    width: 100%;
    height: auto;

    border-radius: 28px;
}

#capa figure figcaption {
    margin: 10px 0px 30px;
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    text-align: center;
    font-style: italic;
}

#capa p {
    position: relative;
    width: fit-content;
    margin: 70px auto;
    font-size: 1.5rem;
    color: #2b2b2b;
    font-style: italic;

    padding-right: 5px;

    border-right: 3px solid #6a0dad; 
}

#capa p.digitando {
    animation: cursor-piscando 0.8s step-end infinite;
}

#capa p.digitado-completo {
    border-right-color: transparent;
    animation: none;
}

@keyframes cursor-piscando {
    from, to { border-right-color: transparent; }
    50% { border-right-color: #6a0dad; }
}

hr {
    margin: 50px auto;
    height: 1px;
    border: none;
    width: 25%;
    background: linear-gradient(
        to right,
        transparent,
        #6a0dad,
        transparent
    );
}

#artigos {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 0px;
}

/* Últimos Artigos */
#artigos h2 {
    font-size: 40px;
    margin-bottom: 10px;

}

#artigos p {
    margin-bottom: 15px;
    font-style: italic;
}

.container {
    margin-top: 50px;

    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 40px;

    flex-wrap: wrap;
}


article {
    width: 500px;
    height: 480px;

    padding: 0px 25px;

    background: white;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;

    text-align: center;

    overflow: hidden;
}



.titulo-main-article {
    font-size: 18px;
    margin: 0px;
    
    
    
}

article hr {
    margin: 10px auto 25px;
}

.botao-main-article {
    font-size: 20px;
    transition: 0.3s;

}

.botao-main-article:hover {
    transform: scale(1.1);
}

.botao-main-article:hover {
    color: #6a0dad;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}


article img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    border-radius: 8px;

    margin: 20px auto 0;
}

#todos-artigos {
    margin: 50px 0 50px;
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    
    transition: 0.3s;
}

#todos-artigos hr {
    flex: 0.3;
    margin: 0px;
    width: auto;
}

#todos-artigos h3 {
    white-space: nowrap;
    margin-bottom: 0;
}

#todos-artigos:hover {
    transform: scale(1.1);
}

#todos-artigos:hover {
    color: #6a0dad;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

#capa-loja h1{
    margin-bottom: 30px;
    font-size: 60px;
}

#capa-loja div {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

#capa-loja div hr {
    flex: 0.5;
    height: 1px;
    border: none;
    width: 50px;
    background: linear-gradient(
        to right,
        transparent,
        #6a0dad,
        transparent
    );
    /* box-shadow: 0 0 10px 1px #6a0dad; */
    
}

#capa-loja figure {
    align-content: center;
}

#newsletter {
    color: #fff;
    background: radial-gradient(
        /* to bottom right, */
       #3c0464,
       #1a1a1a
        
    );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
    padding: 30px 0px;
    gap: 10px;
    margin: 0px;
    height: 300px;
}

#newsletter h2 {
    font-size: 40px;
    margin: 0 auto;
    color:#fff;
}

#newsletter hr {
    margin: 0 auto 40px;
    width: 300px;

    background: linear-gradient(
        to right,
        transparent,
        #6a0dad,
        transparent
    );
}

#formulario form {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

#formulario fieldset {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    border: none;
    padding: 0;
}

#formulario p {
    margin: 0;
}

#formulario p:last-child {
    display: flex;
    justify-content: center;
}

#formulario button {
    align-self: center;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    transition: 0.3s;
    background: linear-gradient(
        to bottom right,
        #8b5fbf,
        #6a0dad  
    );
    color: #fff;
}

#formulario button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px #6a0dad, 0 0 15px #6a0dad, 0 0 25px #6a0dad;
    outline: none;
}

#formulario input {
    background: #1B1C24;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #666;
    width: 300px;

    transition: 0.3s;
}

#formulario input:hover {
    background: #272935;
}

#formulario input:focus {
    outline: none;
    background-color: #1a1a1a;
    border: 2px solid #b19cd9;
    color: #b19cd9;
    box-shadow: 0 0 10px #b19cd9;
}

#formulario input::placeholder {
    color: #b19cd9;
}

footer {
    width: 100%;
    background-color: #f4f4f4;
    padding: 40px 0 20px; 
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    gap: 20px;              
}

.container-footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.container-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.container-footer li {
    display: flex;
    align-items: center;
}

.container-footer li:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #ccc;
}

.container-footer a:hover {
    transform: scale(1.1);
    transition: 0.3s;
    text-decoration: underline;
    color: #6a0dad;
}

.container-footer h2 {
    font-size: 35px;
    margin: 0 0;
    padding: 0 0;
}

.container-footer hr {
    margin: 0 0 15px;
}

#copiar-email {
    position: relative;
    cursor: pointer;
}

.tooltip-copiar {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tooltip-copiar::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

#copiar-email:hover .tooltip-copiar {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-copiar.copiado {
    background-color: #6a0dad;
}

.tooltip-copiar.copiado::after {
    border-color: #6a0dad transparent transparent transparent;
}

#copyright {
    margin: 18px 0 5px;
} 
 