/* ================================= */
/* RESET E CONFIGURAÇÕES GERAIS */
/* ================================= */

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 10px;
}

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

html, body {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 70px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #2f4f2f;
}

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

.topo {
    background: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 0 15px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* LOGO OCUPANDO TODA ÁREA */
.logo {
    display: flex;
    align-items: center;
    flex: 1; /* 🔥 ocupa todo espaço */
}

/* AJUSTE PRINCIPAL DO LOGO */
.logo img {
    height: 60px;          /* 🔥 controla tamanho */
    width: 100%;           /* 🔥 expande horizontalmente */
    object-fit: contain;   /* 🔥 não distorce */
}

/* TEXTO LOGO (se usar depois) */
.logo-texto {
    font-size: 34px;
    font-weight: bold;
    color: #2f4f2f;
}

.logo-texto .pet {
    color: #FF914D;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
}

.menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.btn-comprar {
    background: #FF914D;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 6px;
    margin-left: 20px;
}

/* ÍCONES DIREITA */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* WHATS */
.whats-menu {
    display: flex; /* 🔥 agora aparece sempre */
}

.whats-menu img {
    width: 42px;
}

/* ================================= */
/* RESPONSIVO */
/* ================================= */

@media (max-width: 768px) {

    .logo img {
        height: 45px;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* ================================= */
/* MENU MOBILE */
/* ================================= */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        background: #fff;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .menu a {
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .menu.ativo {
        display: flex;
    }

    .whatsapp-float {
        display: none;
    }

    .whats-menu {
        display: block;
    }

    .logo img {
        height: 60px;
    }

    .logo-texto {
        font-size: 40px;
    }
}

/* ================================= */
/* BANNER */
/* ================================= */

/* ================================= */
/* BANNER / CARROSSEL */
/* ================================= */

.banner {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.banner .carousel-item {
    padding: 10px 0 30px;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.banner-texto h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2f4f2f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-texto p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.banner-botoes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.banner-imagem {
    text-align: center;
}

.img-banner {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.banner .carousel-control-prev,
.banner .carousel-control-next {
    width: 5%;
}

.banner .carousel-control-prev-icon,
.banner .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    padding: 18px;
}

.banner .carousel-indicators {
    bottom: -10px;
}

.banner .carousel-indicators button {
    background-color: #FF914D;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .banner {
        padding: 100px 0 40px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-texto h1 {
        font-size: 30px;
    }

    .banner-texto p {
        font-size: 16px;
    }

    .banner-botoes {
        justify-content: center;
    }

    .img-banner {
        max-height: 260px;
        margin-top: 20px;
    }

    .banner .carousel-control-prev,
    .banner .carousel-control-next {
        display: none;
    }
}

/* ================================= */
/* BANNER FULL BACKGROUND */
/* ================================= */

.banner .carousel-item {
    height: 520px;
}

.banner-bg {
    position: relative;
    height: 500px;
    background-size: contain;
    background-position: center;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
}

/* ESCURECER FUNDO PARA TEXTO FICAR LEGÍVEL */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    top: 0;
    left: 0;
}

/* CONTEÚDO */
.banner-content {
    position: relative;
    z-index: 2;
}

/* TEXTO */
.banner-texto {
    max-width: 500px;
    color: #fff;
}

.banner-texto h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}

.banner-texto p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* BOTÕES */
.banner-botoes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ================================= */
/* BOTÕES */
/* ================================= */

.btn,
.btn-principal,
.btn-produto,
.btn-cta {
    background: #FF914D;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: 0.2s;
}

.btn:hover {
    background: #e67e3c;
}

.btn-secundario {
    background: #ffffff;
    color: #333;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
}

/* ================================= */
/* COMO FUNCIONA */
/* ================================= */

.como-funciona {
    background: #ffffff;
    text-align: center;
}

.passos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.passo {
    background: #f5f7fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icone {
    font-size: 42px;
    margin-bottom: 10px;
}

.passo h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2f4f2f;
}

.passo p {
    font-size: 14px;
}

/* ================================= */
/* BENEFICIOS */
/* ================================= */

.beneficios {
    background: #f5f7fa;
    text-align: center;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.beneficio {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.beneficio-icone {
    font-size: 40px;
    margin-bottom: 10px;
}

.beneficio h3 {
    margin-bottom: 10px;
    color: #2f4f2f;
}

.beneficio p {
    font-size: 15px;
}

/* ================================= */
/* PRODUTOS */
/* ================================= */

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.produto-card {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ================================= */
/* RESPONSIVO */
/* ================================= */

@media (max-width: 992px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    section {
        padding: 40px 0;
    }

    .passos,
    .beneficios-grid,
    .produtos-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================= */
/* CTA FINAL */
/* ================================= */

.cta-final {
    background: linear-gradient(180deg, #8FBF8F, #6aa56a);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

/* ================================= */
/* RODAPÉ */
/* ================================= */

.rodape {
    background: #2f4f2f;
    color: #fff;
    padding: 40px 0;
}

.rodape-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rodape a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .rodape-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================= */
/* WHATSAPP */
/* ================================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ================================= */
/* PRODUTO.PHP */
/* ================================= */

.produto-personalizar h4 {
    margin-top: 30px;
}

.opcao-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.opcao-item:hover {
    border-color: #FF914D;
    background: #fff5ef;
}

.opcao-item input[type=radio] {
    display: none;
}

.preview-tag {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.tag-modelo {
    background: #ffffff;
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================= */
/* DEPOIMENTOS */
/* ================================= */

.depoimentos {
    background: #ffffff;
    text-align: center;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.depoimento {
    background: #f5f7fa;
    padding: 25px;
    border-radius: 15px;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.depoimento strong {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: #2f4f2f;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
}


/* ================================= */
/* PAGINA PRODUTO.PHP */
/* ================================= */

.produto-mobile {
    padding-bottom: 100px;
}

.topo-etapa {
    position: sticky;
    top: 80px;
    background: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 20;
}

.btn-voltar {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-voltar:hover {
    background: #e65c00;
}

.etapa {
    display: none;
}

.etapa.ativa {
    display: block;
}

.opcao {
    text-align: center;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
    margin-bottom: 15px;
}

.opcao:hover {
    transform: scale(1.02);
    border-color: #FF914D;
}

.opcao.ativa {
    border: 2px solid #28a745;
}

.opcao img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #f8f8f8;
    padding: 5px;
    border-radius: 10px;
}

.opcao span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}

/* ETAPA 1 - CATEGORIAS */
.etapa[data-etapa="1"] .opcao img {
    height: 160px;
}

/* ETAPA 2 - PRODUTOS */
.etapa[data-etapa="2"] .opcao img {
    height: 160px;
}

/* ETAPA 3 - COLAR */
.etapa[data-etapa="3"] .opcao img {
    height: 140px;
}

/* ETAPA 4 - FONTES */
.etapa[data-etapa="4"] .opcao img {
    height: 90px;
}

/* ETAPA 5 - DESENHOS */
.etapa[data-etapa="5"] .opcao img {
    height: 90px;
}

/* ETAPA 6 - MOLDURAS */
.etapa[data-etapa="6"] .opcao img {
    height: 90px;
}

/* FORM ETAPA 7 */
.etapa[data-etapa="7"] .form-group {
    margin-bottom: 15px;
}

/* PREVIEW FINAL */
.preview-final {
    padding: 10px 0 20px;
}

.tag-preview {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
}

.tag-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.camada {
    pointer-events: none;
}

#final-base {
    z-index: 1;
}

#final-desenho {
    z-index: 2;
    width: 42%;
    height: 42%;
    top: 24%;
    left: 29%;
    object-fit: contain;
}

#final-moldura {
    z-index: 3;
}

.texto {
    position: absolute;
    left: 50%;
    top: 67%;
    transform: translateX(-50%);
    width: 58%;
    text-align: center;
    z-index: 4;
    line-height: 1.15;
}

#final-nome {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    word-break: break-word;
}

#final-telefone {
    display: block;
    font-size: 11px;
    color: #333;
    word-break: break-word;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .produto-mobile {
        padding-bottom: 80px;
    }

    .topo-etapa {
        top: 80px;
        padding: 8px 0;
    }

    .btn-voltar {
        font-size: 13px;
        padding: 9px 14px;
    }

    .opcao {
        padding: 8px;
        border-radius: 10px;
    }

    .opcao img {
        height: 100px;
    }

    .etapa[data-etapa="1"] .opcao img,
    .etapa[data-etapa="2"] .opcao img {
        height: 130px;
    }

    .tag-preview {
        width: 200px;
        height: 200px;
    }

    #final-desenho {
        width: 40%;
        height: 40%;
        top: 25%;
        left: 30%;
    }

    .texto {
        top: 67%;
        width: 60%;
    }

    #final-nome {
        font-size: 15px;
    }

    #final-telefone {
        font-size: 10px;
    }
}

/* ================================= */
/* CARRINHO */
/* ================================= */

.carrinho-page {
    padding: 120px 0 60px;
    background: #f8f9fb;
}

.carrinho-vazio {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.carrinho-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carrinho-item {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.carrinho-item-topo {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.carrinho-imagem {
    width: 140px;
    min-width: 140px;
    height: 140px;
    background: #f5f7fa;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carrinho-imagem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sem-imagem {
    font-size: 14px;
    color: #888;
}

.carrinho-info h3 {
    margin-bottom: 10px;
    color: #2f4f2f;
}

.carrinho-info p,
.carrinho-detalhes p {
    margin-bottom: 8px;
    color: #333;
}

.carrinho-detalhes {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.carrinho-detalhes h4 {
    margin-bottom: 12px;
    color: #2f4f2f;
}

.foto-pet-enviada {
    margin-top: 12px;
}

.foto-pet-enviada img {
    margin-top: 8px;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.carrinho-acoes {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.carrinho-rodape {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .carrinho-item-topo {
        flex-direction: column;
    }

    .carrinho-imagem {
        width: 100%;
        height: 220px;
    }

    .carrinho-rodape {
        flex-direction: column;
    }

    .carrinho-rodape .btn {
        width: 100%;
        text-align: center;
    }
}

.mini-preview img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-top: 5px;
}

.foto-pet-enviada img {
    width: 100%;
    max-width: 140px;
    border-radius: 10px;
    margin-top: 8px;
}

.carrinho-item {
    transition: 0.2s;
}

.carrinho-item:hover {
    transform: translateY(-2px);
}

.carrinho-resumo-item {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e9e9e9;
}

.carrinho-resumo-item p {
    margin-bottom: 6px;
}

.carrinho-totais {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.carrinho-total-box {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.carrinho-total-box p {
    margin-bottom: 10px;
    font-size: 16px;
}

.carrinho-total-box .total-geral {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e9e9e9;
    font-size: 20px;
}

.preco-destaque {
    color: #198754;
    font-weight: 700;
}

.carrinho-resumo-item {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e9e9e9;
}

.linha-resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.total-item {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.quantidade-box {
    margin-top: 12px;
}

.quantidade-label {
    display: block;
    margin-bottom: 8px;
}

.quantidade-controles {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.form-qtd-inline,
.form-qtd-central {
    margin: 0;
}

.btn-qtd {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.input-quantidade {
    width: 72px;
    height: 42px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 10px;
    font-weight: 600;
}

.carrinho-totais {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.carrinho-total-box {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.carrinho-total-box p {
    margin-bottom: 10px;
    font-size: 16px;
}

.carrinho-total-box .total-geral {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e9e9e9;
    font-size: 20px;
}

.preco-destaque {
    color: #198754;
    font-weight: 700;
}

.banner-conteudo{
    max-width:600px;
    padding:80px 40px;
    color:#fff;
    text-shadow:0 3px 10px rgba(0,0,0,.35);
}

.banner-conteudo h1{
    font-size:44px;
    font-weight:800;
    margin-bottom:15px;
}

.banner-conteudo p{
    font-size:20px;
    line-height:1.5;
    margin-bottom:22px;
}

@media(max-width:768px){
    .banner-conteudo{
        padding:50px 24px;
    }

    .banner-conteudo h1{
        font-size:30px;
    }

    .banner-conteudo p{
        font-size:16px;
    }
}