/* ==========================================================
   PINTALIS COLLECTION
   Version 1.0
   ========================================================== */

:root{

    --background:#f6f4ef;
    --white:#ffffff;

    --gold:#b58a42;
    --gold-hover:#c89a4f;

    --black:#1f1f1f;

    --text:#4d4d4d;

    --border:#ece7de;

    --shadow:0 15px 35px rgba(0,0,0,.05);

    --radius:22px;

    --transition:.25s ease;

    --sidebar:270px;

    --rightbar:340px;

}

/* ========================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Manrope',sans-serif;

    background:var(--background);

    color:var(--black);

    overflow-x:hidden;

    overflow-y:auto;

}

/* ========================================================== */

button{

    font-family:inherit;

    cursor:pointer;

    border:none;

}

a{

    text-decoration:none;

    color:inherit;

}

input{

    font-family:inherit;

    outline:none;

}

/* ========================================================== */

.app{

    display:grid;

    grid-template-columns:

    var(--sidebar)

    1fr

    var(--rightbar);

    height:100vh;

}

/* ========================================================== */
/* SIDEBAR */
/* ========================================================== */

.sidebar{

    background:white;

    border-right:1px solid var(--border);

    padding:40px 30px;

    display:flex;

    flex-direction:column;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:55px;

}

.logo-icon{

    width:58px;

    height:58px;

    border-radius:18px;

    background:linear-gradient(135deg,#c89a4f,#a97c36);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    font-weight:700;

}

.logo-content h2{

    font-size:24px;

    font-weight:800;

}

.logo-content span{

    color:var(--gold);

    font-size:14px;

    letter-spacing:2px;

    text-transform:uppercase;

}

/* ========================================================== */

.menu{

    display:flex;

    flex-direction:column;

    gap:8px;

}

/* ========================================================== */

.menu a{

    padding:15px 18px;

    border-radius:15px;

    color:#666;

    font-weight:600;

    transition:var(--transition);

}

.menu a:hover{

    background:#faf8f3;

    color:var(--gold);

}

.menu .active{

    background:linear-gradient(135deg,#c89a4f,#a97c36);

    color:white;

}

/* ========================================================== */
/* MAIN */
/* ========================================================== */

.main-content{

    padding:40px;

    overflow:auto;

}

/* ========================================================== */
/* HEADER */
/* ========================================================== */

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:45px;

}

.header h1{

    font-size:36px;

    font-weight:800;

}

.header p{

    margin-top:8px;

    color:#777;

}

/* ========================================================== */

.header-actions{

    display:flex;

    align-items:center;

    gap:18px;

}

.header-actions input{

    width:260px;

    height:52px;

    border:none;

    border-radius:14px;

    background:white;

    padding:0 20px;

    box-shadow:var(--shadow);

}

.header-actions button{

    height:52px;

    padding:0 28px;

    background:var(--gold);

    color:white;

    border-radius:14px;

    transition:var(--transition);

}

.header-actions button:hover{

    background:var(--gold-hover);

}

.avatar{

    width:54px;

    height:54px;

    border-radius:50%;

    background:#222;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

}

/* ========================================================== */
/* HERO */
/* ========================================================== */

.hero{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:40px;

    background:white;

    border-radius:28px;

    padding:45px;

    box-shadow:var(--shadow);

    margin-bottom:45px;

}

.badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:100px;

    background:#faf6ed;

    color:var(--gold);

    font-weight:700;

    margin-bottom:25px;

}

.hero h2{

    font-size:46px;

    line-height:1.15;

    max-width:700px;

}

.hero p{

    margin-top:25px;

    color:#666;

    line-height:1.8;

    font-size:17px;

    max-width:650px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:40px;

}

.primary{

    background:var(--gold);

    color:white;

    padding:18px 32px;

    border-radius:14px;

    transition:var(--transition);

}

.primary:hover{

    background:var(--gold-hover);

}

.secondary{

    background:#f4f4f4;

    color:#333;

    padding:18px 32px;

    border-radius:14px;

    transition:var(--transition);

}

.secondary:hover{

    background:#ececec;

}

.hero-image{

    display:flex;

    align-items:center;

    justify-content:center;

}

.image-placeholder{

    width:100%;

    height:420px;

    border-radius:24px;

    background:linear-gradient(135deg,#f3f3f3,#e5e5e5);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#888;

    font-size:22px;

}
/* ========================================================== */
/* SECTION HEADER */
/* ========================================================== */

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

}

.section-header h2{

    font-size:28px;

    font-weight:800;

    color:var(--black);

}

.section-header a{

    color:var(--gold);

    font-weight:700;

    transition:var(--transition);

}

.section-header a:hover{

    opacity:.7;

}

/* ========================================================== */
/* CATEGORY GRID */
/* ========================================================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));

    gap:28px;

}

/* ========================================================== */
/* CATEGORY CARD */
/* ========================================================== */

.category-card{

    background:var(--white);

    border:1px solid var(--border);

    border-radius:24px;

    padding:28px;

    cursor:pointer;

    transition:all .35s ease;

    position:relative;

    overflow:hidden;

    min-height:220px;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

}

.category-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:6px;

    background:linear-gradient(90deg,#b58a42,#d6b16b);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.category-card:hover::before{

    transform:scaleX(1);

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.08);

}

.category-card h3{

    font-size:24px;

    margin-bottom:12px;

    font-weight:800;

}

.category-card span{

    color:#7d7d7d;

    font-size:15px;

}

.category-card::after{

    content:"→";

    position:absolute;

    right:30px;

    top:28px;

    font-size:24px;

    color:var(--gold);

    transition:.3s;

}

.category-card:hover::after{

    transform:translateX(8px);

}

/* ========================================================== */
/* RIGHT PANEL */
/* ========================================================== */

.project-panel{

    background:var(--white);

    border-left:1px solid var(--border);

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:35px;

}

.project-header{

    margin-bottom:30px;

}

.project-header h2{

    font-size:28px;

    font-weight:800;

}

.project-empty{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.circle{

    width:90px;

    height:90px;

    border-radius:50%;

    background:linear-gradient(135deg,#b58a42,#d6b16b);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    margin-bottom:28px;

    box-shadow:0 20px 40px rgba(181,138,66,.25);

}

.project-empty h3{

    font-size:24px;

    margin-bottom:12px;

}

.project-empty p{

    color:#7c7c7c;

    line-height:1.7;

    max-width:260px;

}

.project-footer{

    padding-top:30px;

    border-top:1px solid var(--border);

}

.project-footer button{

    width:100%;

    height:58px;

    border-radius:16px;

    background:var(--gold);

    color:white;

    font-size:16px;

    font-weight:700;

    transition:.3s;

}

.project-footer button:hover{

    background:var(--gold-hover);

    transform:translateY(-2px);

}

/* ========================================================== */
/* SCROLLBAR */
/* ========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#efefef;

}

::-webkit-scrollbar-thumb{

    background:#c8c8c8;

    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold);

}

/* ========================================================== */
/* ANIMATIONS */
/* ========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero{

    animation:fadeUp .6s ease;

}

.category-card{

    animation:fadeUp .8s ease;

}

/* ========================================================== */
/* RESPONSIVE */
/* ========================================================== */

@media(max-width:1500px){

    .app{

        grid-template-columns:240px 1fr 300px;

    }

}

@media(max-width:1200px){

    .project-panel{

        display:none;

    }

    .app{

        grid-template-columns:240px 1fr;

    }

}

@media(max-width:900px){

    .sidebar{

        display:none;

    }

    .app{

        grid-template-columns:1fr;

    }

    .main-content{

        padding:25px;

    }

    .hero{

        grid-template-columns:1fr;

    }

    .hero h2{

        font-size:34px;

    }

    .header{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

    .header-actions{

        width:100%;

        flex-wrap:wrap;

    }

    .header-actions input{

        width:100%;

    }

    .cards{

        grid-template-columns:1fr;

    }

}

@media(max-width:600px){

    .hero{

        padding:28px;

    }

    .hero h2{

        font-size:28px;

    }

    .primary,
    .secondary{

        width:100%;

    }

    .hero-buttons{

        flex-direction:column;

    }

}
/* ==========================================================
   PREMIUM DETAILS
   Version 1.0 - Part 3
========================================================== */

/* Fundo decorativo */

body::before{

    content:"";

    position:fixed;

    width:700px;

    height:700px;

    top:-250px;

    right:-250px;

    background:radial-gradient(circle,
        rgba(181,138,66,.12),
        transparent 70%);

    pointer-events:none;

    z-index:0;

}

body::after{

    content:"";

    position:fixed;

    width:500px;

    height:500px;

    left:-180px;

    bottom:-180px;

    background:radial-gradient(circle,
        rgba(181,138,66,.08),
        transparent 70%);

    pointer-events:none;

    z-index:0;

}

.app{

    position:relative;

    z-index:2;

}

/* ========================================================== */
/* HERO IMAGE */
/* ========================================================== */

.hero-image{

    position:relative;

}

.image-placeholder{

    position:relative;

    overflow:hidden;

    background-image:url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80");

    background-size:cover;

    background-position:center;

    color:white;

    font-size:34px;

    font-weight:700;

    text-shadow:0 5px 15px rgba(0,0,0,.4);

}

.image-placeholder::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.45),

        rgba(0,0,0,.05)

    );

}

.image-placeholder{

    display:flex;

    align-items:flex-end;

    justify-content:flex-start;

    padding:40px;

}

.image-placeholder span{

    position:relative;

    z-index:2;

}

/* ========================================================== */
/* CATEGORY ICON */
/* ========================================================== */

.category-card{

    padding-top:90px;

}

.category-card .icon{

    position:absolute;

    left:28px;

    top:28px;

    width:62px;

    height:62px;

    border-radius:18px;

    background:#faf7ef;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    transition:.35s;

}

.category-card:hover .icon{

    background:linear-gradient(135deg,#c89a4f,#a97c36);

    color:white;

    transform:rotate(-6deg) scale(1.08);

}

/* ========================================================== */
/* GLASS */
/* ========================================================== */

.hero{

    backdrop-filter:blur(20px);

}

.category-card{

    backdrop-filter:blur(10px);

}

/* ========================================================== */
/* BUTTONS */
/* ========================================================== */

.primary{

    position:relative;

    overflow:hidden;

}

.primary::before{

    content:"";

    position:absolute;

    width:0;

    height:100%;

    left:0;

    top:0;

    background:rgba(255,255,255,.12);

    transition:.45s;

}

.primary:hover::before{

    width:100%;

}

.secondary{

    border:1px solid var(--border);

}

/* ========================================================== */
/* SIDEBAR */
/* ========================================================== */

.menu a{

    position:relative;

}

.menu a::before{

    content:"";

    position:absolute;

    left:0;

    top:50%;

    transform:translateY(-50%);

    width:4px;

    height:0;

    background:var(--gold);

    border-radius:20px;

    transition:.25s;

}

.menu a:hover::before{

    height:60%;

}

.menu .active::before{

    background:white;

    height:60%;

}

/* ========================================================== */
/* INPUT */
/* ========================================================== */

.header-actions input{

    transition:.3s;

}

.header-actions input:focus{

    box-shadow:

    0 0 0 4px rgba(181,138,66,.15);

}

/* ========================================================== */
/* LOGO */
/* ========================================================== */

.logo{

    cursor:pointer;

}

.logo:hover .logo-icon{

    transform:rotate(-8deg);

}

.logo-icon{

    transition:.4s;

}

/* ========================================================== */
/* PANEL */
/* ========================================================== */

.project-panel{

    background:

    linear-gradient(

    to bottom,

    white,

    #fcfbf8

    );

}

/* ========================================================== */
/* FOOTER BUTTON */
/* ========================================================== */

.project-footer button{

    box-shadow:

    0 15px 35px rgba(181,138,66,.18);

}

/* ========================================================== */
/* CARDS STAGGER */
/* ========================================================== */

.category-card:nth-child(1){

    animation-delay:.05s;

}

.category-card:nth-child(2){

    animation-delay:.10s;

}

.category-card:nth-child(3){

    animation-delay:.15s;

}

.category-card:nth-child(4){

    animation-delay:.20s;

}

.category-card:nth-child(5){

    animation-delay:.25s;

}

.category-card:nth-child(6){

    animation-delay:.30s;

}

/* ========================================================== */
/* HOVER GLOW */
/* ========================================================== */

.category-card:hover{

    border-color:#d6b16b;

}

/* ========================================================== */
/* SELECTION */
/* ========================================================== */

::selection{

    background:#b58a42;

    color:white;

}
/* HERO OVERLAY */

.hero-overlay{

    position:relative;

    z-index:2;

    color:white;

    max-width:320px;

}

.collection-tag{

    display:inline-block;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(10px);

    padding:8px 14px;

    border-radius:30px;

    font-size:12px;

    letter-spacing:2px;

    margin-bottom:18px;

}

.hero-overlay h3{

    font-size:36px;

    margin-bottom:12px;

}

.hero-overlay p{

    color:rgba(255,255,255,.85);

    line-height:1.7;

}
/* =====================================================
   CATALOG PAGE
===================================================== */


.catalog-layout{

    padding:40px;

}



.catalog-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    margin-bottom:40px;

}



.back-link{

    color:var(--gold);

    font-weight:700;

    display:inline-block;

    margin-bottom:20px;

}



.catalog-header h1{

    font-size:46px;

    font-weight:800;

}



.catalog-header p{

    color:#777;

    margin-top:10px;

}



.catalog-search input{

    width:320px;

    height:55px;

    border:none;

    background:white;

    border-radius:16px;

    padding:0 22px;

    box-shadow:var(--shadow);

}



.catalog-filters{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:40px;

}



.catalog-filters button{

    padding:13px 25px;

    border-radius:30px;

    background:white;

    border:1px solid var(--border);

}



.catalog-filters .filter-active{

    background:var(--gold);

    color:white;

}




.products-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));

    gap:30px;

}



.product-card{

    background:white;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}



.product-card:hover{

    transform:translateY(-8px);

}



.product-image{

    height:260px;

    position:relative;

}



.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}



.product-image span{

    position:absolute;

    left:20px;

    top:20px;

    background:white;

    color:var(--gold);

    padding:8px 15px;

    border-radius:30px;

    font-size:12px;

    font-weight:800;

}



.product-info{

    padding:25px;

}



.product-info h3{

    font-size:23px;

    margin-bottom:10px;

}



.product-info p{

    color:#777;

    line-height:1.6;

}



.product-actions{

    margin-top:25px;

}



.product-actions button{

    width:100%;

    height:50px;

    background:var(--gold);

    color:white;

    border-radius:14px;

    font-weight:700;

}



@media(max-width:900px){


.catalog-layout{

    padding:25px;

}


.catalog-header{

    flex-direction:column;

    align-items:flex-start;

}


.catalog-search input{

    width:100%;

}



}
/* =====================================================
   PRODUCT DETAILS
===================================================== */


.details{

list-style:none;

margin:20px 0;

padding:0;

}


.details li{

font-size:14px;

color:#777;

margin-bottom:8px;

}


.material{

color:var(--gold);

font-weight:700;

margin-top:10px;

}



.add-project{

width:100%;

height:52px;

background:var(--gold);

color:white;

border-radius:14px;

font-weight:700;

transition:.3s;

}


.add-project:hover{

background:var(--gold-hover);

transform:translateY(-2px);

}
/* ==========================================================
   ANIMAÇÃO DE TRANSIÇÃO ENTRE PÁGINAS
   ========================================================== */

body {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

body.page-exit {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}