/* =====================================================
   RESET + BASE
===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
    --bg: #0b0b0f;
    --panel: rgba(255,255,255,0.06);
    --panel2: rgba(255,255,255,0.04);
    --stroke: rgba(255,255,255,0.10);
    --text: #ffffff;
    --muted: rgba(255,255,255,0.72);
    --muted2: rgba(255,255,255,0.60);
    --accent: #ffcc00;
    --shadow: 0 22px 70px rgba(0,0,0,0.65);
    --radius: 18px;
}

body{
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background: radial-gradient(1200px 700px at 15% 10%, rgba(255, 204, 0, 0.12), transparent 60%),
                radial-gradient(900px 500px at 85% 20%, rgba(0, 198, 255, 0.10), transparent 60%),
                var(--bg);
    color: var(--text);
}

a{ text-decoration: none; color: inherit; }
img{ max-width: 100%; display: block; }

.container{
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================
   TOPBAR
===================================================== */
.topbar{
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(10,10,14,0.72);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}

.topbar-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding: 14px 0;
}

.topbar-left{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
}

.brand-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255,204,0,0.16);
}

.brand-name{
    font-weight: 900;
    letter-spacing: 0.2px;
}

.cart-summary{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--muted);
    font-size: 13px;
}

.chip-accent{
    background: rgba(255,204,0,0.10);
    border-color: rgba(255,204,0,0.22);
    color: #ffe79a;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.topbar-spacer{ height: 74px; }

/* =====================================================
   BUTTONS
===================================================== */
.btn{
    border: none;
    cursor: pointer;
    font-weight: 900;
    border-radius: 12px;
    padding: 10px 14px;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
    background: var(--accent);
    color: #000;
}

.btn-primary:hover{ background: #e6b800; }

.btn-ghost{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
}

.btn-ghost:hover{ border-color: rgba(255,204,0,0.24); }

.btn-cart{
    background: rgba(255,204,0,0.12);
    border: 1px solid rgba(255,204,0,0.22);
    color: var(--accent);
    padding: 10px 12px;
}

.btn-cart:hover{
    background: var(--accent);
    color:#000;
}

/* =====================================================
   NAV DESKTOP + DROPDOWN
===================================================== */
.nav-desktop{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 6px;
}

.nav-link{
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(255,255,255,0.86);
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.nav-link:hover{
    border-color: rgba(255,204,0,0.22);
}

.dropdown{ position: relative; }

.nav-btn{
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    display:flex;
    align-items:center;
    gap: 8px;
}

.nav-btn:hover{
    border-color: rgba(255,204,0,0.22);
}

.chev{
    opacity: 0.9;
    transform: translateY(-1px);
}

.dropdown-menu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: rgba(15,15,20,0.92);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 90px rgba(0,0,0,0.70);
    backdrop-filter: blur(14px);
    padding: 6px;
    display: none;
}

.dropdown.open .dropdown-menu{ display: block; }

.dropdown-item{
    display: block;
    padding: 10px 10px;
    border-radius: 12px;
    color: rgba(255,255,255,0.88);
    font-weight: 800;
    border: 1px solid transparent;
}

.dropdown-item:hover{
    background: rgba(255,204,0,0.12);
    border-color: rgba(255,204,0,0.22);
}

/* =====================================================
   MOBILE MENU
===================================================== */
.btn-menu{ display: none; }

.mobile-menu{
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(10,10,14,0.82);
    backdrop-filter: blur(14px);
}

.mobile-menu-inner{
    padding: 12px 0 14px 0;
    display: grid;
    gap: 10px;
}

.mobile-group{
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 10px;
}

.mobile-title{
    font-weight: 900;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.92);
}

.mobile-link{
    display: block;
    padding: 10px 10px;
    border-radius: 12px;
    font-weight: 800;
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.mobile-link:hover{
    border-color: rgba(255,204,0,0.22);
}

/* =====================================================
   HERO
===================================================== */
.secao-hero-principal{
    position: relative;
    padding: 88px 0 70px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-conteudo{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 38px;
}

.hero-texto{ max-width: 640px; }

.hero-titulo{
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 16px;
}

.hero-subtitulo{
    color: var(--muted);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 24px;
}

.hero-botoes{ display:flex; gap:12px; flex-wrap:wrap; }

.hero-imagem img{
    max-width: 470px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.10);
}

/* topo mais centralizado */
.hero-imagem-topo{
    position:absolute;
    top: 16px;
    left: 58%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.95;
    pointer-events: none;
}

.hero-imagem-topo img{
    width: 420px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

/* idioma */
.lang-pt{ display:none; }
.lang-en{ display:block; }

/* =====================================================
   SECTION TITLES
===================================================== */
.sec-title{
    text-align:center;
    margin-bottom: 34px;
}

.sec-title h2{
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 10px;
}

.sec-title p{
    color: var(--muted2);
    line-height: 1.6;
}

.sec-title-row{
    text-align:left;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap: 18px;
}

.sec-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.link-pill{
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,204,0,0.22);
    background: rgba(255,204,0,0.08);
    color: #ffe79a;
    font-weight: 800;
}

.link-pill:hover{
    background: var(--accent);
    color:#000;
}

/* =====================================================
   TYPES
===================================================== */
.secao-cartas-tipo{
    padding: 70px 0;
}

.tipos-cartas{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.tipo-card{
    display:block;
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 55px rgba(0,0,0,0.55);
    transition: transform .18s ease, border-color .18s ease;
}

.tipo-card:hover{
    transform: translateY(-4px);
    border-color: rgba(255,204,0,0.22);
}

.tipo-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom: 10px;
}

.tipo-card h3{
    font-size: 22px;
    font-weight: 900;
}

.pill{
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.tipo-card p{
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.btn-tipo{
    display:inline-block;
    font-weight: 900;
    color: #ffe79a;
}

.tipo-agua{
    background: radial-gradient(600px 260px at 15% 30%, rgba(0, 198, 255, 0.22), transparent 60%),
                linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.tipo-fogo{
    background: radial-gradient(600px 260px at 15% 30%, rgba(255, 70, 0, 0.20), transparent 60%),
                linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

/* =====================================================
   SHOP
===================================================== */
.secao-shop{
    padding: 78px 0 92px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.shop-bloco{
    margin-top: 24px;
}

.shop-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.shop-head h3{
    font-size: 22px;
    font-weight: 900;
}

.shop-head p{
    color: var(--muted2);
    font-size: 14px;
}

/* grid 4 col */
.grid-4{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* product card */
.product-card{
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 55px rgba(0,0,0,0.55);
    transition: transform .18s ease, border-color .18s ease;
}

.product-card:hover{
    transform: translateY(-5px);
    border-color: rgba(255,204,0,0.22);
}

.product-media{
    position: relative;
    padding: 14px;
    background: rgba(0,0,0,0.28);
}

.product-media img{
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: rgba(0,0,0,0.25);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.product-card.small .product-media img{ height: 210px; }

.badge{
    position:absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.4px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
}

.product-body{
    padding: 14px 14px 16px 14px;
}

.product-body h4{
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 8px;
}

.desc{
    color: var(--muted2);
    font-size: 13px;
    line-height: 1.45;
    min-height: 38px;
    margin-bottom: 12px;
}

.product-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
}

.price{
    color: var(--accent);
    font-weight: 900;
}

/* =====================================================
   ÂNCORAS DO DROPDOWN
===================================================== */
.anchor-section{
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.anchor-section h2{
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
}

.anchor-section p{
    color: var(--muted2);
    line-height: 1.6;
}

/* =====================================================
   MODAL CHECKOUT
===================================================== */
.modal{
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.modal.show{ display: block; }

.modal-overlay{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.62);
}

.modal-card{
    position: relative;
    width: min(760px, 92%);
    margin: 80px auto;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15,15,20,0.86);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 25px 100px rgba(0,0,0,0.75);
    backdrop-filter: blur(14px);
}

.modal-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-head h3{
    font-size: 18px;
    font-weight: 900;
}

.icon-btn{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
}

.modal-body{
    padding: 16px;
}

.modal-summary{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom: 14px;
}

.cart-list{
    display:flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.cart-item-left{
    display:flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name{
    font-weight: 900;
    font-size: 14px;
}

.cart-item-meta{
    color: var(--muted2);
    font-size: 12px;
}

.cart-item-right{
    display:flex;
    align-items:center;
    gap: 10px;
}

.qty{
    display:flex;
    align-items:center;
    gap: 8px;
}

.qty button{
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.qty strong{
    min-width: 18px;
    text-align:center;
    display:inline-block;
}

.modal-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* =====================================================
   TOAST
===================================================== */
.toast{
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15,15,20,0.88);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.7);
    display:none;
    z-index: 99999;
    max-width: min(520px, 92%);
    text-align:center;
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 1000px){
    .grid-4{ grid-template-columns: repeat(2, 1fr); }
    .hero-conteudo{ flex-direction: column; text-align:center; }
    .hero-botoes{ justify-content:center; }
    .hero-titulo{ font-size: 40px; }

    .hero-imagem-topo{ left: 50%; top: 14px; }
    .hero-imagem-topo img{ width: 330px; }
}

@media (max-width: 900px){
    .nav-desktop{ display:none; }
    .btn-menu{ display:inline-flex; }
}

@media (max-width: 640px){
    .grid-4{ grid-template-columns: 1fr; }
    .sec-title-row{ flex-direction: column; align-items:flex-start; }

    .hero-imagem-topo{ left: 50%; top: 12px; }
    .hero-imagem-topo img{ width: 240px; }

    .product-media img{ height: 240px; }
}
