/* Importar fontes premium - DEVE ESTAR NO TOPO */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=EB+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --light-gold: #E5C158;
    --cream-pearl: #F8F3EA;
    --pearl-white: #FDFBF7;
    --amber-light: #C8A76A;
    --black: #000000;
    --dark-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-gray: #666;
    --text-light: #999;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ebebeb;
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    gap: 20px;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    border-radius: 15px;
}

.company-name {
    font-size: 36px;
    color: var(--gold);
    font-weight: bold;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.tagline {
    font-size: 20px;
    color: var(--gold);
    font-style: italic;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
}

.social-links {
    margin: 0;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid var(--gold);
    border-radius: 25px;
}

.instagram-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

.bio {
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
}

.bio p {
    margin: 8px 0;
    font-size: 16px;
    color: var(--text-gray);
}

/* Main Content */
.main-content {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    grid-column: 1 / -1;
}

/* ============================================
   PERFUME CARD - ULTRA PREMIUM STYLE
   Estilo de perfumarias árabes de luxo
   ============================================ */

.perfume-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.perfume-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.perfume-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.08);
}

.perfume-card:hover::before {
    opacity: 1;
}

/* ============================================
   PARTE SUPERIOR DO CARD - Imagem + Info Básica
   ============================================ */

.card-top-section {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    align-items: flex-start;
}

/* ============================================
   SEÇÃO DA IMAGEM - Lado esquerdo (50%)
   ============================================ */

.perfume-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pearl-white);
    border-radius: 12px;
    padding: 20px;
    width: 50%;
    min-height: 240px;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

/* Sombra difusa abaixo do frasco */
.perfume-image::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.product-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

/* ============================================
   INFO DO HEADER - Lado direito (50%)
   ============================================ */

.perfume-header-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 8px;
}

.perfume-name {
    font-family: 'Playfair Display', 'EB Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.manufacturer {
    font-family: 'Playfair Display', 'EB Garamond', Georgia, serif;
    font-size: 15px;
    color: var(--text-gray);
    margin: 0 0 20px 0;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Especificações no header */
.header-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
}

.header-spec-item {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--black);
    line-height: 1.6;
}

.header-spec-item strong {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    margin-right: 6px;
    letter-spacing: 0.2px;
}

/* ============================================
   DETALHES DO PERFUME - Parte inferior (100%)
   ============================================ */

.perfume-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.original-price {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
    text-decoration: line-through;
    letter-spacing: 0.2px;
}

.discount-price {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    color: var(--black);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Bloco 3: Meta-informações */
.specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.spec-item {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item strong {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    margin-right: 6px;
    letter-spacing: 0.2px;
}

.spec-value {
    color: var(--black);
    font-weight: 400;
}

/* Meta-informações em linha compacta */
.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--black);
}

.meta-line-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.meta-line-item strong {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
}

.meta-line-item .spec-value {
    color: var(--black);
    font-weight: 400;
}

.meta-separator {
    color: var(--text-light);
    margin: 0 4px;
}

/* Bloco 4: Notas principais em chips */
.notes-section {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.notes-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.notes-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.note-chip {
    display: inline-block;
    padding: 6px 14px;
    background: var(--pearl-white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.note-chip:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* Bloco 5: Performance */
.performance-section {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--black);
    line-height: 1.8;
}

.performance-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: baseline;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.performance-item strong {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
}

/* Estrelas de avaliação */
.stars-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0 4px;
}

.star {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}

.star.filled {
    color: var(--gold);
    text-shadow: 0 1px 2px rgba(212, 175, 55, 0.3);
}

.star.empty {
    color: #d0d0d0;
    opacity: 0.5;
}

.performance-detail {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 400;
    margin-left: 2px;
}

.performance-separator {
    color: var(--text-light);
    margin: 0 4px;
}

/* Similaridade (opcional) */
.similarity-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-gray);
    font-style: italic;
    text-align: center;
}

.similarity-section p {
    margin: 0;
}

/* Perfil/Frase de impacto */
.profile-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    text-align: center;
}

.profile-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.spec-item.accordion strong::after {
    content: '▼';
    font-size: 12px;
    color: var(--amber-light);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.spec-item.accordion.collapsed strong::after {
    transform: rotate(-90deg);
}

.usage-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.usage-option {
    padding: 8px 16px;
    border-radius: 20px;
    cursor: default;
    transition: all 0.3s ease;
    color: var(--text-gray);
    font-size: 16px;
}

.usage-option.checked {
    color: var(--amber-light);
    font-weight: bold;
    background: rgba(200, 167, 106, 0.15);
}

.usage-option input[type="checkbox"] {
    display: none;
}

/* Regras antigas do accordion removidas - não são mais necessárias */
.accord-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.spec-item.accordion:not(.collapsed) .accord-content {
    max-height: 1000px;
    margin-top: 10px;
}

.note-type {
    margin: 12px 0;
    padding: 12px;
    background: rgba(200, 167, 106, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--amber-light);
}

.note-label {
    font-weight: bold;
    color: var(--gold);
    display: inline-block;
    min-width: 80px;
}

.note-value {
    color: var(--black);
}

.accord-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.accord-tag {
    padding: 6px 14px;
    background: rgba(200, 167, 106, 0.12);
    border: 1px solid var(--amber-light);
    border-radius: 20px;
    font-size: 14px;
    color: var(--dark-gold);
    transition: all 0.3s ease;
}

.accord-tag:hover {
    background: rgba(200, 167, 106, 0.2);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-gray);
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .header-left {
        align-items: center;
        width: 100%;
    }

    .header-center {
        width: 100%;
    }

    .bio {
        text-align: center;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .perfume-card {
        padding: 20px;
    }

    .card-top-section {
        flex-direction: column;
        gap: 20px;
    }

    .perfume-image {
        width: 100%;
        min-height: 200px;
        padding: 20px 15px;
        margin-bottom: 0;
    }

    .perfume-header-info {
        width: 100%;
        padding-top: 0;
    }

    .product-img {
        max-width: 150px;
        max-height: 180px;
    }

    .perfume-name {
        font-size: 22px;
    }

    .manufacturer {
        font-size: 14px;
    }

    .discount-price {
        font-size: 24px;
    }

    .meta-line {
        flex-direction: column;
        gap: 8px;
    }

    .meta-separator {
        display: none;
    }

    .notes-chips {
        gap: 6px;
    }

    .note-chip {
        font-size: 11px;
        padding: 5px 12px;
    }

    .performance-line {
        flex-direction: column;
        gap: 8px;
    }

    .performance-separator {
        display: none;
    }

    .star {
        font-size: 12px;
    }

    .performance-detail {
        font-size: 11px;
    }

    .logo {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 20px 15px;
    }

    .perfume-card {
        padding: 16px;
    }

    .card-top-section {
        gap: 16px;
    }

    .perfume-image {
        min-height: 180px;
        padding: 16px 12px;
    }

    .product-img {
        max-width: 120px;
        max-height: 150px;
    }

    .perfume-name {
        font-size: 20px;
    }

    .discount-price {
        font-size: 22px;
    }

    .notes-label {
        font-size: 11px;
    }

    .note-chip {
        font-size: 10px;
        padding: 4px 10px;
    }

    .profile-text {
        font-size: 12px;
    }
}

