/* ===================
   Fontes
   =================== */

@font-face {
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-family: 'Montserrat';
    font-weight: normal;
    font-style: normal;
}

@font-face {
    src: url('../font/Poppins-Regular.ttf') format('truetype');
    font-family: 'Poppins';
    font-weight: normal;
    font-style: normal;
}

/* ===================
   Variáveis
   =================== */

:root {
    /* Scrollbar */
    --scrollbar-color-02: #3422604d;
    --scrollbar-color-01: #d796df;

    /* Loading Screen */
    --loading-screen-color-02: #9f80b7;
    --loading-screen-color-01: #6f43c7;
    --loading-screen-text: #0000004d;

    /* Main */
    --background-color: #1e1239;
    --text-color: #d8d8d8;

    /* Navbar */
    --navbar-link-hover-color: #d796df;
    --navbar-hover-color: #32215eb3;
    --navbar-color: #32215e4d;

    /* Cube Faces*/
    --cube-face-06-b: #a932ee;
    --cube-face-06-a: #a2b1ba;

    --cube-face-05-b: #a932ee;
    --cube-face-05-a: #a2b1ba;

    --cube-face-04-b: #a932ee;
    --cube-face-04-a: #47046d;

    --cube-face-03-b: #a932ee;
    --cube-face-03-a: #47046d;

    --cube-face-02-b: #a932ee;
    --cube-face-02-a: #47046d;

    --cube-face-01-a: #000000;

    --logo-color-01: #d796df;
    --logo-color-02: #46174b;
    --logo-hover: #d796df80;
    
    --nav-links-shadow: #0000001a;
    --nav-links-background: #34226033;
    --nav-links-hover-text: #d796df;
    --nav-links-hover-background: #34226033;

    --shine-hover: #d796df4d;

    /* Removed invalid variable --titlle-color */
}

/* ===================
   Regras Globais
   =================== */

#spline-viewer {
  transition: opacity 0.8s ease;
}

* {
    box-sizing: border-box;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--background-color);
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

p {
    font-family: "Poppins", sans-serif;
}

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

/* ===================
   Scrollbar
   =================== */

* {
    scrollbar-color: var(--scrollbar-color-01) var(--scrollbar-color-02);
    scrollbar-width: thin;
 }

/* ===================
   Carregamento
   =================== */

   #loading-screen {
    background-image: linear-gradient(to bottom, var(--loading-screen-color-01), var(--loading-screen-color-02));
    justify-content: center;
    align-items: center;
    position: fixed;
    display: flex;
    z-index: 9999;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

#spline-viewer {
    justify-content: center;
    align-items: center;
    position: fixed;
    display: flex;
    z-index: 9999;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.disappear span {
    text-shadow: 0px 0px 0px var(--loading-screen-text);
    animation-iteration-count: infinite;
    animation-duration: 2.5s;
    display: inline-block;
    color:transparent;
    font-size: 4rem;
}

.disappear span:nth-child(1){
    animation-name: disappearleft;
}

.disappear span:nth-child(2){
    animation-name: disappearleft;
    animation-delay: .2s;
}

.disappear span:nth-child(3){
    animation-name: disappearleft;
    animation-delay: .4s;
}

.disappear span:nth-child(4){
    animation-name: disappearleft;
    animation-delay: .6s;
}

.disappear span:nth-child(5){
    animation-name: disappearleft;
    animation-delay: 0.8s;
}

.disappear span:nth-child(6){
    animation-name: disappearleft;
    animation-delay: 1s;
}

.disappear span:nth-child(7){
    animation-name: disappearleft;
    animation-delay: 1.2s;
}

.disappear span:nth-child(8){
    animation-name: disappearleft;
    animation-delay: 1.4s;
}

.disappear span:nth-child(9){
    animation-name: disappearleft;
    animation-delay: 1.6s;
}

.disappear span:nth-child(10){
    animation-name: disappearleft;
    animation-delay: 1.8s;
}

@keyframes disappearleft{
    50% {transform: skew(50deg) translateY(-200%);
        text-shadow: 0px 0px 50px;
        opacity: 0;
    }
}

@keyframes disappearight{
    50% {transform: skew(-50deg) translateY(-200%);
        text-shadow: 0px 0px 50px;
        opacity: 0;
    }
}

/* ===================
   Menu Hamburguer
   =================== */

.menu {
    padding: 0.6rem 0.8rem;
    background: var(--nav-links-background);
    border-radius: 20px;
    display: none;
    box-shadow: 0 4px 6px var(--nav--links-shadow);
    transition: all 0.3s ease;
}

.menu:hover {
    background: var(--nav-links-hover-background);
}

.menu-icon {
    position: relative;
    cursor: pointer;
    z-index: 10000;
    display: none;
    height: 20px;
    width: 30px;
}

.menu-icon span {
    background: var(--text-color);
    transition: .25s ease-in-out;
    transform: rotate(0deg);
    border-radius: 3px;
    position: absolute;
    display: block;
    height: 3px;
    width: 100%;
    opacity: 1;
    left: 0;
}

.menu:hover .menu-icon span {
    background: var(--nav-links-hover-text);
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

.menu-icon:hover span {
    background-color: var(--navbar-link-hover-color);
}

.menu-icon.open span:nth-child(1),
.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.menu-icon.open span:nth-child(2),
.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3),
.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Mostrar menu hambúrguer em telas menores */
@media screen and (max-width: 960px) {
    .menu {
        display: block;
    }

    .menu-icon {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(30, 18, 57, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 9999;
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 80%;
    }
    
    .nav-links a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .nav-links a i {
        padding-right: 8px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-links li {
        width: 90%;
        margin: 0.8rem 0;
    }

    .nav-links a {
        padding: 0.8rem;
        font-size: 1.1rem;
    }

    .nav-links a i {
        font-size: 1.2rem;
    }
}

/* ===================
   Cabeçalho
   =================== */

header {
    background-color: var(--navbar-color);
    transition: background-color 0.3s ease;
    backdrop-filter: blur(100px);
    padding: 0.5rem 0;
    position: fixed;
    z-index: 1000;
    width: 100%;
}

/* Background texture */
header::before {
    animation: backgroundShift 30s linear infinite;
    background: url('../img/blur.jpg') repeat-x;
    filter: blur(10px);
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.3;
    z-index: -1;
    left: -20px;
    content: '';
    top: -20px;
}

@keyframes backgroundShift {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

header:hover {
    background-color: var(--navbar-hover-color);
}

nav {
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
}

@media (max-width: 2000px) {
    nav {
        max-width: 93%;
    }
}

@media (max-width: 1700px) {
    nav {
        max-width: 91%;
    }
}

@media (max-width: 1400px) {
    nav {
        max-width: 90%;
    }
}

@media (max-width: 1100px) {
    nav {
        max-width: 89%;
    }
}

@media (max-width: 800px) {
    nav {
        max-width: 88%;
    }
}

@media (max-width: 500px) {
    nav {
        max-width: 87%;
    }
}

/* Left 01 */
.cube {
    animation: animate 3s linear infinite;
    transform-style: preserve-3d;
    position: relative;
    margin-right: 15px;
    height: 20px;
    width: 20px;
}

@keyframes animate {
    0% { transform: rotateX(-30deg) rotateY(0deg) rotateZ(0deg); }
    25% { transform: rotateX(30deg) rotateY(90deg) rotateZ(45deg); }
    50% { transform: rotateX(-30deg) rotateY(180deg) rotateZ(0deg); }
    75% { transform: rotateX(30deg) rotateY(270deg) rotateZ(-45deg); }
    100% { transform: rotateX(-30deg) rotateY(360deg) rotateZ(0deg); }
}

.cube div {
    transform-style: preserve-3d;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.cube div span {
    transform: rotateY(calc(90deg * var(--i))) translateZ(10px);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.cube div span:nth-child(1) {
    background: var(--cube-face-01-a);
}

.cube div span:nth-child(2) {
    background: linear-gradient(45deg, var(--cube-face-02-b), var(--cube-face-02-a));
}

.cube div span:nth-child(3) {
    background: linear-gradient(45deg, var(--cube-face-03-b), var(--cube-face-03-a));
}

.cube div span:nth-child(4) {
    background: linear-gradient(45deg, var(--cube-face-04-b), var(--cube-face-04-a));
}

.cube .top {
    background: linear-gradient(45deg, var(--cube-face-05-b), var(--cube-face-05-a));
    transform: rotateX(90deg) translateZ(10px);
    position: absolute;
    height: 20px;
    width: 20px;
    top: 0;
}

.cube .bottom {
    background: linear-gradient(45deg, var(--cube-face-06-b), var(--cube-face-06-a));
    transform: rotateX(-90deg) translateZ(10px);
    position: absolute;
    height: 20px;
    width: 20px;
    bottom: 0;
}

/* Left 02 */
.logo a {
    transition: transform 0.3s ease;
    align-items: center;
    display: flex;
}

.logo h1 {
    background: linear-gradient(45deg, var(--logo-color-01), var(--logo-color-02));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--logo-color-01);
}

.logo a:hover .cube {
    transform: rotate(10deg);
}

.logo a:hover h1 {
    text-shadow: 0 0 10px var(--logo-hover);
}

@media screen and (max-width: 960px) {
    .logo h1 {
        display: none;
    }

    .logo a {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .cube {
        margin-right: 0;
    }

    .search-bar {
        max-width: 120px;
    }

    .search-bar:hover input,
    .search-bar input:focus {
        width: 120px;
    }

    .search-bar input {
        font-size: 0.8rem;
    }

    .search-bar button {
        font-size: 0.9rem;
        right: 8px;
    }

    .search-bar {
        padding-right: 25px;
    }

    .header-right {
        align-items: center;
        display: flex;
        gap: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .header-right {
        gap: 0.5rem;
    }
    
    .search-bar {
        max-width: 120px; /* Aumentado de 100px para 120px */
    }
    
    .search-bar:hover input,
    .search-bar input:focus {
        width: 80px; /* Reduzido de 100px para 80px para caber melhor */
    }
    
    .user-profile img {
        height: 35px;
        width: 35px;
    }
}

/* Adicionar media query para telas muito pequenas */
@media screen and (max-width: 360px) {
    .logo h1 {
        display: none;
    }

    .logo a {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .cube {
        margin-right: 0;
        height: 18px;
        width: 18px;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .nav-links a i {
        font-size: 1rem;
        padding-right: 4px;
    }

    .search-bar {
        max-width: 80px;
        padding: 4px 8px;
    }

    .search-bar:hover input,
    .search-bar input:focus {
        width: 50px;
    }

    .search-bar input {
        font-size: 0.7rem;
        padding: 2px;
    }

    .search-bar button {
        font-size: 0.8rem;
        padding: 2px;
    }

    .user-profile img {
        height: 25px;
        width: 25px;
    }

    .header-right {
        gap: 0.3rem;
    }

    nav {
        max-width: 95%;
        padding: 0 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .search-bar {
        max-width: 100px; /* Aumentado de 80px para 100px */
        padding: 6px 10px; /* Reduzido o padding */
    }
    
    .search-bar:hover input,
    .search-bar input:focus {
        width: 60px; /* Reduzido de 80px para 60px */
    }
    
    .search-bar input {
        font-size: 0.8rem; /* Aumentado de 0.7rem para 0.8rem */
        padding: 3px; /* Reduzido o padding interno */
    }
    
    .search-bar button {
        font-size: 1rem; /* Reduzido de 1.2rem para 1rem */
        padding: 3px; /* Reduzido o padding do botão */
    }
    
    .user-profile img {
        height: 30px;
        width: 30px;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }

    .nav-links a i {
        font-size: 1.1rem;
        padding-right: 6px;
    }
}

/* Center */
.nav-links {
    list-style-type: none;
    align-items: center;
    display: flex;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    box-shadow: 0 4px 6px var(--nav--links-shadow);
    background: var(--nav-links-background);
    transition: all 0.3s ease;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    align-items: center;
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    overflow: hidden;
    display: flex;
}

.nav-links a i {
    padding-right: 8px;
}

.nav-links a::before {
    background: linear-gradient(120deg, transparent, var(--shine-hover), transparent);
    transition: all 0.4s ease;
    position: absolute;
    height: 100%;
    left: -100%;
    width: 100%;
    content: '';
    top: 0;
}

.nav-links a:hover {
    background: var(--nav-links-hover-background);
    color: var(--nav-links-hover-text);
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:active {
    transform: scale(0.95);
}

@media screen and (max-width: 1660px) {
    .nav-links li a {
        transition: 0s;
        font-size: 0;
    }

    .nav-links li a i {
        font-size: 1.2rem;
        padding-right: 0;
    }

    .nav-links li {
        margin: 0 10px;
    }
}

/* Esconder nav-links em telas menores quando o menu hambúrguer está ativo */
@media screen and (max-width: 1250px) {
    .nav-links li a {
        transition: 0s;
        font-size: 0;
    }

    .nav-links li a i {
        font-size: 1.2rem;
        padding-right: 8px;
    }
}

/* Right */
.header-right {
    align-items: center;
    display: flex;
    gap: 2rem;
}

.search-bar {
    box-shadow: 0 4px 6px var(--nav--links-shadow);
    background-color: rgba(52, 34, 96, 0.2);
    transition: all 0.3s ease;
    align-items: center;
    border-radius: 20px;
    position: relative;
    padding: 8px 15px;
    overflow: hidden;
    display: flex;
    max-width: 300px; /* Limita a largura máxima */
}

.search-bar::before {
    background: linear-gradient(120deg, transparent, var(--shine-hover), transparent);
    transition: all 0.4s ease;
    position: absolute;
    content: '';
    height: 100%;
    left: -100%;
    width: 100%;
    top: 0;
}

.search-bar:hover::before,
.search-bar:focus-within::before {
    left: 100%;
}

.search-bar:hover,
.search-bar:focus-within {
    background-color: rgba(52, 34, 96, 0.2);
}

.search-bar input {
    background-color: transparent;
    color: rgb(255, 255, 255);
    transition: width 0.3s ease;
    font-size: 1rem;
    padding: 5px;
    width: 0;
    min-width: 0; /* Permite que o input seja completamente colapsado */
}

.search-bar:hover input,
.search-bar input:focus {
    outline: none;
    width: 200px; /* Reduzido de 250px para 200px */
}

.search-bar button {
    background-color: transparent;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0; /* Impede que o botão seja comprimido */
}

.search-bar button:hover {
    text-shadow: 0 0 10px rgba(70, 23, 75, 0.7);
    transform: scale(1.1) rotate(15deg);
    color: #d796df;
}

/* User Profile */
.user-profile {
    position: relative;
    cursor: pointer;
}

.user-profile img {
    animation: coinFlipReverse 0.4s linear paused;
    box-shadow: 0 0 15px rgba(70, 23, 75, 0.5);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    perspective: 1000px;
    border-radius: 50%;
    margin-top: 7px;
    height: 40px;
    width: 40px;
}

@keyframes coinFlip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes coinFlipReverse {
    0% { transform: rotateY(360deg); }
    100% { transform: rotateY(0deg); }
}

.user-profile:hover img {
    box-shadow: 0 0 25px rgba(70, 23, 75, 0.8);
    animation: coinFlip 0.6s linear;
}

.user-profile img:not(:hover) {
    animation: coinFlipReverse 0.6s linear;
}

@media screen and (max-width: 530px) {
    .search-bar:hover input,
    .search-bar input:focus {
        outline: none;
        width: 95px; /* Reduzido de 250px para 200px */
}
    nav {
        max-width: 93%;;
    }
}

/* User Drop */
.user-menu {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(52, 34, 96, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 20px;
    position: absolute;
    visibility: hidden;
    min-width: 220px;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    top: 150%;
    right: 0;
}

.user-profile:hover .user-menu {
    opacity: 1;
    visibility: visible;
}

.user-menu::before {
    border-bottom: 10px solid rgba(52, 34, 96, 0.95);
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    right: 15px;
    content: '';
    top: -9px;
}

.user-menu a {
    transition: all 0.3s ease;
    color: var(--text-color);
    padding: 0.8rem 1rem;
    border-radius: 20px;
    margin-bottom: 15px;
    align-items: center;
    position: relative;
    overflow: hidden;
    display: flex;
}

.user-menu a:last-child {
    margin-bottom: 0;
}

.user-menu a::before {
    background: linear-gradient(120deg, transparent, var(--shine-hover), transparent);
    transition: all 0.4s ease;
    position: absolute;
    height: 100%;
    width: 100%;
    left: -100%;
    content: '';
    top: 0;
}

.user-menu a:hover {
    background-color: rgba(70, 23, 75, 0.1);
}

.user-menu a:hover::before {
    left: 100%;
}

.user-menu a:active {
    transform: scale(0.95);
}

.user-menu a i {
    text-align: center;
    margin-right: 12px;
    width: 20px;
}

/* ===================
   Home
   =================== */

.featured {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.featured-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform-style: preserve-3d;
}

.featured-background :is(img, video) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.7);
    transform: scale(1.3) translateZ(-50px);
    transition: all 2s ease;
}

.featured:hover .featured-background :is(img, video) {
    filter: blur(8px) brightness(0.8);
    transform: scale(1.05) translateZ(-30px);
    transition: all 1s ease;
}

@media screen and (max-width: 768px) {

    .featured-background :is(img, video) {
        filter: blur(3px) brightness(0.8);
        transform: scale(1.2) translateZ(-30px);
    }

    .featured:hover .featured-background :is(img, video) {
        filter: blur(6px) brightness(0.85);
        transform: scale(1.1) translateZ(-20px);
    }
}

@media screen and (max-width: 480px) {
    .featured {
        height: 100vh;
    }

    .featured-background :is(img, video) {
        filter: blur(2px) brightness(0.85);
        transform: scale(1.1) translateZ(-20px);
    }

    .featured:hover .featured-background :is(img, video) {
        filter: blur(4px) brightness(0.9);
        transform: scale(1.05) translateZ(-10px);
    }
}

/* ===================
   Home Card
   =================== */

.featured {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.featured-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform-style: preserve-3d;
}

.featured-background :is(img, video) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.7);
    transform: scale(1.3) translateZ(-50px);
    transition: all 2s ease;
}

.featured:hover .featured-background :is(img, video) {
    filter: blur(8px) brightness(0.8);
    transform: scale(1.05) translateZ(-30px);
    transition: all 1s ease;
}

@media screen and (max-width: 768px) {

    .featured-background :is(img, video) {
        filter: blur(3px) brightness(0.8);
        transform: scale(1.2) translateZ(-30px);
    }

    .featured:hover .featured-background :is(img, video) {
        filter: blur(6px) brightness(0.85);
        transform: scale(1.1) translateZ(-20px);
    }
}

@media screen and (max-width: 480px) {
    .featured {
        height: 100vh;
    }

    .featured-background :is(img, video) {
        filter: blur(2px) brightness(0.85);
        transform: scale(1.1) translateZ(-20px);
    }

    .featured:hover .featured-background :is(img, video) {
        filter: blur(4px) brightness(0.9);
        transform: scale(1.05) translateZ(-10px);
    }
}

/* ===================
   Home Card
   =================== */

.featured-content {
    background-color: rgba(52, 34, 96, 0.3);
    padding: 3rem;
    max-width: 60%;
    width: 100%;
    border-radius: 50px;
    transition: all 0.1s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 105px;
}

.featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(100px);
    z-index: -1;
}

.featured:hover .featured-content {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(52, 34, 96, 0.5);
}

.featured-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: #d796df;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

.featured-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
    text-align: justify;
}

.featured-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.featured-info span {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.featured-info span i {
    margin-right: 0.5rem;
    color: #d796df;
}

/* Featured Buttons */
.featured-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.playy-btn, .info-btn, .add-btn {
    background-color: rgb(70, 23, 75);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.playy-btn i, .info-btn i, .add-btn i {
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.info-btn {
    background-color: rgba(52, 34, 96, 0.7);
}

.add-btn {
    background-color: transparent;
    border: 2px solid var(--text-color);
}

.playy-btn::before, .info-btn::before, .add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        var(--shine-hover),
        transparent
    );
    transition: all 0.4s ease;
}

.playy-btn:hover::before, .info-btn:hover::before, .add-btn:hover::before {
    left: 100%;
}

.playy-btn:hover, .info-btn:hover, .add-btn:hover {
    background-color: rgb(52, 34, 96);
    box-shadow: 0 5px 15px rgba(70, 23, 75, 0.3);
}

.playy-btn i, .info-btn i, .add-btn i {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.playy-btn:hover i, .info-btn:hover i, .add-btn:hover i {
    color: #d796df;
    text-shadow: 0 0 5px rgba(215, 150, 223, 0.7);
}

.playy-btn:active i, .info-btn:active i, .add-btn:active i {
    transform: scale(0.95);
    transition: all 0.2s ease;
}

.playy-btn:active:first-child {
    transform: scale(0.95);
}

.info-btn:active:nth-child(2) {
    transform: scale(0.95);
}

.add-btn:active:last-child {
    transform: scale(0.95);
}

@media screen and (max-width: 1400px) {
    .featured-content {
        padding: 2rem;
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .featured-info {
        justify-content: center;
    }
    .featured-content {
        padding: 2rem;
        max-width: 80%;
    }

    .featured-buttons {
        flex-direction: column;
    }

    .playy-btn, .info-btn, .add-btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .featured-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .featured-content h2 {
        font-size: clamp(1.5rem, 4.5vw, 3rem);
    }
}

/* ===================
   Recommendations
   =================== */

.recommendations {
    padding: 2rem 4rem;
    margin: 0 auto;
    background: rgb(30, 18, 57);
    position: relative;
    overflow: hidden;
}

/* Background texture */
.recommendations::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('../img/space.jpg') repeat-x;
    opacity: 0.3;
    z-index: 1;
    animation: backgroundShift 30s linear infinite;
    filter: blur(10px);
}

/* Recommendations title */
.recommendations h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    text-align: center;
    color: #d796df;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(215, 150, 223, 0.5);
}

.recommendations h2::after {
    content: '';
    display: block;
    width: min(160px, 80%);
    height: 5px;
    background: linear-gradient(90deg, transparent, #d796df, transparent);
    margin: 2rem auto 0;
    box-shadow: 0 0 20px #d796df;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

/* Video Carousel */
.video-carousel {
    overflow: visible;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-right: 1.5rem;
    margin-left: 1.5rem;
}

/* Video Grid */
.video-grid {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    flex-wrap: nowrap;
    gap: 4rem;
    perspective: 1500px;
    z-index: 2;
    position: relative;
}

/* Video Item */
.video-item {
    width: calc(40% - 2rem);
    flex: 0 0 calc(35% - 2rem);
    aspect-ratio: 16 / 9; /* Mantém a proporção 16:9 dos vídeos */
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.video-item:hover {
    box-shadow: 0 15px 10px rgba(215, 150, 223, 0.5);
    transform: translateY(-5px);
}

.video-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--shine-hover), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover::before {
    opacity: 1;
}

/* Video Item Image */
.video-item :is(img, video) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.video-item:hover :is(img, video) {
    filter: brightness(0.85) saturate(1.2) contrast(1.1);
    transform: scale(1.05);
}

/* Video Info */
.video-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 18, 57, 0.95), rgba(30, 18, 57, 0.7), transparent);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
    border-radius: 40px;
}

.video-item:hover .video-info {
    opacity: 1;
    transform: translateY(0) scale(1.02);
}

/* Video Title */
.video-info h3 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 1.5rem;
    color: #d796df;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5), 0 0 10px rgba(215, 150, 223, 0.5);
    font-weight: 700;
    transform: translateZ(10px);
}

/* Video Description */
.video-info p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1.5rem;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateZ(8px);
    text-align: justify;
}

/* Video Meta Information */
.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: #ddd;
    margin-top: 1.5rem;
    transform: translateZ(5px);
}

.video-meta-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.video-meta-info span {
    display: flex;
    align-items: center;
}

.video-meta-info i {
    margin-right: 0.6rem;
    color: #d796df;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
}

/* Video Actions */
.video-meta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Play Button */
.video-info .play-btn {
    background-color: rgba(52, 34, 96, 0.2);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    padding: 0.8rem 1.5rem;
    color: #d796df;
    border: none;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.video-info .play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, var(--shine-hover), transparent);
    transition: all 0.4s ease;
}

.video-info .play-btn:hover {
    color: #d796df;
    background: rgba(86, 62, 145, 0.2);
}

.video-info .play-btn:hover::before {
    left: 100%;
}

.video-info .play-btn:active {
    transform: scale(0.95);
}

/* Carousel Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(70, 23, 75, 0.7);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 0 10px rgba(215, 150, 223, 0.5);
    backdrop-filter: blur(3px);
}

.carousel-button:hover {
    background-color: rgb(70, 23, 75);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(215, 150, 223, 0.7);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 5px var(--shine-hover);
}

.carousel-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(120deg, transparent, var(--shine-hover), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-button:hover::before {
    opacity: 1;
}

.carousel-button.prev {
    left: 1.5rem;
}

.carousel-button.next {
    right: 1.5rem;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 2300px) {
    .video-item {
        width: calc(33.333% - 2rem);
        flex: 0 0 calc(35.9% - 2rem);
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-info h3 {
        font-size: clamp(1.2rem, 2.5vw, 2rem);
    }
    
    .video-info p {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
}

@media screen and (max-width: 1800px) {
    .video-item {
        width: calc(41.66625% - 2rem);
        flex: 0 0 calc(43.875% - 2rem);
    }
    
    .video-info {
        padding: 1.25rem;
    }
    
    .video-info h3 {
        font-size: clamp(1.3rem, 2.6vw, 2.1rem);
    }
    
    .video-info p {
        font-size: clamp(0.95rem, 1.9vw, 1.2rem);
    }
}

@media screen and (max-width: 1500px) {
    .video-item {
        width: calc(52.0828125% - 2rem);
        flex: 0 0 calc(54.84375% - 2rem);
    }
}

@media screen and (max-width: 1200px) {
    .video-item {
        width: calc(65.103515625% - 2rem);
        flex: 0 0 calc(68.5546875% - 2rem);
    }
}

@media screen and (max-width: 950px) {
    .video-item {
        width: calc(81.37939453125% - 2rem);
        flex: 0 0 calc(85.693359375% - 2rem);
    }
}

@media screen and (max-width: 768px) {
    .recommendations {
        padding: 1rem;
    }

    .video-item {
        width: calc(100% - 1rem);
        flex: 0 0 calc(90% - 1rem);
        margin: 0 auto;
    }

    .video-grid {
        gap: 1rem;
        padding: 0 1rem;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-button.prev {
        left: 0.5rem;
    }

    .carousel-button.next {
        right: 0.5rem;
    }
    
    .video-carousel {
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .recommendations {
        padding: 0.5rem;
    }
    
    .recommendations h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .video-item {
        width: calc(100% - 0.5rem);
        flex: 0 0 calc(85% - 0.5rem);
    }

    .video-info {
        padding: 1rem;
    }

    .video-info h3 {
        font-size: clamp(1.1rem, 2.2vw, 1.8rem);
        margin-bottom: 0.8rem;
    }

    .video-info p {
        font-size: clamp(0.8rem, 1.6vw, 1rem);
        margin-bottom: 1rem;
    }

    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .video-meta-info {
        margin-bottom: 0.5rem;
        gap: 1rem;
    }
    
    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .video-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
}

/* ===================
    Footer
=================== */

footer {
    background-color: rgb(30, 18, 57);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/cube.jpg') repeat-x;
    opacity: 0.3;
    z-index: 1;
    animation: backgroundShift 30s linear infinite;
    filter: blur(5px);
}

@keyframes backgroundShift {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 2rem;
    width: 95%;
    margin: 0 auto;
}

/* Footer Section Styles */
.footer-section {
    flex: 1 1 300px;
    background-color: rgba(52, 34, 96, 0.2);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 250px;
}

.footer-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.footer-section h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: #d796df;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: #d796df;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100px;
}

.footer-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: clamp(1rem, 2vw, 1.1rem);
    text-align: justify;
}

.contacts {
    margin-top: 1.5rem;
}

.contacts span {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: left; /* Mudado de justify para left */
    font-size: clamp(0.9rem, 2vw, 1rem);
    word-wrap: break-word; /* Quebra palavras longas */
}

.contacts i {
    margin-right: 0.5rem;
    color: #d796df;
    flex-shrink: 0; /* Impede compressão do ícone */
}

/* ===================
    Footer Links
=================== */

.footer-section.links ul {
    list-style-type: none;
    padding: 0;
}

.footer-section.links ul li {
    margin-bottom: 1.5rem;
}

.footer-section.links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: clamp(1rem, 2vw, 1.2rem);
    position: relative;
    padding-left: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-section.links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #d796df;
}

.footer-section.links a:hover {
    color: #d796df;
    padding-left: 2.5rem;
    text-shadow: 0 0 10px rgba(215, 150, 223, 0.7);
}

.footer-section.links a:hover::before {
    opacity: 1;
    transform: translateX(10px) translateY(-50%);
}

.footer-section.links a:active {
    transform: scale(0.95);
}

/* Social Media Section */
.footer-section.social .social-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section.social .social-media a {
    color: var(--text-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.footer-section.social .social-media a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(215, 150, 223, 0.8) 0%, rgba(52, 34, 96, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-section.social .social-media a:hover {
    transform: translateY(-5px) scale(1.02);
}

.footer-section.social .social-media a:hover::before {
    opacity: 1;
}

.footer-section.social .social-media a:active {
    transform: translateY(0) scale(0.95);
}

.footer-section.social .social-media a i {
    position: relative;
    z-index: 2;
}

/* ===================
    Footer Newsletter
=================== */

.footer-section.newsletter .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 0; /* Remove gap para melhor alinhamento */
}

.footer-section.newsletter .newsletter-form input[type="email"] {
    flex: 1 1 200px;
    padding: 1rem 1.2rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    border-radius: 20px 0 0 20px; /* Arredonda apenas o lado esquerdo */
    min-width: 200px; /* Largura mínima */
}

.footer-section.newsletter .newsletter-form input[type="email"]::placeholder {
    color: rgba(216, 216, 216, 0.7); /* Mais sutil */
}

.footer-section.newsletter .newsletter-form input[type="email"]:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
    box-shadow: 0 0 0 2px rgba(215, 150, 223, 0.5); /* Destaque de foco */
}

.footer-section.newsletter .newsletter-form button {
    flex: 0 0 auto;
    padding: 1rem 1.8rem;
    border: none;
    background-color: rgb(70, 23, 75);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border-radius: 0 20px 20px 0; /* Arredonda apenas o lado direito */
    min-height: 44px; /* Tamanho mínimo para touch */
    white-space: nowrap; /* Evita quebra de texto */
}

.footer-section.newsletter .newsletter-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.footer-section.newsletter .newsletter-form button:hover {
    background-color: rgb(52, 34, 96);
    transform: translateY(-2px); /* Efeito de elevação */
}

.footer-section.newsletter .newsletter-form button:hover::before {
    width: 300px;
    height: 300px;
}

.footer-section.newsletter .newsletter-form button:active {
    transform: scale(0.98) translateY(0); /* Efeito de clique */
}

/* ===================
    Footer Bottom
=================== */

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    cursor: default;
}

.footer-bottom:hover {
    background-color: rgba(52, 34, 96, 0.1);
    border-top-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #999;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-bottom:hover p {
    color: #d796df;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-content {
        justify-content: space-around;
    }

    .footer-section {
        flex-basis: calc(50% - 2rem);
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-section {
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .footer-section.newsletter .newsletter-form {
        flex-direction: column;
    }

    .footer-section.newsletter .newsletter-form input[type="email"],
    .footer-section.newsletter .newsletter-form button {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .footer-section.social .social-media {
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2rem 0;
    }

    .footer-section {
        padding: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section p,
    .footer-section a,
    .footer-section.newsletter .newsletter-form input[type="email"],
    .footer-section.newsletter .newsletter-form button {
        font-size: 0.9rem;
    }

    .footer-section.social .social-media a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
/* ===================
   Footer Media Queries
=================== */

@media screen and (max-width: 768px) {
    footer {
        padding: 2rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        width: 90%;
    }

    .footer-section {
        flex: 1 1 auto;
        min-width: auto;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-section h3 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        margin-bottom: 1rem;
        text-align: center;
    }

    .footer-section p {
        text-align: left; /* Melhor para telas menores */
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .footer-section.social .social-media {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-width: 100%;
    }

    .footer-section.social .social-media a {
        width: clamp(45px, 8vw, 60px);
        height: clamp(45px, 8vw, 60px);
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .footer-section.newsletter .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-section.newsletter .newsletter-form input[type="email"] {
        flex: 0 0 auto;
        border-radius: 20px;
        width: 100%;
        min-width: auto;
    }

    .footer-section.newsletter .newsletter-form button {
        border-radius: 20px;
        width: 100%;
        padding: 1rem;
    }

    .contacts span {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
        margin-bottom: 0.6rem;
    }

    .footer-section.links a {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        padding-left: 1.5rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        width: 95%;
    }

    .footer-bottom p {
        font-size: clamp(0.8rem, 3vw, 1rem);
    }
}

@media screen and (max-width: 480px) {
    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        width: 95%;
        gap: 1rem;
    }

    .footer-section {
        padding: 1rem;
        border-radius: 15px;
    }

    .footer-section h3 {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
        margin-bottom: 0.8rem;
        letter-spacing: 1px;
    }

    .footer-section p {
        font-size: clamp(0.8rem, 4vw, 0.95rem);
        line-height: 1.6;
    }

    .footer-section.social .social-media {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .footer-section.social .social-media a {
        width: clamp(40px, 10vw, 55px);
        height: clamp(40px, 10vw, 55px);
        font-size: clamp(1rem, 5vw, 1.5rem);
    }

    .footer-section.newsletter .newsletter-form input[type="email"] {
        padding: 0.8rem 1rem;
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .footer-section.newsletter .newsletter-form button {
        padding: 0.8rem;
        font-size: clamp(0.8rem, 4vw, 1rem);
        min-height: 40px;
    }

    .contacts span {
        font-size: clamp(0.7rem, 4vw, 0.9rem);
    }

    .footer-section.links a {
        font-size: clamp(0.8rem, 4vw, 1rem);
        padding-left: 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: clamp(0.7rem, 4vw, 0.9rem);
    }
}

/* Nova media query para telas muito pequenas */
@media screen and (max-width: 360px) {
    footer {
        padding: 1rem 0;
    }

    .footer-content {
        width: 98%;
        gap: 0.8rem;
    }

    .footer-section {
        padding: 0.8rem;
        border-radius: 12px;
    }

    .footer-section h3 {
        font-size: clamp(1rem, 6vw, 1.2rem);
        margin-bottom: 0.6rem;
        letter-spacing: 0.5px;
    }

    .footer-section p {
        font-size: clamp(0.7rem, 5vw, 0.85rem);
        line-height: 1.5;
    }

    .footer-section.social .social-media {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .footer-section.social .social-media a {
        width: clamp(35px, 12vw, 50px);
        height: clamp(35px, 12vw, 50px);
        font-size: clamp(0.9rem, 6vw, 1.3rem);
    }

    .footer-section.newsletter .newsletter-form input[type="email"] {
        padding: 0.6rem 0.8rem;
        font-size: clamp(0.7rem, 5vw, 0.9rem);
    }

    .footer-section.newsletter .newsletter-form button {
        padding: 0.6rem;
        font-size: clamp(0.7rem, 5vw, 0.9rem);
        min-height: 36px;
    }

    .contacts span {
        font-size: clamp(0.6rem, 5vw, 0.8rem);
        margin-bottom: 0.4rem;
    }

    .footer-section.links a {
        font-size: clamp(0.7rem, 5vw, 0.9rem);
        padding-left: 0.8rem;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }

    .footer-bottom p {
        font-size: clamp(0.6rem, 5vw, 0.8rem);
    }
}

