/* =========================================================
   RESSIGNIFICANDO PERDAS — Home Redesign (Impacto Visual)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Ivy Journal';
    src: url('https://ressignificandoperdas.com.br/fonts/IvyJournal/IvyJournal-Light.ttf') format('truetype');
    font-weight: 300; font-style: normal;
}
@font-face {
    font-family: 'Ivy Journal';
    src: url('https://ressignificandoperdas.com.br/fonts/IvyJournal/IvyJournal-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal;
}
@font-face {
    font-family: 'Ivy Journal';
    src: url('https://ressignificandoperdas.com.br/fonts/IvyJournal/IvyJournal-Italic.ttf') format('truetype');
    font-weight: 400; font-style: italic;
}
@font-face {
    font-family: 'Ivy Journal';
    src: url('https://ressignificandoperdas.com.br/fonts/IvyJournal/IvyJournal-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal;
}

/* ---- TOKENS ---- */
:root {
    --accent:     #555555;        /* cinza médio — botões */
    --accent-h:   #3B3B3B;        /* hover dos botões */
    --accent-l:   #F0EFEE;        /* fundo suave cinza */
    --gold:       #FDE157;
    --dark:       #3B3B3B;
    --dark-mid:   #4A4A4A;
    --mid:        #6B6B6B;
    --muted:      #8A8A8A;
    --light-bg:   #F8F5F2;
    --white:      #FFFFFF;
    --border:     #E5E0DA;
    --card-bg:    #4A4A4A;        /* fundo cinza médio para cards escuros */
    --hero-bg:    #525252;        /* fundo hero cinza */
    --serif:      'Ivy Journal', Georgia, serif;
    --sans:       'Manrope', system-ui, sans-serif;
    --radius:     14px;
    --shadow-sm:  0 2px 12px rgba(0,0,0,.07);
    --shadow-md:  0 8px 32px rgba(0,0,0,.12);
    --shadow-lg:  0 20px 60px rgba(0,0,0,.18);
    --max-w:      1120px;
    --transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--light-bg);
    color: var(--dark-mid);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.2; color: var(--dark); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.text-center { text-align: center; }

/* ---- REVEAL ANIMATION ---- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.165,.84,.44,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---- BUTTONS ---- */
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: linear-gradient(135deg, #555555, #3B3B3B);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    transition: var(--transition);
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
}
.btn-hero svg { width: 20px; height: 20px; }
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,.35);
    background: linear-gradient(135deg, #3B3B3B, #2A2A2A);
}

.btn-primary {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    padding: .85rem 1.8rem;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: .02em;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.btn-primary:hover {
    background: #555555;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.btn-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, #555555, #3B3B3B);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: .9rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(0,0,0,.2);
    margin-top: 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
}
.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,.3);
    background: linear-gradient(135deg, #3B3B3B, #2A2A2A);
}

.btn-product-card {
    display: inline-block;
    font-weight: 700;
    font-size: .9rem;
    color: #555555;
    padding: .6rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    margin-top: 1rem;
    letter-spacing: .03em;
}
.btn-product-card:hover { border-color: #555555; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-full {
    position: relative;
    min-height: 100vh;
    background: #151515; /* Fundo bem escuro para fundir com a foto */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    bottom: 0;
    right: 12vw;
    width: 45%; /* Ocupa apenas a metade direita da tela */
    height: 90%;
    object-fit: contain; /* Não corta a foto */
    object-position: right bottom;
    opacity: 1;
    mix-blend-mode: screen; /* Fundo preto da foto desaparece no fundo escuro */
    pointer-events: none;
    filter: grayscale(15%) brightness(1.1) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(21,21,21, 1) 0%,
        rgba(21,21,21, 0.85) 45%,
        rgba(21,21,21, 0) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 10rem 2rem 6rem 10vw; /* Empurra o texto para a direita */
    text-align: left;
    display: block;
    left: 8vw;
	
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--white);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.4rem;
}

.hero-headline {
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.4rem;
    font-weight: 400;
}
.hero-headline em { font-style: italic; color: rgba(255,255,255,.7); }
.hero-headline .highlight {
    color: #F0C080;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hide-mobile { display: inline; }

.hero-logo {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}
.hero-logo img { max-width: 220px; filter: brightness(0) invert(1); }

/* =========================================================
   PROOF BAR
   ========================================================= */
.proof-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
}
.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem 3rem;
    text-align: center;
}
.proof-item strong {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1;
}
.proof-item span {
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .3rem;
    font-weight: 500;
}
.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
    padding: 7rem 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}
.about-img-wrap {
    position: relative;
}
.about-photo {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 3/4;
    object-position: top center;
}
.about-img-badge {
    position: absolute;
    bottom: -1.2rem;
    right: -1.2rem;
    background: #4A4A4A;
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    padding: .9rem 1.3rem;
    border-radius: 12px;
    line-height: 1.4;
    box-shadow: var(--shadow-md);
    border: 2px solid #888888;
}
.about-img-badge small { color: rgba(255,255,255,.6); font-weight: 400; font-size: .75rem; }

.about-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: .8rem;
}
.about-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    margin-bottom: 1.5rem;
}
.about-title em { font-style: italic; color: var(--mid); }
.about-text p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}
.about-quote {
    border-left: 3px solid #888888;
    padding: 1rem 1.4rem;
    background: rgba(0,0,0,.04);
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-mid);
    line-height: 1.6;
}

/* =========================================================
   BRIDGE
   ========================================================= */
.bridge-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    text-align: center;
}
.bridge-text {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--dark-mid);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}
.bridge-text strong { color: var(--dark); }
.bridge-text em { font-style: italic; color: var(--mid); }

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products-section {
    padding: 2rem 0 7rem;
    background: var(--light-bg);
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-family: var(--serif);
    color: var(--dark);
}
.section-title em { font-style: italic; color: #777777; }
.section-sub {
    color: var(--muted);
    font-size: 1rem;
    margin-top: .6rem;
}

/* --- Product Hero Card (Comunidade) --- */
.product-hero-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #4A4A4A;
    margin-bottom: 2.5rem;
    min-height: 480px;
}
.product-hero-img {
    position: relative;
    overflow: hidden;
    background: #606060;
}
.product-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    background: linear-gradient(135deg, #606060, #4A4A4A);
}
.product-hero-card:hover .product-hero-img img { transform: scale(1.04); }
.product-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(74,74,74,.7));
    pointer-events: none;
}
.product-hero-content {
    padding: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(253,225,87,.1);
    border: 1px solid rgba(253,225,87,.3);
    padding: .4rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    width: fit-content;
}
.product-hero-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.product-hero-desc {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}
.product-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: .5rem;
}
.product-benefits li {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* --- Products 3-col grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 330px;
    background: linear-gradient(135deg, #6B6B6B, #4A4A4A);
}
.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform .5s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
    pointer-events: none;
}
.product-card-tag {
    position: absolute;
    top: .8rem;
    left: .8rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    padding: .3rem .8rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.2);
}
.product-card-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: .7rem;
    color: var(--dark);
}
.product-card-body p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}
.product-mini-benefits {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.product-mini-benefits li {
    font-size: .82rem;
    color: var(--mid);
}

/* =========================================================
   TESTIMONIALS (inalterado)
   ========================================================= */
.testimonials {
    padding: 5rem 0 4rem;
    background: var(--white);
}
.gallery-grid {
    column-count: 3;
    column-gap: 15px;
}
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 600px) { .gallery-grid { column-count: 1; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    position: relative;
    display: block;
    background: #FAFAFA;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}
.lightbox-modal.show { display: flex; opacity: 1; }
.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,.5);
    transform: scale(.95);
    transition: transform .3s ease;
}
.lightbox-modal.show .lightbox-content { transform: scale(1); }
.lightbox-close {
    position: absolute;
    top: 20px; right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    font-family: var(--sans);
}
.lightbox-close:hover { color: #bbb; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #525252 0%, #686868 50%, #525252 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '🦋';
    position: absolute;
    font-size: 12rem;
    opacity: .04;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-sub {
    color: rgba(255,255,255,.6);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer-dark {
    background-color: #3B3B3B;
    padding: 1.2rem 0;
    color: var(--white);
    display: block;
    position: relative;
    z-index: 10;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.footer-left img { max-width: 140px; height: auto; display: block; filter: brightness(0) invert(1); }
.footer-right { display: flex; align-items: center; gap: 2rem; }
.social-text { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); }
.social-icons { display: flex; gap: 1rem; }
.social-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}
.social-icon:hover { background: #555555; transform: translateY(-3px); }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .product-hero-card { grid-template-columns: 1fr; min-height: auto; }
    .product-hero-img { height: 300px; }
    .product-hero-img img { padding: 2rem; }
    .product-hero-content { padding: 2.5rem; }
    .products-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .product-hero-img {
        height: 450px;
    }

    .product-card-img-wrap {
        height: 330px;
    }	
    .hide-mobile { display: none; }
    .hero-full {
        min-height: 100vh;
        height: auto;
        justify-content: center;
        align-items: center;
        padding: 6.5rem 0 3.5rem 0;
        box-sizing: border-box;
        overflow: hidden; /* Previne qualquer desalinhamento lateral */
    }
	.hero-content {
        position: relative;
	    left: 0 !important;
        right: 0 !important;	
        width: auto;
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    .hero-bg-img {
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        object-fit: cover;
        object-position: center 15%;
        filter: grayscale(15%) brightness(0.5) contrast(1.1);
    }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(21,21,21,0.4) 0%, rgba(21,21,21,0.9) 100%);
    }
    .hero-logo {
        top: 1.25rem;
    }
    .hero-logo img {
        max-width: 160px; /* Reduzido no mobile para evitar sobreposição */
    }
    .hero-badge {
        font-size: .72rem;
        margin-bottom: 1rem;
        padding: .35rem .85rem;
    }
    .hero-headline {
        width: 100%;
        max-width: 100%;
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        line-height: 1.25;
    }
    .hero-sub {
        max-width: 100%;
    }

    /* Os 4 destaques em formato de caixas, 2 por linha */
    .proof-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        padding: 1.2rem 1rem;
        background: transparent;
        border-bottom: none;
        box-shadow: none;
    }
    .proof-item {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1rem 0.8rem;
        box-shadow: var(--shadow-sm);
        text-align: center;
        box-sizing: border-box;
    }
    .proof-divider {
        display: none;
    }

    .about-section { padding: 4rem 0; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-img-badge { bottom: .5rem; right: .5rem; font-size: .8rem; }
    .about-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .about-text p { font-size: 0.95rem; }

    .bridge-section { padding: 3rem 1rem; }

    .products-section { padding: 2rem 0 4rem; }
    .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-hero-card { 
        border-radius: var(--radius); 
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .product-hero-content {
        padding: 1.5rem; /* Ajustado para não cortar em telas pequenas */
        box-sizing: border-box;
    }
    .product-hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .product-hero-desc { font-size: 0.95rem; }
    .product-benefits li { font-size: 0.85rem; }

    .testimonials { padding: 3rem 0; }

    .cta-final { padding: 4rem 1.5rem; }

    .site-footer-dark { display: block !important; }
    .footer-grid { flex-direction: column; gap: 1.5rem; text-align: center; padding: 1rem 1.5rem; }
    .footer-right { flex-direction: column; gap: .75rem; }
}

@media (max-width: 480px) {
    .proof-bar {
        grid-template-columns: 1fr 1fr; /* Garante 2 por linha em telas muito pequenas */
        gap: 0.6rem;
        padding: 1rem 0.5rem;
    }
    .proof-item {
        padding: 0.8rem 0.5rem;
    }
    .proof-item strong {
        font-size: 1.25rem;
    }
    .proof-item span {
        font-size: 0.7rem;
    }
    .hero-headline { font-size: 1.3rem; }
}