:root {
    --primary-color: #f5be0c;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1773e;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #dd0e0e 0%, #f0e32a 100%);
    --gradient-2: linear-gradient(135deg, #daac16 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #f1773e 0%, #fafe00 100%);
}

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

.log a {
    color: chocolate;
    text-decoration: none;
    cursor: pointer;

}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-highlight {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.meulink {
    display: none;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: var(--primary-color);
    transition: background 0.3s ease;
}

.search-btn,
.cart-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.search-btn:hover,
.cart-btn:hover {
       --dark-bg: #0f172a;
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: green;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 250px;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    background: var(--gradient-1);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    background: var(--gradient-2);
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    background: var(--gradient-3);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #1e293b 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 80vh;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    transition: right 0.3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--secondary-color);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: var(--secondary-color);
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== FOOTER RESPONSIVO ===== */
.footer {
  width: 100%;
  background: #0f172a;
  border-top: 1px solid #334155;
  padding: 2rem 1rem;
  margin-top: 3rem;
  color: #f8fafc;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand img {
  width: 100px;
  max-width: 100%;
  /* height: auto; */
  border-radius: 8px;
  transition: transform .3s;
  float: inherit;
  padding: 5px;
  margin-top: 50%;
}

.footer-brand img:hover {
  transform: scale(1.1);
}

.footer-title h3 {
  justify-content: center;
  font-size: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.footer-text p {
   margin-top: 2rem;
  font-size: 1.5rem;
  color: #cbd5e1;
    text-align: center;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #cbd5e1;
    text-align: center;
}


/* Barra de busca */
.search-bar {
    width: 100%;
    background: var(--dark-bg);
    padding: 10px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-size: 16px;
   

}



.search-bar input[type="text"] {
    width: 50%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background-color: #132741;
    color: white;
    /* cor do ícone se não usar <i> */
    border-radius: 0px 5px 5px 0px;
    padding: 10px;
}
.footer-text p{ 
  display: flex;
  gap: 2px;
  margin-top: 5px;
  justify-content: center;
  font-family: 'Arial', sans-serif;
    font-weight: bold;
  font-style: normal;

  color: rgb(238, 197, 62);


  /* animação suave */
  animation: suave 2.5s ease-in-out infinite alternate;
}

@keyframes suave {
  0% {
    opacity: 2;
    transform: translateY(3px);
  }
    50% {
        opacity: 2;
        transform: translateY(-1px);
    }
  100% {
    opacity: -2;
    transform: translateY(-3px);
  }
}
/* ===== HERO RESPONSIVO (Evita corte das imagens no mobile) ===== */
@media (max-width: 768px) {

    .floating-card {
        width: 120px !important;
        height: 150px !important;
        border-radius: 15px;
    }

    .card-1 {
        top: 25%;
        left: 5%;
    }

    .card-2 {
        top: 10%;
        right: 5%;
    }

    .card-3 {
        bottom: 50%;
        left: 5%;
    }

    .hero-visual {
        height: 250px !important;
        overflow: visible;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: auto;
    background: #1e293b;
    padding: 15px;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 5000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-btn {
    background: #10b981;
    border: none;
    padding: 8px 12px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-btn.decline {
    background: #dc2626;
}

.cookie-link {
    color: #38bdf8;
    text-decoration: underline;
}
.cookie-link:hover {
    color: #60a5fa;
}   


/* Barra lateral vertical fixa */
.sidebar-vertical {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px; 
    z-index: 10000;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Botões da barra */
.sidebar-btn {
    background-color: #132741;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    width: 70px;
    height: 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

/* Animação ao passar o mouse */
.sidebar-btn:hover {
    background-color: #1a3b60;
    transform: scale(1.08);
}
/* Ajustes para telas menores */
@media (max-width: 600px) {
    .sidebar-vertical {
        right: 10px;
    }
    .sidebar-btn {
        width: 60px;
        height: 60px;
        padding: 10px;
        font-size: 12px;
    }
}









