@charset "UTF-8";

/**
 * Estilos principais - Revista Digital de Perfumes
 * Design inspirado em O Boticario
 * @version 2.0
 */

/* ============================================
   RESET E BASE
   ============================================ */
   
   
   /* ============================================
   BOTÃO WHATSAPP
   ============================================ */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    color: #ffffff;
}

.btn-whatsapp.btn-sm {
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
}

.btn-whatsapp.btn-lg {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

.btn-whatsapp.btn-sm i {
    font-size: 0.9rem;
}

.btn-whatsapp.btn-lg i {
    font-size: 1.4rem;
}

/* ============================================
   WHATSAPP FLOATING BUTTON (Opcional)
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #007A54;
    letter-spacing: -0.5px;
}

.text-gold {
    color: #c9a84c;
}

.text-primary-custom {
    color: #007A54;
}

/* ============================================
   TOP HEADER - Barra preta
   ============================================ */
.top-header {
    background: #1a1a1a;
    padding: 0.35rem 0;
    font-size: 0.7rem;
    color: #999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1030;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-header-left,
.top-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-header a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0;
}

.top-header a i {
    font-size: 0.8rem;
}

.top-header a:hover {
    color: #ffffff;
}

.top-header a.text-white {
    color: #ffffff;
}

.top-header a.text-white:hover {
    color: #c9a84c;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: #ffffff;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ede8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}

.navbar-brand img {
    height: 40px;
    object-fit: contain;
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    color: #007A54;
    background: transparent;
    display: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 122, 84, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   SEARCH
   ============================================ */
.search-wrapper {
    position: relative;
    min-width: 280px;
}

.search-wrapper .form-control {
    padding-right: 45px;
    border-radius: 25px;
    border: 2px solid #e8e8e8;
    background: #f8f8f8;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    height: 40px;
    color: #1a1a1a;
}

.search-wrapper .form-control::placeholder {
    color: #aaa;
}

.search-wrapper .form-control:focus {
    border-color: #007A54;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 122, 84, 0.08);
}

.search-wrapper .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007A54;
    pointer-events: none;
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .top-header-left {
        gap: 0.5rem;
    }
    
    .top-header-left a:not(:first-child) {
        display: none;
    }
    
    .top-header-right {
        gap: 0.5rem;
    }
    
    .top-header-right a span {
        display: none;
    }
    
    .top-header a i {
        font-size: 0.9rem;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .search-wrapper {
        min-width: 150px;
    }
    
    .search-wrapper .form-control {
        font-size: 0.8rem;
        height: 36px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
}

@media (max-width: 576px) {
    .top-header-left a:first-child span {
        display: none;
    }
    
    .top-header-right a:not(:last-child) span {
        display: none;
    }
    
    .search-wrapper {
        min-width: 120px;
    }
    
    .search-wrapper .form-control {
        font-size: 0.75rem;
        height: 34px;
        padding-right: 35px;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .brand-name {
        font-size: 0.85rem;
    }
}
/* ============================================
   CATEGORY BAR - Barra de categorias
   ============================================ */
.category-bar {
    background: #ffffff;
    border-bottom: 1px solid #f0ede8;
    padding: 0.3rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1010;
}

.category-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-menu li a {
    color: #555;
    text-decoration: none;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.category-menu li a:hover {
    color: #007A54;
    background: rgba(0, 122, 84, 0.06);
}

.category-menu li a i {
    margin-right: 0.3rem;
}

/* ============================================
   SEARCH
   ============================================ */
.search-wrapper {
    position: relative;
    min-width: 280px;
}

.search-wrapper .form-control {
    padding-right: 45px;
    border-radius: 25px;
    border: 2px solid #e8e8e8;
    background: #f8f8f8;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    height: 40px;
    color: #1a1a1a;
}

.search-wrapper .form-control::placeholder {
    color: #aaa;
}

.search-wrapper .form-control:focus {
    border-color: #007A54;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 122, 84, 0.08);
}

.search-wrapper .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #007A54;
    pointer-events: none;
    font-size: 1.1rem;
}

/* ============================================
   BOTOES
   ============================================ */
.btn-primary-custom {
    background: #c9a84c;
    color: #1a1a1a;
    border: none;
    padding: 0.7rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: #b8973a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
    color: #1a1a1a;
}

.btn-primary-custom.btn-sm {
    padding: 0.4rem 1.5rem;
    font-size: 0.8rem;
}

.btn-outline-custom {
    border: 2px solid #c9a84c;
    color: #c9a84c;
    background: transparent;
    padding: 0.7rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: #c9a84c;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.btn-admin {
    background: #007A54;
    color: white;
    border-radius: 25px;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.75rem;
}

.btn-admin:hover {
    background: #004d3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 122, 84, 0.3);
    color: white;
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #004d3d 0%, #007A54 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-content h1 .gold {
    color: #c9a84c;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ============================================
   SECOES
   ============================================ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #c9a84c;
    margin-top: 0.5rem;
    border-radius: 2px;
}

.section-title .gold {
    color: #c9a84c;
}

/* ============================================
   CARDS DE PERFUME
   ============================================ */
.perfume-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: 1px solid #f0ede8;
    position: relative;
}

.perfume-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #007A54;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.perfume-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #007A54;
}

.perfume-card:hover::before {
    opacity: 1;
}

.perfume-card .card-img-top {
    height: 260px;
    object-fit: cover;
    background: #f8f6f1;
    transition: transform 0.5s ease;
    padding: 1rem 1rem 0;
    width: 100%;
}

.perfume-card:hover .card-img-top {
    transform: scale(1.03);
}

.perfume-card .card-body {
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
}

.perfume-card .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #1a1a1a;
}

.perfume-card .brand-name-text {
    color: #007A54;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perfume-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007A54;
    margin: 0.4rem 0;
}

.perfume-card .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    font-weight: 400;
}

.perfume-card .badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-destaque {
    background: #c9a84c;
    color: #1a1a1a;
}

.badge-promocao {
    background: #e74c3c;
    color: white;
}

.badge-novo {
    background: #007A54;
    color: white;
}

/* ============================================
   CATEGORIAS
   ============================================ */
.category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0ede8;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #007A54;
}

.category-card .icon {
    font-size: 2.5rem;
    color: #007A54;
    margin-bottom: 0.5rem;
    display: block;
}

.category-card h6 {
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
    color: #1a1a1a;
}

/* ============================================
   PAGINA DO PRODUTO
   ============================================ */
.product-carousel {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    cursor: zoom-in;
    border-radius: 8px;
    background: #f8f6f1;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: center;
}

.product-thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: #f8f6f1;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #007A54;
    transform: scale(1.05);
}

.product-info {
    padding: 0 2rem;
}

.product-info .product-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.product-info .product-brand {
    color: #007A54;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-info .product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007A54;
    margin: 0.5rem 0;
}

.product-info .product-price-old {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 1rem;
    font-weight: 400;
}

.product-info .info-item {
    padding: 0.5rem 0.75rem;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-info .info-item i {
    color: #007A54;
    margin-right: 0.5rem;
    width: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: #b0aca5;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b0aca5;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #c9a84c;
}

.footer-links i {
    margin-right: 0.5rem;
    color: #007A54;
    width: 18px;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #b0aca5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #007A54;
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 2rem 0;
}

/* ============================================
   FOOTER BADGES
   ============================================ */
.footer-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-badges .badge-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-badges .badge-label {
    color: #b0aca5;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-badges img {
    height: 28px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-badges img:hover {
    opacity: 1;
}

/* ============================================
   ANIMACOES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   TOAST
   ============================================ */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: 380px;
    width: 100%;
}

.toast {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    margin-bottom: 0.75rem;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f0ede8;
}

::-webkit-scrollbar-thumb {
    background: #007A54;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004d3d;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .product-info {
        padding: 1rem 0;
    }
    
    .product-info .product-name {
        font-size: 2rem;
    }
    
    .product-info .product-price {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .search-wrapper {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .top-header-left {
        gap: 0.5rem;
    }
    
    .top-header-left a:not(:first-child) {
        display: none;
    }
    
    .top-header-right {
        gap: 0.5rem;
    }
    
    .top-header-right a span {
        display: none;
    }
    
    .top-header a i {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 2.5rem 0;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .perfume-card .card-img-top {
        height: 200px;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .product-thumbnail {
        width: 55px;
        height: 55px;
    }
    
    .product-info .product-name {
        font-size: 1.8rem;
    }
    
    .product-info .product-price {
        font-size: 1.8rem;
    }
    
    .search-wrapper {
        min-width: 150px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .category-bar {
        display: none;
    }
    
    .btn-primary-custom {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .top-header-left a:first-child span {
        display: none;
    }
    
    .top-header-right a:not(:last-child) span {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .perfume-card .card-img-top {
        height: 160px;
        padding: 0.5rem 0.5rem 0;
    }
    
    .perfume-card .card-body {
        padding: 0.75rem;
    }
    
    .perfume-card .card-title {
        font-size: 0.8rem;
    }
    
    .perfume-card .price {
        font-size: 0.9rem;
    }
    
    .perfume-card .badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }
    
    .product-main-image {
        height: 250px;
    }
    
    .product-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-info .product-name {
        font-size: 1.5rem;
    }
    
    .product-info .product-price {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .category-card {
        padding: 1rem 0.5rem;
    }
    
    .category-card .icon {
        font-size: 2rem;
    }
    
    .category-card h6 {
        font-size: 0.75rem;
    }
    
    .search-wrapper {
        min-width: 120px;
    }
    
    .search-wrapper .form-control {
        font-size: 0.75rem;
        height: 34px;
        padding-right: 35px;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    .brand-name {
        font-size: 0.85rem;
    }
    
    .btn-primary-custom.btn-sm {
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
    }
}

/* ============================================
   UTILITARIOS
   ============================================ */
.text-gold {
    color: #c9a84c;
}

.text-primary-custom {
    color: #007A54;
}

.bg-primary-custom {
    background: #007A54;
}

.bg-gold {
    background: #c9a84c;
}

.cursor-pointer {
    cursor: pointer;
}

.hover-shadow:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hover-lift:hover {
    transform: translateY(-4px);
}