/* ============================================================
   VARIÁVEIS GLOBAIS
   ============================================================ */

:root {
    --azulclaro: rgb(66, 66, 66);
    --azulescuro: rgb(0, 0, 0);
    --azulclaro-transparent: rgba(8, 1, 41, 0.918);

    --texto-cinza: rgb(83, 83, 83);
    --texto-azul: rgb(28, 41, 70);

    --bg-branco: rgb(255, 255, 255);
    --bg-cinza: #e8e8e8b6;

    --color-input: rgb(76, 73, 77);
    --color-gradient-login: rgb(213, 213, 247);
}


/* ============================================================
   BASE / RESET
   ============================================================ */

html,
body {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-branco);
    margin: 0px;
    padding: 0px;
    min-height: 100vh;
    height: 100%;
    font-family: "merri";
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

@font-face {
    font-family: "merri";
    src: url("../fonts/Merriweather.ttf");
    font-weight: 300;
}

h1 {
    font-size: clamp(1.25rem, 2vw, 2rem);

    color: var(--texto-azul);
    font-variant: small-caps;
    text-align: center;
}

.header-placeholder,
#conteudo-principal,
#footer-placeholder {
    display: flex;
}

#conteudo-principal {
    flex: 1;
}


/* ============================================================
   MANUTENÇÃO
   ============================================================ */

.ops {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    z-index: 1000;
}

.ops img {
    width: 90%;
}


/* ============================================================
   MENU SUPERIOR
   ============================================================ */

.containermenu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: clamp(50px, 5vw, 70px);
    flex-shrink: 0;
    box-sizing: border-box;
    position: fixed;
    z-index: 100;
    background: linear-gradient(to top, var(--azulescuro), var(--azulclaro));
}

.boxlogo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 15vw;
    padding-left: 0.5vw;
    color: var(--bg-branco);
    flex-shrink: 0;
}

.boxlogo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.boxlogo img {
    height: 60%;
    width: auto;
}

.boxmenuul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0px;
    flex: 1;
    max-width: 75vw;
    min-width: 900px;
    overflow: hidden;
    font-weight: 400;
}

.ulmain {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
    width: 50%;
    padding-left: 1vw;
    margin: 0px;
}

.ulmain2 {
    display: flex;
    list-style: none;
    color: var(--bg-branco);
    height: 100%;
    width: 100%;
    padding-left: 1vw;
    margin: 0px;
    flex: 1;
    font-size: clamp(0.75rem, 0.9vw, 1rem);
}

.menuitem,
.menuitem a,
.ulmain2 li,
.ulmain2 li a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: 0;
    padding: 0px 1vw;
    text-decoration: none;
    letter-spacing: 0.1vw;
    color: var(--bg-branco);
    transition: 0.3s;
    white-space: nowrap;
    text-shadow: 1px 1px 6px rgba(179, 179, 179, 0.481);
    font-size: clamp(10px, 0.9vw, 14px);
}

.menuitem a:hover,
.ulmain li:hover,
.ulmain2 li a:hover {
    color: rgb(202, 202, 202);
    font-size: clamp(12px, 1.1vw, 16px);
    cursor: pointer;
}

.menubar {
    display: flex;
    background-color: rgb(119, 116, 126);
    border-radius: 0.5vw;
    width: 2px;
    height: 50%;
    flex-shrink: 0;
}

.menuadm {
    justify-self: right;
    width: 15vw;
    height: 100%;
}


/* ============================================================
   HAMBURGER / NAV MOBILE
   ============================================================ */

.nav,
.hamburger {
    display: none;
}


/* ============================================================
   PÁGINA PRINCIPAL
   ============================================================ */

.containerprincipal {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-branco);
    width: 100%;
    flex-grow: 1;
    flex-shrink: 0;
    min-height: calc(100vh - 150px);
    padding-top: clamp(50px, 5vw, 70px);
    letter-spacing: -1px;
    align-items: center;
    justify-content: center;
}


/* ============================================================
   SWIPER / BANNER PRINCIPAL
   ============================================================ */

.swiper {
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: auto;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 20px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.1;
    transform: scale(0.85);
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.swiper-slide-active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: scale(1);
}

.swiper-button-prev,
.swiper-button-next {
    color: rgb(73, 73, 73);
    font-weight: 900;
}

.swiper-second {
    width: 80%;
}

.swiper-second .swiper-slide {
    width: auto;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
}

.nossasmarcasswiper {
    display: none;
}

.bannerprincipal {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-around;
    width: 100%;
}

.boxfoto {
    display: block;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 400 / 200;
    object-fit: cover;
}

.nome-sobreposto {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(151, 151, 151, 0.897);
    color: white;
    padding: clamp(0.3rem, 0.5vw, 0.5rem) clamp(0.8rem, 1.5vw, 1.5rem);
    font-size: clamp(0.7rem, 0.9vw, 1rem);
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px 10px 0px 0px;
    min-width: 200px;
}


/* ============================================================
   SEÇÃO TEXTO + FOTO (containertexto)
   ============================================================ */

.containertexto {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.125rem);
    width: 100%;
    padding: 10px 10%;
    box-sizing: border-box;
    height: auto;

}

.containertexto p {
    font-weight: 500;
    color: var(--texto-cinza);
    font-size: clamp(1rem, 1vw, 1.125rem);
}

.texto {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 45%;
    height: 100%;
    justify-content: flex-start;
    text-align: justify;
    font-family: "merri";
}

.foto-principal {
    display: flex;
    width: 45%;
    justify-content: flex-end;
    align-self: stretch;

    padding: 0;
    border: 0;
}

.foto-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(0.4rem, 0.6vw, 0.625rem);
}


/* ============================================================
   NOSSAS MARCAS
   ============================================================ */

.containernossasmarcas {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    align-items: center;
    background-color: whitesmoke;
    padding: clamp(1rem, 2vw, 1.875rem) 0;
}

.nossasmarcas {
    display: flex;
    height: auto;
    width: 75%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    padding-bottom: clamp(0.8rem, 1.2vw, 1.25rem);
}

.nossasmarcas img {
    border-radius: 100%;
    width: 10%;
    min-width: clamp(50px, 6vw, 80px);
    transition: 0.4s;
}

.nossasmarcas img:hover {
    transform: scale(1.1);
}

.headnossasmarcas {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: white;
    padding: 0px;
    margin-bottom: 40px;
    margin-top: 0px;
    border-radius: 10px;
}

.headnossasmarcas h1 {
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-variant: small-caps;
    color: var(--azulescuro);
    text-shadow: none;
    padding: 5px;
    margin: 0px;
    letter-spacing: 2px;
    font-weight: 400;
}

.marcasswiper {
    border-radius: 100%;
    width: 50%;
    min-width: clamp(80px, 10vw, 130px);
    transition: 0.4s;
}


/* ============================================================
   BANNER ESTÁTICO 2 (3 quadrados)
   ============================================================ */

.banner2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;


}

.banner2 h1 {
    padding: 0px;
    font-variant: none;
    font-weight: 100;
    font-size: 1.7rem;
}

.bannerestatico3mod {
    display: flex;
    width: 100%;
    justify-content: center;
     align-items: center;
    padding-bottom: 10px;
    background-color: #ffffffb6;

}

.bannerestatico3mod #lista-banner-estatico-2 {
    display: flex;
    width: 100%;
    justify-content: center;
     align-items: center;


}

.bannerestatico3mod #lista-banner-estatico-2>div {
    display: flex;
    gap: clamp(0.8rem, 1.5vw, 1.25rem);
    justify-content: center;
    padding: 0px 10%;
}

.bannerestatico3mod #lista-banner-estatico-2>div>div {
    max-width: 30%;
    border-radius: clamp(0.5rem, 1vw, 0.75rem);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: white;
    aspect-ratio: 1 / 1;
}

.bannerestatico3mod #lista-banner-estatico-2 img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bannerestatico3mod #lista-banner-estatico-2 img:hover {
    transform: scale(1.03);
}

.bannerestatico3mod .imagem-atualizacao {
    width: 100%;
    height: 100%;
    position: relative;
}

.bannerestatico3mod .imagem-atualizacao img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bannerestatico3mod .nome-sobrepostoestatico {
    font-size: clamp(0.7rem, 0.85vw, 0.9rem);
    padding: clamp(0.4rem, 0.7vw, 0.625rem);
}


/* ============================================================
   ATUALIZAÇÕES
   ============================================================ */

.lista-atualizacoes-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.imagem-atualizacao {
    position: relative;
    width: 50%;
    z-index: 1;
}

.imagem-atualizacao img {
    width: 100%;
    display: block;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.nome-sobrepostoestatico {
    position: absolute;
    bottom: 0;
    z-index: 5;
    color: var(--azulescuro);
    font-variant: small-caps;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.192);
    backdrop-filter: blur(4px);
    font-size: clamp(0.75rem, 0.9vw, 1rem);
    letter-spacing: 1px;
    padding: clamp(0.6rem, 1vw, 0.9375rem);
    text-align: center;
}


/* ============================================================
   LOGIN
   ============================================================ */

.login {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    width: 50vw;
    height: auto;
    padding: clamp(2rem, 3vw, 3.125rem);
    align-items: center;
    border-radius: clamp(1rem, 2vw, 1.875rem);
    border: 2px solid var(--azulclaro);
    background: linear-gradient(to top, var(--color-gradient-login), rgba(255, 255, 255, 0));
}

.login h1,
.login p {
    margin-top: clamp(0.4rem, 0.6vw, 0.625rem);
    margin-bottom: 0px;
}

.login .inputbox {
    margin-top: clamp(0.8rem, 1.2vw, 1.25rem);
    width: 70%;
}

.login button {
    margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

.inputboxlabel {
    padding-top: clamp(1rem, 1.8vw, 1.875rem);
    color: var(--azulclaro);
    font-size: clamp(1rem, 1.4vw, 1.5rem);
}


/* ============================================================
   SUBPÁGINA
   ============================================================ */

.divsubpagina {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    margin-bottom: clamp(2rem, 3vw, 3.125rem);
    text-align: justify;
    width: 100%;
}

.divsubpagina p, .divsubpagina h1 {
    font-size: clamp(12px, 1.1vw, px);
    margin-bottom: clamp(1.2rem, 2vw, 1.875rem);
    max-width: 1024px;
    padding: 0px 100px;
}

.divsubpagina h1{
        font-size: clamp(1.5rem, 1.8vw, 1.8rem);
}

.fotosubpagina{
    display: flex;
    justify-content: center;
    background-color: rgba(231, 231, 250, 0.459);
    width: 100%;
}
.fotosubpagina img {
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}
/* ============================================================
   RODAPÉ
   ============================================================ */

.containerfooter {
    display: flex;
    background: var(--bg-cinza);
    width: 100%;
    flex-direction: column;
    font-size: clamp(0.875rem, 1.1vw, 1.2rem);
    padding: 0px 10%;
}

.footerembaixo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 1.5rem;
    border-bottom: 0.5px solid rgba(88, 88, 88, 0.15);
    width: 100%;
}

.logofooter {
    display: flex;
    width: fit-content;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    height: auto;
    margin-top: 0;
    justify-content: flex-start;
}

.logofooter img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-left: 14px;
}

.endereco {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    text-align: left;
    justify-content: flex-start;
}

.endereco p {
    color: black;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.mapasite {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.25rem;
    width: auto;
}

.footer-label {
    color: black;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: black;
    text-decoration: none;
    font-size: clamp(0.85rem, 1vw, 1rem);
    transition: color 0.2s;
    margin-top: 0;
    font-weight: 400;
}

.footer-menu a:hover {
    color: rgb(51, 51, 51);
    font-weight: 400;
}

.footer-copy {
    color: black;
    font-size: 12px;
    text-align: center;
    margin-top: 1.25rem;
    padding-bottom: 50px;
}


/* ============================================================
   PAINEL ADMIN — FORMULÁRIOS / INPUTS / BOTÕES
   ============================================================ */

.containerpadrao {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: flex-start;
    padding-top: clamp(4rem, 7vw, 6.25rem);
}

.divcomum {
    display: flex;
    flex-direction: column;
    width: 50vw;
    margin: clamp(0.8rem, 1.5vw, 1.25rem) auto;
    background: white;
    padding: clamp(0.8rem, 1.5vw, 1.25rem);
    border-radius: clamp(0.4rem, 0.8vw, 0.625rem);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.headdivcomum {
    font-weight: bold;
    text-align: center;
}

.formenvio {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.8vw, 0.75rem);
}

.divcomum label {
    color: black;
    font-size: clamp(1rem, 1vw, 2rem);
}

input:not([type="file"]):not(.swal2-input),
textarea {
    width: 100%;
    border-radius: clamp(0.4rem, 0.8vw, 0.625rem);
    padding: clamp(0.4rem, 0.8vw, 0.625rem);
    border: none;
    font-size: clamp(0.875rem, 1vw, 1rem);
    box-sizing: border-box;
    background: var(--color-input);
    color: white;
}

input[type="file"] {
    background: var(--color-input);
    padding: clamp(0.3rem, 0.6vw, 0.5rem);
    border: 1px dashed #30363d;
    cursor: pointer;
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
    color: white;
    border-radius: clamp(0.2rem, 0.4vw, 0.3125rem);
}

button {
    color: white;
    font-weight: bold;
    padding: clamp(0.5rem, 0.8vw, 0.75rem) clamp(1rem, 1.8vw, 1.5625rem);
    border-radius: clamp(1rem, 2vw, 1.5625rem);
    border: none;
    align-self: center;
    background: var(--color-input);
    font-size: clamp(0.875rem, 1vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--color-input);
    transform: scale(1.05);
}


/* ============================================================
   PAINEL ADMIN — ESTRUTURA / LAYOUT
   ============================================================ */

.divadm {
    display: flex;
    flex-direction: column;
    width: 60vw;
    height: auto;
    margin: clamp(2rem, 4vw, 3.75rem) auto;
    background: linear-gradient(to top, var(--color-gradient-login), rgba(255, 255, 255, 0));
    border-radius: clamp(0.8rem, 1.5vw, 1.25rem);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fixicon {
    margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: clamp(1rem, 2vw, 1.875rem);
}

.fixicon img {
    border-radius: clamp(1rem, 2vw, 1.875rem);
    border: 5px solid var(--azulclaro);
    padding: clamp(1rem, 2vw, 1.875rem);
    background-color: white;
    width: clamp(60px, 7vw, 100px);
}

.divadmlinks {
    display: flex;
    justify-content: space-evenly;
    padding: clamp(0.8rem, 1.2vw, 1.25rem) clamp(0.4rem, 0.6vw, 0.625rem);
    font-size: clamp(0.875rem, 1vw, 1.1rem);
}

.headpaineladm {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: clamp(0.4rem, 0.6vw, 0.625rem) 0px;
    background-color: var(--azulescuro);
    color: white;
    height: auto;
    border-radius: clamp(0.8rem, 1.5vw, 1.25rem) clamp(0.8rem, 1.5vw, 1.25rem) 0px 0px;
    box-sizing: border-box;
    font-size: clamp(0.875rem, 1.1vw, 1.2rem);
}

.uladm {
    list-style: none;
    padding-left: 0px;
}

.uladm li {
    padding: clamp(0.4rem, 0.6vw, 0.625rem) 0px;
}

.uladm span:hover {
    font-weight: 900;
}

.logoadmin {
    width: 30%;
    min-width: clamp(130px, 15vw, 200px);
}


/* ============================================================
   PAINEL ADMIN — POPUP
   ============================================================ */

.divpopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.973);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#popup-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(0, 0, 0);
    padding: clamp(0.8rem, 1.5vw, 1.25rem);
    border-radius: clamp(0.8rem, 1.5vw, 1.25rem);
    width: 55vw;
    height: auto;
    max-height: 80vh;
}

#popup-conteudo .divcomum {
    width: 50vw;
}

.abrir-popup {
    cursor: pointer;
    display: inline-block;
    user-select: none;
}

.swal2-container {
    z-index: 99999 !important;
}


/* ============================================================
   PAINEL ADMIN — ITENS DA LISTA (item-admin)
   ============================================================ */

#lista-produtos,
#painel-admin-lista,
#lista-atualizacoes,
#lista-banner-estatico-2 {
    padding-bottom: 60px;
}

.item-admin {
    display: grid;
    grid-template-columns: 30px 70px 1fr auto;
    grid-template-areas: "check imagem texto actions";
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: white;
}

.item-admin input[type="checkbox"] {
    grid-area: check;
}

.item-admin>span {
    display: none;
}

.item-admin-info {
    display: contents;
}

.item-admin-info img {
    grid-area: imagem;
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
}

.item-admin-info>div {
    grid-area: texto;
}

.item-admin-info>div::before {
    content: attr(data-titulo);
    display: block;
    font-weight: bold;
    color: #111;
    margin-bottom: 4px;
}

.item-admin-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.item-admin-texto strong {
    font-size: 15px;
    line-height: 1.1;
}

.item-admin-texto small {
    color: #777;
    font-size: 13px;
    line-height: 1.1;
}


/* ============================================================
   RESPONSIVO — 1280px
   ============================================================ */

@media screen and (max-width: 1280px) {

    .boxmenuul {
        min-width: 0px;
    }

    .menuadm {
        min-width: 200px;
    }

    .boxlogo {
        padding-left: 2.5vw;
    }
}

/* ============================================================
   RESPONSIVO — 900px (MOBILE)
   ============================================================ */
@media screen and (max-width: 900px) {

    /* --- ocultar elementos desktop --- */
    .nossasmarcas,
    .boxmenuul,
    .menuadm,
    .banner2 {
        display: none;
    }

    .containerprincipal {
        padding-top: 70px;
    }

    /* --- menu superior --- */
    .containermenu {
        justify-content: space-between;
        height: 70px;
        border-radius: 0px;
        padding: 0px;
        margin: 0px;
    }

    .boxlogo {
        min-width: 100px;
        width: 100px;
        padding-left: 2.5rem;
    }

    .boxlogo img {
        max-height: 40px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0px;
    }

    /* --- hamburger / nav --- */
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        padding-right: 1.875rem;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: rgb(148, 148, 148);
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--azulclaro-transparent);
        z-index: 999;
        font-size: 1.1rem;
        padding: 0px;
        height: auto;
    }

    .nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        list-style: none;
        padding: 0px;
        margin: 0px;
    }

    .hambitem {
        padding: 0.625rem;
    }

    .nav a {
        color: white;
        text-decoration: none;
    }

    .nav a:hover {
        color: rgb(158, 158, 158);
    }

    .line {
        width: 80%;
        height: 2px;
        background-color: #555555;
    }

    .nav.active {
        display: flex;
    }

    /* --- swiper principal --- */
    .swiper {
        height: auto;
        overflow: hidden;
    }

    .boxfoto {
        width: 100%;
        height: auto;
        aspect-ratio: 400 / 200;
        display: block;
    }

    /* --- nome sobreposto: estático no mobile, fica embaixo da imagem --- */
    .nome-sobreposto {
        position: static;
        display: block;
        width: 100%;
        background: rgb(187, 187, 187);
        color: white;
        font-size: 0.65rem;
        letter-spacing: 1px;
        box-sizing: border-box;
        text-shadow: none;
        padding: clamp(0.3rem, 0.5vw, 0.5rem) clamp(0.8rem, 1.5vw, 1.5rem);
        left: 0;
        right: 0;
        text-align: center;
        z-index: 10;
        transform: none;
        border-radius: 0;
        min-width: 0;
    }

    /* --- swiper / marcas --- */
    .nossasmarcasswiper {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        justify-content: flex-start;
    }

    .nossasmarcasswiper .swiper {
        overflow: visible;
    }

    .containernossasmarcas {
        padding-top: 0px;
    }

    .swiper-second {
        width: 100%;
        padding-bottom: 30px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        color: rgba(108, 108, 108, 0.382);
        transform: scale(0.7);
    }

    .marcasswiper {
        border-radius: 100%;
        width: 50%;
        min-width: clamp(80px, 10vw, 130px);
        transition: 0.4s;
    }

    .headnossasmarcas {
        border-radius: 0px;
    }

    /* --- seção texto + foto --- */
    .containertexto {
        flex-direction: column;
        flex: 1;
        width: 100%;
        padding-top: 30px;
    }

    .texto,
    .foto-principal {
        width: 100%;
    }

    .texto h1 {
        font-size: 100%;
        margin-top: 0px;
    }

    /* --- atualizações --- */
    .imagem-atualizacao {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .imagem-atualizacao img {
        order: 1;
    }

    .nome-sobrepostoestatico {
        position: static;
        order: 2;
        background-color: white;
        color: var(--azulescuro);
        backdrop-filter: none;
        padding: 10px;
        text-align: center;
        width: 100%;
    }

    /* --- footer --- */
    .containerfooter {
        border-radius: 0;
        padding: 2rem 1.5rem 1.5rem;

    }

    .footerembaixo {
        flex-direction: column;
        gap: 1.5rem;
    }


    /* --- subpagina --- */
    .divsubpagina {
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .divsubpagina p,
    .divsubpagina h1 {
        padding: 0px 10px;
    }

    .fotosubpagina {
    width: 100vw;
    margin-left: calc(-4vw);
    margin-right: calc(-4vw);
}
    /* --- admin geral --- */
    .login {
        width: 70%;
    }

    .login p {
        text-align: center;
    }

    .login .inputbox {
        width: 98%;
        max-width: 400px;
    }

    .divadm {
        width: 90vw;
    }

    .divadm img {
        width: 20%;
        border-width: 3px;
    }

    .headpaineladm {
        padding: 0.6875rem 3.125rem;
    }

    .containerpadrao {
        overflow-y: hidden;
        margin-top: 30px;
    }

    /* --- admin popup --- */
    #popup-conteudo {
        width: 100vw;
        border-radius: 1.25rem;
    }

    #popup-conteudo .divcomum {
        width: 85vw;
    }

    .divcomum {
        width: 85vw;
    }

    /* --- admin itens lista --- */
    .item-admin {
        grid-template-columns: 24px 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "check nome actions"
            "info  info  info";
        gap: 6px 8px;
        padding: 8px 4px;
    }

    .item-admin>span {
        display: block;
        grid-area: nome;
        font-weight: bold;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .item-admin-info {
        display: flex;
        grid-area: info;
        align-items: center;
        gap: 10px;
    }

    .item-admin-info img {
        width: 35px;
        height: 35px;
        border-radius: 6px;
    }

    .item-admin-info>div::before {
        display: none;
    }

    .item-admin-acoes {
        grid-area: actions;
        display: flex;
        gap: 5px;
    }
}
