/* 
   === Variáveis CSS e Design System === 
*/
:root {
    --bg-light: #FAECE1;
    /* Bege Claro */
    --color-wine: #8C1C3F;
    /* Vinho/Bordô */
    --color-wine-dark: #63122A;
    --color-pink: #FF1460;
    /* Rosa Vibrante */
    --color-pink-hover: #E0004D;
    --color-gold: #D4AF37;
    --color-white: #FFFFFF;
    --color-black: #111111;
    --color-gray: #4A4A4A;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(140, 28, 63, 0.1);
    --shadow-lg: 0 15px 30px rgba(255, 20, 96, 0.3);

    --border-radius: 12px;
}

/* 
   === Resets Mínimos === 
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--color-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text,
.logo-text-footer {
    font-family: var(--font-heading);
    color: var(--color-wine);
    margin-bottom: 0.5em;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 
   === Botão Flutuante WPP === 
*/
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #1EBE5D;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 
   === Sticky Header === 
*/
.header {
    background-color: var(--color-wine);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.logo {
    max-height: 55px;
    filter: brightness(0) invert(1);
    /* Tenta forçar logo white se for bordô/preto */
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: var(--color-white);
    font-size: 2.5rem;
    margin: 0;
    font-style: italic;
    letter-spacing: 1px;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

/* 
   === Trust Section (Top Bar) === 
*/
.trust-bar {
    background-color: var(--color-wine-dark);
    padding: 0.8rem 0;
    color: var(--color-white);
    font-size: 0.9rem;
    position: relative;
    z-index: 900;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-item i {
    font-size: 1.25rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* 
   === Hero Section === 
*/
.hero {
    padding: 6rem 0 8rem 0;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #FFFFFF 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="%238C1C3F" fill-opacity="0.1"/></svg>');
    z-index: 0;
    pointer-events: none;
    animation: rotateBg 120s linear infinite;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-pink);
    color: var(--color-white);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    z-index: 20;
    position: relative;
}

.cta-button:hover {
    background-color: var(--color-pink-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 20, 96, 0.4);
}

.cta-button.whatsapp {
    background-color: #25D366;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.cta-button.whatsapp:hover {
    background-color: #1EBE5D;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.cta-button i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* 
   === Value Section === 
*/
.value-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-text h2 {
    font-size: 2.5rem;
}

.value-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.value-list-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(140, 28, 63, 0.05);
}

.value-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-wine);
}

.gold-icon {
    color: var(--color-gold);
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 
   === Credibility Showcase === 
*/
.credibility-showcase {
    padding: 0 0 5rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--color-white) 50%, var(--bg-light) 50%);
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(140, 28, 63, 0.25);
}

.store-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 10s ease;
}

.image-wrapper:hover .store-image {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: -1px;
    right: 0;
    background-color: var(--color-white);
    padding: 2rem 3rem;
    border-top-left-radius: 40px;
}

.floating-badge h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.floating-badge p {
    color: var(--color-gray);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .floating-badge {
        position: relative;
        border-radius: 0;
        text-align: center;
        padding: 1.5rem;
    }

    .store-image {
        height: 350px;
    }

    .credibility-showcase {
        background: var(--bg-light);
        padding-top: 3rem;
    }
}

/* 
   === Grade de Produtos === 
*/
.products-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.product-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-wine);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    align-self: flex-start;
}

.product-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-wine);
    transition: var(--transition);
}

.product-link:hover::after {
    width: 100%;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.center-cta {
    margin-top: 4rem;
    text-align: center;
}

.cta-button.outline {
    background-color: transparent;
    color: var(--color-wine);
    border: 2px solid var(--color-wine);
    box-shadow: none;
}

.cta-button.outline:hover {
    background-color: var(--color-wine);
    color: var(--color-white);
}

/* 
   === Depoimentos / Avaliações === 
*/
.reviews-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    display: flex;
    gap: 0.2rem;
}

.review-text {
    font-style: italic;
    color: var(--color-gray);
    line-height: 1.8;
    flex-grow: 1;
}

.review-author {
    font-weight: 600;
    color: var(--color-wine);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* 
   === FAQ === 
*/
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* remove padrão em alguns navegadores */
}

.faq-question::-webkit-details-marker {
    display: none;
    /* remove seta padrao do safari/chrome */
}

.faq-question i {
    color: var(--color-wine);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

details[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-gray);
    line-height: 1.8;
}

details[open] summary~* {
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        margin-top: -10px
    }

    100% {
        opacity: 1;
        margin-top: 0px
    }
}


/* 
   === Footer === 
*/
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0 2rem 0;
}

.logo-text-footer {
    color: var(--color-white);
    font-size: 2rem;
    font-style: italic;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: #999;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #999;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-pink);
    padding-left: 5px;
}

.badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: #CCC;
}

.badge i {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto;
    }

    .badge {
        justify-content: center;
    }
}